[Bioperl-l] I can't access clustalw from my cgi perl program...
bix at sendu.me.uk
Wed May 21 17:02:08 EDT 2008
vdar at yorku.ca wrote:
> How can I find where bioperl is installed?
You already know where it's installed. See below.
> Quoting Mauricio Herrera Cuadra <arareko at campus.iztacala.unam.mx>:
>> Hi Nisa,
>> CGI scripts are generally run by a different user than you, and which
>> user (e.g. apache, nobody) will depend on the platform you're running
>> the script on, thus the environment variables you currently have for
>> your login shell are not being inherited to the web interface. The best
>> workaround for this is to add a 'use lib' pragma at the top of your CGI
>> use lib '/path/to/your/bioperl/installation/';
>> vdar at yorku.ca wrote:
>>> export PERL5LIB="/opt/rocks/lib/perl5/site_perl/5.8.8"
More information about the Bioperl-l