[Bioperl-l] Saving Codeml Output file
Kevin.M.Brown at asu.edu
Mon Aug 29 14:09:29 EDT 2011
Opening a file for output that does not exist requires the > or >>
redirector (depending on if you want to overwrite or append output).
my $parserF= Bio::Tools::Phylo::PAML->new (-file => ">mlc", -dir =>
Center for Innovations in Medicine
Arizona State University
> -----Original Message-----
> From: bioperl-l-bounces at lists.open-bio.org [mailto:bioperl-l-
> bounces at lists.open-bio.org] On Behalf Of Dave Messina
> Sent: Monday, August 29, 2011 10:44 AM
> To: Lorenzo Carretero Paulet
> Cc: bioperl-l at lists.open-bio.org
> Subject: Re: [Bioperl-l] Saving Codeml Output file
> Hi Lorenzo,
> and subsequently parsing it using
> > my $parserF= Bio::Tools::Phylo::PAML->new (-file => "mlc", -dir =>
> > However, I get the following message.
> > ------------- EXCEPTION -------------
> > MSG: Could not open mlc: No such file or directory
> > what I guess means the output file is not being saved in the
> Your interpretation could be correct. I think though that it might be
> the -dir parameter you specify, "./", is not correct. Are you seeing
> the mlc
> file in the '.' (current working) dir?
> If I remember correctly, by default the mlc file is created in a
> directory in /scratch or /tmp, and the save_tempfiles flag simply
> temporary directory from being deleted.
> I don't have the docs in front of me, but I believe there's a way to
> get the
> path of the temp directory that B::T::P::PAML is using. If so, you can
> that path as the value for the -dir parameter.
> Let me know if not, though, and we can follow up on this.
> PS - also, could you verify that you're using the latest versions of
> bioperl-live and bioperl-run from Github?
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
More information about the Bioperl-l