[Bioperl-l] bl2seq error?

Wiepert, Mathieu Wiepert.Mathieu@mayo.edu
Fri, 22 Mar 2002 12:08:57 -0600


Hi,

I am getting the error below, when looping through about 40! bl2seqs.  I
keep reusing the same file, perhaps I should send in a different temp file
each time?  Not sure what the problem is.

In the loop, I keep calling 
my $bl2seq_report = $factory->bl2seq($seq1, $seq2);
my $report = Bio::Tools::BPbl2seq->new(-file => 'bl2seq.out');

but I am not destroying it.  SHould I be explicity destroying $report?

MSG: Could not open bl2seq.out for reading: Too many open files
STACK Bio::Root::IO::_initialize_io
/home/mxw02/bioperl_latest/lib/site_perl/5.6.0/Bio/Root/IO.pm:244
STACK Bio::Tools::BPbl2seq::new
/home/mxw02/bioperl_latest/lib/site_perl/5.6.0/Bio/Tools/BPbl2seq.pm:152
STACK toplevel fetchseqs.pl:167

-Mat