blast execution in linux
2
0
Entering edit mode
9.3 years ago
seta ★ 1.9k

Hi all,

I've recently install the ncbi-blast-2.2.30+ on ubuntu based on its user manual, but when I'm trying to test it with the blastn -help command, it says:

The program 'blastn' is currently not installed. You can install it by typing: sudo apt-get install ncbi-blast+

while I'm in ~/ncbi-blast-2.2.30+/bin that contains several programs like blastn. Please let me know what the wrong is and what the solution for it? thanks a lot

alignment software-error next-gen blast • 8.1k views
ADD COMMENT
1
Entering edit mode

Have you moved all the executables to your bin directory?

ADD REPLY
0
Entering edit mode

Hi airan, I downloaded the package, placed in home directory, then unzip that all excutable program was appeared in the corresponding bin folder inside ncbi-blast30+ and try to test it, but I failed.

ADD REPLY
1
Entering edit mode

If you want to run 'blastn' without specifying all the path, you've to copy all the executables included in "~/ncbi-blast-2.2.30+/bin$" to your bin dir (usr/local/bin normally). Otherwise, to run blastn, you should write the path to blastn bin folder (in your case ~/ncbi-blast-2.2.30+/bin/blastn)

ADD REPLY
0
Entering edit mode

go to ~/ncbi-blast-2.2.30+/bin, and write ./blastn

ADD REPLY
0
Entering edit mode

I tried it the output was:

bash: ./blastn: cannot execute binary file
ADD REPLY
0
Entering edit mode

Hi guys,

I have 32 bit dell inspiron. I want to install blast on my CentOS7. Could you tell which version of blast should I install. Urgent replies would be appreciated.

ADD REPLY
0
Entering edit mode

a. Please do not specify timelines, it's a bit rude.

b. It's a 32 bit machine, 32 bit binaries are the ones you're looking for. Google "ncbi blast+ 32 bit linux"

ADD REPLY
3
Entering edit mode
9.3 years ago
Siva ★ 1.9k

Could it be due to your system being 32-bit and you downloaded the 64-bit version of BLAST?

To find your system information, type

uname -a

To find the version of BLAST, type

file /home/dps/ncbi-blast-2.2.30+/bin/blastn
ADD COMMENT
0
Entering edit mode

The x86/64 was something I did not think of. Thank you, Siva.

ADD REPLY
0
Entering edit mode

thanks for your comment. I checked it, both of them are x86/64. the problem is still another place!

ADD REPLY
0
Entering edit mode

Hmm. What is the name of the zip file you downloaded from the NCBI FTP site? Also if you don't mind, can you post the output of the two commands I suggested?

ADD REPLY
0
Entering edit mode

Could it be that the dir on which OP is trying to work doesn't have wx permissions or OP is out of disk space? Check out OP's comment here: blast execution in linux

ADD REPLY
0
Entering edit mode

Another related thing to consider is the type of archicture. You seem to have blast compiled for an x86-type CPU but maybe your computer has another type of CPU e.g. ARM.

ADD REPLY
1
Entering edit mode
9.3 years ago
Ram 43k

Try ~/ncbi-blast-2.2.30+/bin/blastn -help(if you do not wish to install to the central repo). Add ~/ncbi-blast-2.2.30+/bin to PATH to make this easier.

ADD COMMENT
0
Entering edit mode

thanks for all feedback. I tried ~/ncbi-blast-2.2.30+/bin/blastn and also /ncbi-blast-2.2.30+/bin/blastn -help, but the problem remained. I'm confused, the blastn and other program are available in the bin folder, please any suggestion?

ADD REPLY
0
Entering edit mode

Can you give us the output of which blastn please?

ADD REPLY
0
Entering edit mode

Strange, there is no output, no error, I came bake to dps@dps-Inspiron-N5110:~$

ADD REPLY
0
Entering edit mode

Then try this:

find ~ -name blastn
ADD REPLY
0
Entering edit mode

thanks for your help me, the out put of the above command is : /home/dps/ncbi-blast-2.2.30+/bin/blastn

ADD REPLY
0
Entering edit mode

Then you might just wanna try that, like so:

/home/dps/ncbi-blast-2.2.30+/bin/blastn -v
ADD REPLY
0
Entering edit mode

thanks. I try it but not helpful, the output was:

bash: /home/dps/ncbi-blast-2.2.30+/bin/blastn: cannot execute binary file. 

However, it's executable (x) as I checked. Really, what happened?

ADD REPLY
0
Entering edit mode

Maybe you're not the owner. Can you give us the output of:

$ whoami
$ ls -l /home/dps/ncbi-blast-2.2.30+/bin/blastn
ADD REPLY
0
Entering edit mode

Thanks RamRs, the output of of two above command were dps and

-rwxr-xr-x 1 dps dps 32501336 oct 28 00:52 /home/dps/ncbi-blast-2.2.30+/bin/blastn

respectively. so I'm owner and the program is also executable, isn't it. I'm getting crazy why there is still problem?!

ADD REPLY

Login before adding your answer.

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