[Bioperl-l] Parsing sequence records in memory

Peter Schattner schattner@alum.mit.edu
Sun, 15 Dec 2002 12:53:30 -0800


Hi folks

A question.

If I have, say, a fasta sequence or Genbank record stored in a perl variable
in memory (either the complete record in a scalar or each line as an entry in
an array), is it possible to have SeqIO parse that record and create a Seq
object directly?  That is, without printing the record to a file first and
then reading it back in with SeqIO.  (I guess writing records to a file is
not such a big deal, but I would prefer not to be creating and destroying
lots of temporary files)

TIA

Peter