[BioPython] blast parse

Michiel de Hoon mjldehoon at yahoo.com
Fri Feb 1 07:22:19 UTC 2008


I have added a DeprecationWarning to NCBIXML.BlastParser.parse.

--Michiel.

Christof Winter <winter at biotec.tu-dresden.de> wrote: 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



       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.



More information about the Biopython mailing list