BLAST Database error: No alias or index file found for nucleotide database
1
0
Entering edit mode
3 months ago
langziv ▴ 20

Hi.

I created a database from a reference genome and I got this error message when I run the blastx command. Earlier today I did the same process for blastn and it was fine.

The entire error message:

BLAST Database error: No alias or index file found for nucleotide database [/index/path] in search path [/current/path:/ncbi-blast/ncbi-blast-2.10.0+/blastdb:/index/path:]

The commands:

Creating the index:

makeblastdb -in "/ncbi_genome.fna" -dbtype prot -parse_seqids -out "/index"

Calling blastsx:

blastn -query "input.fa" -db "reference" -max_hsps 1 -max_target_seqs 50 -num_threads 10 -evalue 1e-5 -out "output.txt"

I'd love to hear your opinions. Thanks.

blast blastx • 271 views
ADD COMMENT
0
Entering edit mode

Do you actually have these files right under your / (root) directory? Are you able to write to that location using a standard user account? What does ls -lRh /index* show?

ADD REPLY
0
Entering edit mode

It's not the actual path. I shortened the paths for simplification.

The command you asked about printed the following files:

/.../reference.pdb
/.../reference.phr
/.../reference.pin
/.../reference.pog
/.../reference.pos
/.../reference.pot
/.../reference.psq
/.../reference.ptf
/.../reference.pto
ADD REPLY
2
Entering edit mode
3 months ago
GenoMax 107k

blastn -query "input.fa" -db "reference" -max_hsps 1 -max_target_seqs 50 -num_threads 10 -evalue 1e-5 -out "output.txt"

Wait .. that looks like protein database and you are using blastn in your command line. Since you are saying

Calling blastsx:

that must be a typo in command line.

ADD COMMENT
0
Entering edit mode

Oh my... you are right. How silly on my behalf. I guess that writing this script in the end of the day might have contributed. Thanks!

ADD REPLY

Login before adding your answer.

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