[Biopython-dev] Reading sequences: FormatIO, SeqIO, etc

Felix Schlesinger f.schlesinger at iu-bremen.de
Mon Jul 31 16:07:08 UTC 2006


> Have you got a feeling for the difference in memory required for a large
> Fasta file in memory as:
> * Title string, sequence string
> * Title string, sequence as Seq object
> * SeqRecords (which include the sequence as a Seq object)

>From looking at the code the only difference should be one instance of
alphabet and one reference to it per sequence.
  The main difference is that Seq.data.method involves some python,
while string.method is pure C code.

Felix



More information about the Biopython-dev mailing list