diamond icon indicating copy to clipboard operation
diamond copied to clipboard

Question about Error: Database file is not a BLAST database

Open Abieskawa opened this issue 10 months ago • 1 comments

Hi, I encounter some question when I run diamond prepdb.

I download the NR with: nohup update_blastdb.pl --source "ncbi" --decompress nr --num_threads 0 > download_nr.log 2>&1 &

then blastdbcmd -db nr -entry all -out nr000-122.fasta

diamond makedb --in nr/nr000-122.fasta --threads 128 -d diamond_nr

but it complained that there is no taxonomy info when I run blastp

so I then run diamond prepdb --db nr --threads 128 but diamond said it is not blast database

here is the snippet of protein database

Image How can I solve the error?

Thanks~

Abieskawa avatar Feb 18 '25 10:02 Abieskawa

To get a database with taxonomy you need to add the corresponding options to makedb, see here: https://github.com/bbuchfink/diamond/wiki/3.-Command-line-options#makedb-options

bbuchfink avatar Feb 19 '25 11:02 bbuchfink