Entering edit mode
4.6 years ago
I'm trying to run blast commands under the parent directory yet im being told "command not found" What should I do?
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
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.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
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
Couple of things.
blast
is not a valid program. Please tryblastn
orblastp
etc. You should also check output ofecho $PATH
to see contents of that variable and ensure that the directory you are looking at is included in that. If not reexport byexport 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 usingzsh
).