1 Feb 2008 08:22
Re: [BioPython] blast parse
Michiel de Hoon <mjldehoon <at> yahoo.com>
2008-02-01 07:22:19 GMT
2008-02-01 07:22:19 GMT
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.
_______________________________________________
BioPython mailing list - BioPython <at> lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython
(Continue reading)
RSS Feed