[Bioperl-l] Bio:Tools::Run::Alignment::ClustalW not cleaning up after itself
Jason Stajich
jason at bioperl.org
Fri May 11 20:53:19 UTC 2007
Did you try adding this after your calls getting the CDS aln.
$aln_factory->cleanup();
-jason
On May 11, 2007, at 1:20 PM, Ryan Golhar wrote:
> I'm running a large series of clustalw alignments. After a large
> number of
> alignments, my perl script would die indicating too many links were
> open. I
> checked my /tmp directory (while the script is running) and noticed
> that the
> temp directory created for ClustalW are not removed until after the
> script
> exists.
> How can I force the cleanup of these directories after I am done
> with the
> alignment?
>
> My code is essentially this;
>
> $aln_factory = Bio::Tools::Run::Alignment::Clustalw->new();
> $aa_aln = $aln_factory->align(\@aa_seqs);
> open(STDOUT, ">&OLDOUT");
> $dna_aln = &aa_to_dna_aln($aa_aln, \%dna_seqs);
>
>
> Ryan
>
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
--
Jason Stajich
jason at bioperl.org
http://jason.open-bio.org/
More information about the Bioperl-l
mailing list