Question: StandAloneBlastPlus: Can't find executable for 'blastdbcmd'
gravatar for gfm255
4.1 years ago by
gfm2550 wrote:

I am trying to run a remote blast using the Bio::Tools::Run::StandAloneBlastPlus but I think there is something wrong with my environment/installation. This is required for an assignment I am working on for school. I sent my code to my TA and she said that it worked. I am running OSX El Capitan. I don't have very much experience with programming so I'm not entirely sure how to troubleshoot.

My error is:

------------- EXCEPTION: Bio::Root::Exception ------------- MSG: Can't find executable for 'blastdbcmd'; can't continue STACK: Error::throw STACK: Bio::Root::Root::throw /Library/Perl/5.18/Bio/Root/ STACK: Bio::Tools::Run::WrapperBase::_run /Library/Perl/5.18/Bio/Tools/Run/WrapperBase/ STACK: Bio::Tools::Run::StandAloneBlastPlus::check_db /Library/Perl/5.18/Bio/Tools/Run/ STACK: /Library/Perl/5.18/Bio/Tools/Run/

My code is (I don't think there are any problems here?):

my $fac = Bio::Tools::Run::StandAloneBlastPlus->new(
 -db_name => 'nt',
 -remote => 1

my $result = $fac->blastn(-query => 'infile.fa',
                       -outfile => 'outfile.bls',
                       -method_args => [ -num_alignments => 10 ] );
rna-seq blast bioperl • 1.3k views
ADD COMMENTlink modified 4.1 years ago by Biostar ♦♦ 20 • written 4.1 years ago by gfm2550

Did you download the pre-compiled blast+ binaries for OS X? That bundle should have contained blastdbcmd. Did you move any files out of that folder?

ADD REPLYlink written 4.1 years ago by genomax85k

I think I have blastdbcmd, but not the ncbi databases? If i type "blastdbcmd" this is the output:

BLAST Database error: No alias or index file found for nucleotide database [nr] in search path [/Users/gillian::]

To clarify, I want to run my pipeline in Eclipse, not in the command line.

ADD REPLYlink modified 4.1 years ago • written 4.1 years ago by gfm2550

NCBI databases can be downloaded from here: You will need to get all nt* files. It would be a large download.

ADD REPLYlink written 4.1 years ago by genomax85k

Did you manage to sort out your issue? I have a similar problem when trying to use Bio::Tools::Run::Alignment::Blat module

ADD REPLYlink written 2.3 years ago by prishly10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1133 users visited in the last hour