This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Tutorial: Standalone BLAST error: UnexpectedTagClassByte

OK, this took me a little while to figure out so it might help someone:

If you get the following error from standalone NCBI BLAST+ (blastx v2.2.31 in my case), it means that one of the database files is corrupted.

Fix: just rebuild the database using the makeblastdb command.

`Error: NCBI C++ Exception:
    T0 "/home/coremake/release_build/build/PrepareRelease_Linux64-Centos_JSID_01_80348_130.14.18.6_9008__PrepareRelease_Linux64-Centos_1433254587/c++/compilers/unix/../../src/serial/objistrasnb.cpp", line 176:
    Error: ncbi::CObjectIStreamAsnBinary::UnexpectedTagClassByte() - byte 0: unexpected tag class/constructed: None (0), should be constructed/None (32) ( at Blast-def-line-set[])`

Just thought I'd leave this here since I didn't find any description of the issue elsewhere.

software-error blast

Thank you very much! You saved my valuable time by posting your Fix.

small note: we're at version 2.7.1 currently.

I would thus seriously recommend to update to the latest version!

0 answers

No answers yet.

Log in to answer this question.