[Bioperl-l] unsupported close() in SeqIO

T.D. Houfek tdhoufek@unity.ncsu.edu
Wed, 2 Oct 2002 11:25:16 -0400 (EDT)


Hi all,

Recently I noticed that if I wrote out a FASTA sequence file using
SeqIO and then read it back in using another SeqIO object, the last
two sequences were dropped on input (all sequences made it to the
file I wrote to, but two were missing after I loaded the new object).
I found that calling $out->close() before the new load fixed the
problem.  However, the SeqIO perldocs say that close() is unsupported.
Does anyone know if there is any reason to fear using this method, and/or
whether there is a better way to do things?  I'm presently using BioPerl
1.0.

Cheers,

T.D. Houfek

system administrator
Fungal Genomics Laboratory
Center for Integrated Fungal Research (CIFR)
North Carolina State University
ph: (919)513-0025  e: tdhoufek@unity.ncsu.edu