Question: blast database formatting issue
gravatar for 4galaxy77
3.6 years ago by
United Kingdom
4galaxy7760 wrote:


I downloaded the nt nucleotide database using:

$ ./ nt --decompress

Which seemed to work fine - all the files from nt.00 to nt.46 are present. I went to use the database and the same error came up

 $ blastn -db /home/ucbtsm6/Scratch/database/nt -num_threads 8 -evalue 1e-10 -query /home/ucbtsm6/Scratch/database/deglist.fa -out taxon_blast_ponerine.xml -outfmt 5

BLAST Database error: No alias or index file found for nucleotide database

I then ran

$ blastdbcheck -db nt -dbtype nucl -verbosity 4

Which gave this output. It seems as though they all PASS on the main body of each subfile (08) then fail when it gets to the metadata for the next subfile (09), but for each one.

/home/blast/database_index/nt_nucleotide/nt.08 / Sample:       Status for OID 1399110: PASS
  /home/blast/database_index/nt_nucleotide/nt.08 / Sample:       Status for OID 1408039: PASS
  /home/blast/database_index/nt_nucleotide/nt.08 / Sample:       Status for OID 1408850: PASS
  /home/blast/database_index/nt_nucleotide/nt.09 / MetaData:   [ERROR] caught exception.
  /home/blast/database_index/nt_nucleotide/nt.09 / MetaData: NCBI C++ Exception:
    T0 "/build/ncbi-blast+-bzPf_D/ncbi-blast+-2.2.31/c++/src/objtools/blast/seqdb_reader/seqdbimpl.cpp", line 1477: Error: BLASTDB::ncbi::CSeqDBImpl::GetTaxInfo() - Specified taxid was not found.
Result=FAILURE. 47 errors reported in 47 volume(s).
Testing 1 alias(es).
 Result=SUCCESS. No errors reported for 1 alias(es).

Total errors: 47

Anyone know what the 'specified taxid was not found' is all about? I would have thought that using the script would have automatically included taxids? I've used the automatically downloaded nr protein database before and it worked fine. Perhaps something to do with the decompress option?


blast software error • 1.7k views
ADD COMMENTlink modified 3.6 years ago by Michael Dondrup48k • written 3.6 years ago by 4galaxy7760
gravatar for Michael Dondrup
3.6 years ago by
Bergen, Norway
Michael Dondrup48k wrote:

You seem to mix up your paths. First, make sure you are using the same directory for all commands:

blastn -db /home/ucbtsm6/Scratch/database/nt [...]



The second error is likely independent of the first.

Do the following steps, update to the latest version of blast+ (>= v. 2.6)

echo $BLASTDB # if empty, set it
cd $BLASTDB nt --decompress
blastdbcheck -db nt -dbtype nucl

And give the output, when that does not work.

Then use blastn like so: blastn -db nt [...]

ADD COMMENTlink modified 3.6 years ago • written 3.6 years ago by Michael Dondrup48k

I was running the first blastn run on a cluster and then checked the database index locally, hence the different paths :)

I didn't realise I was running an old version - the source file says ncbi-blast-2.6.0+ - so I'll update it and try again. Thanks.

ADD REPLYlink written 3.6 years ago by 4galaxy7760
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1053 users visited in the last hour