[Biopython] large fasta files

Peter Cock p.j.a.cock at googlemail.com
Tue Sep 9 12:34:00 UTC 2014


On Tue, Sep 9, 2014 at 1:12 PM, Jurgens de Bruin <debruinjj at gmail.com> wrote:
> Hi,
>
> Thanks for the reply I am trying out the
> Bio.SeqIO.FastaIO.SimpleFastaParser, what I want to achieve is to iterate
> over the fasta and pull out sequences that are in a predefined list, based
> on id and then write these to a new fasta file.

In that case, the problem could be as simple as using a list
(slow for large lists) rather than a set (fast) for checking
membership.

Peter


More information about the Biopython mailing list