I Use Blastdbcmd Command With Nr Database And It Gives Me The "Not Found Database" Error
2
0
Entering edit mode
11.0 years ago

This is the error

BLAST Database error: No alias or index file found for nucleotide database [nr] in search path [/home/aj3/Desktop/h/database::]

what should I do? do I have to use any other commands prior to this one to make the database ready or what?

blast • 6.7k views
ADD COMMENT
3
Entering edit mode

also please don't ask two identical questions, the other has been deleted

ADD REPLY
2
Entering edit mode

It did not give you the "not found database" error: the error is "No alias or index file found" - as you state yourself.

Difficult to diagnose the issue without more information, but one possibility is that you have the wrong database. "nr" usually refers to non-redundant protein, but your error refers to a nucleotide database.

ADD REPLY
1
Entering edit mode
11.0 years ago
Andreas ★ 2.5k

Hi,

can you see an index file in /home/aj3/Desktop/h/database? It's a file with the extension "nal" (for nucleotides). If it's missing, you possibly forgot to run a makeblastdb (previously formatdb) on your fasta file.

Andreas

PS: providing the full command line you used and a listing of your database directory would help a lot

ADD COMMENT
1
Entering edit mode
11.0 years ago
vijay ★ 1.6k

As rightly pointed out by Andreas, the index file for your nr database might have gone missing. Create an index file using makeblastdb as suggested. Also, do check on the folder location from which you run the blast executable. Usually all the database files shall be placed under blast-2.2.27+\db folder . Blast would look for the index file automatically in this folder. Alternatively you can run the blast directly from the location where you have your db files.

Hope this helps.

ADD COMMENT

Login before adding your answer.

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