[Bioperl-l] How to use proxy in Bioperl?

Marc Logghe Marc.Logghe at devgen.com
Tue Mar 22 05:58:21 EST 2005


You can also set it in your script:
$gb=Bio::DB::GenBank->new();
$gb->proxy([ftp, http], 'http://<your.proxy.url>');

Think this works also:
$gb->proxy('http://<your.proxy.url>');

HTH,
Marc

> -----Original Message-----
> From: Marc Logghe 
> Sent: Tuesday, March 22, 2005 11:39 AM
> To: 'zhoujie at fudan.edu.cn'; bioperl-l at bioperl.org
> Subject: RE: [Bioperl-l] How to use proxy in Bioperl?
> 
> Hi JZ,
> In the back LWP::Simple is doing the request for you. By 
> default it reads the proxy from your environment.
> Guess setting the HTTP_PROXY env var should solve your problem.
> HTH,
> Marc
> 
> > -----Original Message-----
> > From: bioperl-l-bounces at portal.open-bio.org
> > [mailto:bioperl-l-bounces at portal.open-bio.org] On Behalf Of 
> > zhoujie at fudan.edu.cn
> > Sent: Tuesday, March 22, 2005 10:52 AM
> > To: bioperl-l at bioperl.org
> > Subject: [Bioperl-l] How to use proxy in Bioperl?
> > 
> > Hi all,
> > 
> > I'm new to bioperl and here is my question: How to use proxy in 
> > bioperl? For example I'm using get_Seq_by_acc() method, how 
> can I get 
> > the sequence when I can only access NCBI via proxy?
> > 
> > Thanks very much.
> > 
> > J Z
> > _______________________________________________
> > Bioperl-l mailing list
> > Bioperl-l at portal.open-bio.org
> > http://portal.open-bio.org/mailman/listinfo/bioperl-l
> > 
> > 



More information about the Bioperl-l mailing list