Quantcast
Channel: Post Feed
Viewing all articles
Browse latest Browse all 41826

Error While Running Standalone Blast Via Bioperl

$
0
0

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


Viewing all articles
Browse latest Browse all 41826

Trending Articles