[Bioperl-l] seq object usage

math math mathematisch at gmail.com
Tue Jun 12 06:27:40 EDT 2012


consider the following case:

A seq object's string field (ie the sequence part) needs to be filled
gradually in a PERL loop. The seq object(s) can be hundreds of millions
bases long at the end of this loop. The final goal is to write this seq
object(s) to an output file (in multi-fasta format).

My question is, how can one append progressively more sequence to a seq
object (i.e. instead of all at once, to minimize memory), and make sure
that these get written to a file.


More information about the Bioperl-l mailing list