Question: nr database "No alias or index file found for protein database"
gravatar for semans
19 months ago by
semans0 wrote:

I am trying to create an nr database, from the nr files provided by NCBI, on a server to run some blast searches. Once I try to run the blast search, the following error is returned

blastp -query ngruberi_TTL1.fasta -db /home/sh17a/nr
BLAST Database error: No alias or index file found for protein database [/home/sh17a/nr] in search path [/home/sh17a::]

The nr directory contains the files from decompressing nr.112.tar.gz from, which yields the following: nr.112.phr nr.112.pnd nr.112.pog nr.112.ppi nr.112.psi taxdb.btd nr.112.phi nr.112.pni nr.112.ppd nr.112.psd nr.112.psq nr.pal taxdb.bti

However, referencing the directory that contains all of these files as the database for the blast search does not seem to work and spits out the error above.

Is there any way to fix this? Or, is there any other way of making the nr database so that I can reference it as a single root file?


blast command line • 756 views
ADD COMMENTlink modified 3 months ago by Biostar ♦♦ 20 • written 19 months ago by semans0
gravatar for genomax
19 months ago by
United States
genomax92k wrote:

What version of blast+ application are you using?

Note: You need to download the entire set of nr* files (all 112 of them). These are pre-formatted index files, so you don't need to do anything else (to make them usable) except un-compress.

ADD COMMENTlink modified 19 months ago • written 19 months ago by genomax92k

With new default blast+ v5 database, size of the files changed (individual files are now larger). There are only 38 files as of August 2020.

ADD REPLYlink written 3 months ago by genomax92k
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: 1234 users visited in the last hour