[Bioperl-l] StandAloneBlast and Shell Variable Question
Jason Stajich
jason at cgt.duhs.duke.edu
Wed Apr 14 14:50:58 EDT 2004
BEGIN {
$ENV{BLASTDIR} = '/some/path';
$ENV{BLASTDATADIR} = '/some/path';
}
Make sure the go in BEFORE you have the
use Bio::Tools::Run::StandAloneBlast;
as the datadir values are done at include-time.
Also I believe you can pass in the full path to the db you are searching
$blastfactory->d('/path/to/db');
-jason
On Wed, 14 Apr 2004, Bill Dirks wrote:
> Hello,
> I was wondering if there is a way to set BLASTDIR and BLASTDATADIR from inside a perl script
> instead of getting their values from the shell variables.
> Thanks,
> Bill
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>
--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu
More information about the Bioperl-l
mailing list