This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How I update makeblastdb

Can someone help me? I have downloaded blast+ version 2.9.0 but in the terminal shows version 2.6. How I update my blast? I need a new version for prokka installation.

makeblastdb blast prokka

I think not. Just follow the steps?? Or I need change something??

You have an older version of blast that perhaps occurs earlier in your $PATH. Make sure the directory containing new version is at beginning of your $PATH.

export PATH=/full_path_to_new_blast/:$PATH

I modified .bashrc and export PATH using terminal according the command, but version remains 2.6.

What do you see when you do which -a blastn? You should be able to see both versions of blastn and their full paths.

Setting/exporting PATH variable does not work instantly in the same session. You need to log out and back in, or open a new session. To find out which binary is executed by system, type which makeblastdb. After logging back in, that should change to the new binary if you have set the PATH correctly.

Rather than setting new PATH variable, you can always move your new binaries to the same location as your old binaries (which command will tell you what that location is). I would not normally suggest overwriting any files, but BLAST is free and easy to download again if something goes wrong.

0 answers

No answers yet.

Log in to answer this question.