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.
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 doesls -lRh /index*
show?It's not the actual path. I shortened the paths for simplification.
The command you asked about printed the following files: