[BioPython] blast parse

Christof Winter winter at biotec.tu-dresden.de
Wed Jan 30 07:48:34 EST 2008


Michiel de Hoon wrote:
> Dear Jose,
> 
> To get the records one-by-one, use
> 
> from Bio.Blast import NCBIXML blast_parse = NCBIXML.parse(blasth) for
> blast_result in blast_parse: # do whatever with blast_result
> 
> This avoids having to read the complete XML file all at once.
> 
> To the developers: We should probably think about removing the
> NCBIXML.BlastParser.parse, and perhaps adding a NCBIXML.read function to read
> exactly one record from the XML file.

I thinks removing NCBIXML.BlastParser.parse is a good idea.
We should keep it simple.

Christof



More information about the BioPython mailing list