[Biopython-dev] Fasta parser

Michiel de Hoon mdehoon at c2b2.columbia.edu
Sun Jul 2 20:54:27 UTC 2006

>> 2) Why is it necessary to create a parser first and passing it to
>> Fasta.Iterator? Are there any cases where Fasta.Iterator uses something
>> other than a Fasta.RecordParser?
> Yes!!!! I use Fasta.SequenceParser which gives me a SeqRecord Object
> (Bio.SeqRecord) not some odd Fasta.Record Object that I would have to then
> remap into a SeqRecord.

I see. This is one of the design issues I ran into when comparing 
Bio.Fasta and Bio.SeqIO.FASTA: Whether parsing a Fasta file should 
result in a Fasta.Record object or a SeqRecord.

> Also, could someone re-run epydoc! My changes in the code have not made it
> to the on-line API docs.



More information about the Biopython-dev mailing list