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

Fix minor bug in hh-suite/scripts/hh_reader.py #240

Closed zhujianwei31415 closed 3 years ago

zhujianwei31415 commented 3 years ago

The 76 line in this python scrip should be changedt: from query_seq, template_seq, (query_start, template_start), to "".join(query_seq), "".join(template_seq), (query_start, template_start),

The query_seq and template_seq are both list, they need to be converted to a string to match same format as the line 172. And the output code from 192 to 198 will work successfully.

milot-mirdita commented 3 years ago

Thanks a lot!