This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error While Running Standalone Blast Via Bioperl

Dear All,

I am trying to run a stand alone blast in my system. I have created a database locally and I am tying to run the blast against them using STANDALONEBLAST module of bioperl.

The code is as below.

#!C:/Perl64/bin/perl.exe -w

use strict;
use Bio::Tools::Run::StandAloneBlast;
use Bio::SearchIO;
use Bio::SeqIO;

my $in_file = "sample.fna";
my @params = (-p => 'blastn', -d => 'nt.12', -o => 'blast_report.fasta', -e     => '1e-5' );
my $seqio_object = Bio::SeqIO->new(-file => $in_file);
my $factory = Bio::Tools::Run::StandAloneBlast->new(@params);

When I execute the above script from my command line, it says

Replacement list is longer than search list at C:/Perl64/site/lib/Bio/Range.pm line 251

I am using Windows 7 64 bit with perl (v5.16.1) and Bioperl package 1.6.1.

Please can someone help me in fixing this error.

-vijay

blast bioperl

what's he origin of the blast database ? was it formated on your computer ?

Why is it relevant? Isn't this a (incorrectly titled) question on how to use bioperl?

ah yes, sorry, I thought it was a problem with blast itself

1 answer

This isn't an error as much as it is a general perl warning. The latest versions of BioPerl on CPAN have fixed this issue; have you tried that yet?

Log in to answer this question.