This is a test version of Biostars. For the public version, visit https://www.biostars.org.
makeblastdb command not found

Hi,

I am new to this whole command line Blast+ Suite. Sorry for sounding dumb but I couldnt find useful help sheet online. I am trying to build a localized database from a taxa group nucleotide and protein. I followed the instruction and typed:

makeblastdb -in chl.fasta.txt -input_type fasta -parse_seqids -dbtype nucl -out /db/bast/chldb

There was error makeblastdb command not found. How do I rectify this?

I am using Mac OS Terminal.

Thank you.

blast next-gen

I tried but it still cannot work. Please kindly guide.

You need to specify what it is that you tried (post commands, error messages etc) in order for us to be able to guide you.

I will provide one hint. You installed the blast package in a directory that is not in your $PATH. You have two options while running makeblastdb. You can either amend your $PATH (as indicated in the help link) or provide full path for the makeblastdb executable when you try to run it.

i entered to the dir with the makeblastdb exe file. i typed makeblastdb -help. the error message is makeblastdb command not found too. is it because i didnt install properly?

Spend a bit of time to get some basics of UNIX under your belt by following this course here.
Even if you are in the directory where the makeblastdb executable is you won't be able to run it by just using the name. You will need to explicitly indicate that it is in the current directory by doing $ ./makeblastdb -h

i typed ./makeblastdb -h. the error is Illegal instruction

Oh indeed. I will add this answer to the handbook as well.

It is a common error especially that there may be 32 bit and 64 binaries, plus Mac and Linux.

Unfortunately, this link doesn't work anymore.

the book has changed a lot in the meantime, the content is all there but under different pages

1 answer

Log in to answer this question.