problem running local blast after downloading on MacOSX
1
0
Entering edit mode
9.5 years ago
gusmonksu • 0

Am newish to linux but very familiar with BLAST and I need to use BLAST locally through command line on my MacOSX (Yosemite)

I downloaded the BLAST+ using ncbi-blast-2.2.18+.dmg installer and following instructions on NCBI website. It installed the files into usr/local/ncbi/blast/bin but when I try and run any of the blast programs (eg tblastn) I get the following error

-bash: tblastn: command not found

I can only run it from within the usr/local/ncbi/blast/bin directory where the programs reside

I have (as far as I can tell) followed various instructions about setting the paths but still no luck.

Any help greatly appreciated

blast • 4.2k views
ADD COMMENT
0
Entering edit mode
9.5 years ago
Neilfws 49k

In a terminal, type:

echo $PATH

and press Enter. If the output does not include usr/local/ncbi/blast/bin then your path is not set correctly.

If you have edited one of the "dotfiles" to set the path (e.g. .profile or .bashrc), you need to source the file or open a new terminal for the changes to take effect.

ADD COMMENT
0
Entering edit mode

Thanks, when I type

echo $PATH

it returned /Users/st*******ey/ncbi/blast/bin:??

so clearly a path problem. I followed the various instructions (including those on BLASTS own instrctions) to change the path by putting things in .bash_profile (.bashrc is empty)

however what should be in there to correct the path issue?

Thanks

ADD REPLY
0
Entering edit mode

Ok I have sorted it - I worked it out myself by trial and error.

Thanks for your help- it got me there.

ADD REPLY

Login before adding your answer.

Traffic: 2261 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