Here is the command I used:
blastdbcmd -entry_batch input.gi.txt -out file.out -target_only -outfmt %t -db my_protein_database.fasta
I got an error "Error: Entry not found in BLAST database". I have the indexed my database and .phr, .pin, .prj etc files (created by vmatch)are in the same directory where my protein database (my_protein_database.fasta) is but the blastdbcmd
is in the user/bin directory. I am a bit suspicious about the index files as it was created by vmatch. I was wondering if there is any other way to build the protein database index using blast function that can be compatible for blastdbcmd
. Any suggestions to point out where exacty I'm wrong?
i'm using blastdbcmd: 2.2.25+ version.
It rather looks like the entries are not found rather than the db itself, are you sure your input file had properly formatted gis, you have to have them in the right format in the fasta header? Could you please try to find some single entries with -entry to see if the database is properly indexed and post the output of blastdbcmd -info.
I just created another index using makeblastdb.
Now as you said;
Error: Entry not found in BLAST database. when I add -info flag it conflicts with -entry ( Error: (CArgException::eConstraint) Argument "info". Conflict with argument: `entry')
this is how the database entries look like: