soedinglab / hh-suite

Remote protein homology detection suite.
https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-019-3019-7
GNU General Public License v3.0
515 stars 128 forks source link

hit key length truncated to 30 bytes in hhr output files #339

Open nandoide opened 1 year ago

nandoide commented 1 year ago

:exclamation: Make to check out our User Guide.

Expected Behavior

In the hit list of hhr outputs the length of the hit name should be at least 32 bytes according to the max length of keys in ffindex databases. I've stored keys up to 31 chars and get truncated.

line 26 of ffindex.h:

#define FFINDEX_MAX_ENTRY_NAME_LENTH 32

Current Behavior

In the hitlist of every hhr file output the keys are truncated to 30 bytes.

Steps to Reproduce (for bugs)

Every hhr file shows that.

HH-suite Output (for bugs)

Context

Every hhr file, according to line 67 in hhhitlist.cpp:

sprintf(str, "%3i %-30.30s    ", nhits, hit.longname);

Your Environment

All environments are affected