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

hh_reader.py. Copy-pasta error for processing template length #246

Open chrismacdermaid opened 3 years ago

chrismacdermaid commented 3 years ago

:exclamation: Make to check out our User Guide.

Expected Behavior

['T', 'sp|Q96KV6|BT2A', '112', 'NVTAEDNGIYQCYFQEGRSC--NEAILHLVVAG--LDSEPVIE---MRDHEDGGIQLECISGGWYPK-PLTVWRDPYGEV', '183', '(586)']

Should return: token_5 = 586

Current Behavior

returns token_5 = 183

Steps to Reproduce (for bugs)

Please make sure to execute the reproduction steps. Parse an hhr, print token_5 variable

change line 161 https://github.com/soedinglab/hh-suite/blob/4f1ab739ba5abb6ddf66b66ae043117464d24e25/scripts/hh_reader.py#L161

from: tokens[4] to tokens[5]

HH-suite Output (for bugs)

Please make sure to post the complete output of the tool you called. Please use gist.github.com.

Context

Providing context helps us come up with a solution and improve our documentation for the future.

Your Environment

Include as many relevant details about the environment you experienced the issue in.