[BioPython] calculate F-Statistics from SNP data

Tiago Antão tiagoantao at gmail.com
Wed Oct 22 12:03:59 EDT 2008


On Wed, Oct 22, 2008 at 11:34 AM, Peter <biopython at maubp.freeserve.co.uk> wrote:
> I have not looked at the specifics here, but adopting an iterator
> approach might make sense - returning the entries one by one as parsed
> from the file.  This is the idea for the Bio.SeqIO and Bio.AlignIO
> parsers.  The user can then turn the entries into a list (if they have
> enough memory), filter them as the arrive, etc.  For example, you
> could compile a list of only those desired population entries,
> discarding the others on the fly.

I will have look at iterators in Python. This idea from Giovannni is
actually floating around with current users for GenePop data which
have exactly the same problem (loooong records).


More information about the BioPython mailing list