[Biopython] qBlast Error and Entrez module
Peter
biopython at maubp.freeserve.co.uk
Mon Aug 10 11:29:00 EDT 2009
On Mon, Aug 10, 2009 at 4:15 PM, Peter<biopython at maubp.freeserve.co.uk> wrote:
>
> It is actually a simple problem: You are using a protein query but BLASTN
> requires a nucleotide sequence. The NCBI does actually try and tell us
> this, but Biopython doesn't (currently) know how to extract the error
> message to show you.
I've updated Bio.Blast.NCBIWWW to try and report the NCBI error message,
this means in future a mistake like this will result in:
ValueError: Error message from NCBI: Message ID#24 Error: Failed to
read the Blast query: Protein FASTA provided for nucleotide sequence
That should make live a little simpler. Thanks for telling us about this,
and reminding me about this issue.
Peter
More information about the Biopython
mailing list