BLAST Command Not Found Under Parent Directory
0
0
Entering edit mode
4.0 years ago

I'm trying to run blast commands under the parent directory yet im being told "command not found" What should I do?

RNA-Seq sequence • 3.7k views
ADD COMMENT
1
Entering edit mode

Did you follow blast+ command line guide? What OS are you trying to use blast under? Did you install blast yourself or you are using it on a shared compute system?

Command not found errors are generally cured by adding the directory containing the executables to your $PATH variable: See the answer here.

ADD REPLY
0
Entering edit mode

Ive been exporting PATH multiple times now and have been using the BLAST program for a while now, yet, all of a sudden, I'm now unable to perform any blast commands. I'm using macOS catalina 10.15. I installed it on a personal-work comupter.

Image of error: https://imgur.com/a/XqQBGbq

ADD REPLY
0
Entering edit mode

I would recommend installing with conda, if you aren't already. It has taken care of almost all of my $PATH issues.

https://anaconda.org/bioconda/blast

ADD REPLY
0
Entering edit mode

Couple of things. blast is not a valid program. Please try blastn or blastp etc. You should also check output of echo $PATH to see contents of that variable and ensure that the directory you are looking at is included in that. If not reexport by export PATH=$PATH:/path_to/dir_w_blast. While this will work proper to do that is described in second answer in this thread (since you are using zsh).

ADD REPLY

Login before adding your answer.

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