Error While Running Standalone Blast Via Bioperl
1
2
Entering edit mode
12.3 years ago
vijay ★ 1.6k

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 • 3.1k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode
12.2 years ago
Chris Fields ★ 2.2k

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?

ADD COMMENT

Login before adding your answer.

Traffic: 1917 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6