[Biopython] issues with NCBIXML
Peter Cock
p.j.a.cock at googlemail.com
Tue Oct 18 22:07:24 UTC 2011
On Tue, Oct 18, 2011 at 10:47 PM, Nat Echols <nathaniel.echols at gmail.com> wrote:
> Hi again,
>
> I'm puzzled by the behavior of the Blast XML parser. It appears to be
> picking up all of the alignments correctly, but the
> top-level Bio.Blast.Record.Blast object that it returns appears to be
> incompletely populated. Specifically, the attributes num_hits and
> num_sequences are set to None - but I have several dozen alignments. Am I
> missing the point of these attributes, or doing something wrong? It's not a
> huge issue (I can just count the alignments, I guess), but I'm a bit
> concerned that there's something wrong with my code.
>
> thanks,
> Nat
The number of alignments and descriptions only really apply
to the plain text (or HTML) BLAST output, but I guess we
could set them to the number of hits in the XML output.
Peter
More information about the Biopython
mailing list