hello I'm trying to blast on Ubuntu. I downloaded blast DB, but it's too big, so I plan to use only the Insecta DB I need.
- blastdbcmd -db nr -entry_batch insecta.txt -outfmt "%f" -out nr_database_insecta.fasta -target_only -dbtype prot
- blastdbcmd -db nr -dbtype prot -taxid 50557 -out nr_insecta.fasta -entry all
I used the two commands above, but it doesn't work. Can anyone tell me what problem in here?
Thanks!
also BLAST Database error: No alias or index file found for protein database [nr] in search path [/mnt/d/blast/ncbi-blast-2.14.1+/bin::] I got this message..
Unless you are in the directory where the
nr
database is located (you seem to be in/mnt/d/blast/ncbi-blast-2.14.1+/bin
), theblastdbcmd
command will not work. Either you define a BLASTDB variable - see here - or type a full path to thenr
database such as/mnt/c/db/nr
by using the actual location instead of my made-up example.