BlastX Database error: No alias or index file found for protein database
1
0
Entering edit mode
5.0 years ago

Hello,

I downloaded the indices for the nr database with wget ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/nr.gz in order to run blastX locally. I put the files in a directory refDir, the nucleic acid sequence of interest in qFile and launched blastx with

blastx -db $refDir -num_threads 14 -max_target_seqs 10 -outfmt  '6 qseqid sseqid evalue bitscore sgi sacc staxids sscinames' -query $qFile

but I got:

BLAST Database error: No alias or index file found for protein database [<path to refDir>] in search path [<path to refDir>::]

What am I missing? Thanks

blast database local run • 1.7k views
ADD COMMENT
0
Entering edit mode

Removed by the author.

ADD REPLY
0
Entering edit mode

You are right, actually I did not use the FASTA nr.gz (that was another thread I opened and pasted here) but the indices from ftp://ftp.ncbi.nih.gov/blast/db/

ADD REPLY
1
Entering edit mode
5.0 years ago

you need to also specify the DB name, not only the path to it.

should be something like: -db $refDir/DB_name

ADD COMMENT
0
Entering edit mode

Thank you, that was it!

ADD REPLY

Login before adding your answer.

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