Bio::Tools::Run::RemoteBlast Error: 403 Forbidden
Hi to everybody;
I am trying to execute a BIOPerl module Bio::Tools::Run::RemoteBlast but I get the error 403 Forbidden. I use a fasta file:
And the parameters I use are:
my $prog = 'blastn';
my $db = 'nt';
my $e_val= '1e-4';
my @params = ( '-prog' => $prog,
'-data' => $db,
'-expect' => $e_val,
'-readmethod' => 'SearchIO' );
my $factory = Bio::Tools::Run::RemoteBlast->new(@params1);
#change a query parameter
# This example shows how to change a CGI parameter:
$Bio::Tools::Run::RemoteBlast::HEADER{'MATRIX_NAME'} = 'BLOSUM50';
$Bio::Tools::Run::RemoteBlast::HEADER{'GAPCOSTS'} = '15 2';
# Si no ho posem dóna un warning
$Bio::Tools::Run::RemoteBlast::MODVERSION = 0;
#change a retrieval parameter
$Bio::Tools::Run::RemoteBlast::RETRIEVALHEADER{'DESCRIPTIONS'} = 1000;
#remove a parameter
delete $Bio::Tools::Run::RemoteBlast::HEADER{'FILTER'};
#$v is just to turn on and off the messages
my $messagesMngm = 1;
I always get the same error, no matter all changes in parameters I do.
Is there anybody who can help me please?
Thanks! Roberto
• 2,704 views
•
link
1 answer
NCBI has been shifted from HTTP to HTTPS from September 2016. You have to change protocol in your code from HTTP to HTTPS to run this code. for further detail- visit following link- https://www.ncbi.nlm.nih.gov/home/develop/https-guidance.shtml
• 0 views
•
link
Log in to answer this question.
are you working behind a proxy ?
Hi again,
I've tried it at home and also at work. At home I have a normal Internet connection, at work there is a proxy, yes. Why? Is there a problem? I execute the BLAST via NCBI and it works correctly.
Thanks! Robert