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.
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.