Question: Can'T Exec "Blastall":No Such File Or Directory...
gravatar for jrymer1
8.5 years ago by
jrymer130 wrote:

I'm trying to run a script that BLASTs against the per-formated BLAST databases. When I run my script I get the error Can't exec "blastall." I'm using

blastall -p blastn -d database -i $i -o $1.out

When I unpack the NCBI tar there is no blastall.

deleted-post • 3.3k views
ADD COMMENTlink written 8.5 years ago by jrymer130
gravatar for Arun
8.5 years ago by
Arun2.4k wrote:

There are two things I could think of, that usually is the reason in these scenarios:

1) You have downloaded the non-pre-compiled source, which means that you'll have to compile it yourself to obtain the executables ( ex: blastall is an executable script/file). If you haven't done this, then maybe your system administrator can help you installing it.
2) You don't have executable permissions for your blastall file. This can be obtained using this command in the terminal (assuming you're running linux:

> chmod 766 ./blastall  
> ./blastall <param>  ...
ADD COMMENTlink modified 8.5 years ago • written 8.5 years ago by Arun2.4k

There is no blastall in NCBI's BLAST+. Only in the C branch (the one called "blast", not "blast+").

ADD REPLYlink written 8.5 years ago by Michael Schubert7.0k

Yes, thank you. I edited my post to an even more general debugging one.

ADD REPLYlink written 8.5 years ago by Arun2.4k
gravatar for pstew
8.5 years ago by
United States
pstew50 wrote:

Are you following the instructions from ? Has blastall been successfully installed/compiled on the machine you are using?

The blastall directory might not be in your path. To check this (bash):

echo "$PATH"|grep -q blastall && echo "found it"

Replace blastall with the name of the directory if different (works for partial names too).

If you are a user on this machine and have used blastall before, then you might want to ask your sysadmin if anything happened to it.

ADD COMMENTlink written 8.5 years ago by pstew50
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: 1624 users visited in the last hour