-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
General Information
- ConKit version: 0.12.0
- Python version: 3.6.9
- Environment (if applicable): WSL
Example
A minimal example to reproduce the error:
../.local/bin/conkit-plot cmap conkit.jones jones conkit.rr casprr
or
../.local/bin/conkit-plot cmap conkit.jones jones conkit.mat ccmpred
The .jones, .rr and .mat file were generated from the conkit-predict script, which worked fine. I used them to exclude the possibility that my original files were the problem; my original goal was use a reference structure to determine which contacts were true positives, but I was getting a traceback. So I tried just plotting without the reference structure and I got the same traceback.
Traceback
The Python traceback
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/sadiogo/.local/lib/python3.6/site-packages/conkit/command_line/conkit_plot.py", line 441, in <module>
main()
File "/home/sadiogo/.local/lib/python3.6/site-packages/conkit/command_line/conkit_plot.py", line 283, in main
con.set_sequence_register()
File "/home/sadiogo/.local/lib/python3.6/site-packages/conkit/core/contactmap.py", line 503, in set_sequence_register
c.res1 = self.sequence.seq[res1_index - 1]
File "/home/sadiogo/.local/lib/python3.6/site-packages/conkit/core/contact.py", line 268, in res1
self._res1 = Contact._set_residue(amino_acid)
File "/home/sadiogo/.local/lib/python3.6/site-packages/conkit/core/contact.py", line 483, in _set_residue
raise ValueError("Unknown amino acid: {} (assert all is uppercase!)".format(amino_acid))
ValueError: Unknown amino acid: - (assert all is uppercase!)