Question about Error: Database file is not a BLAST database
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
How can I solve the error?
Thanks~
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