Hi everyone,
I am using propka version 3.1. I got the issue of "setup_atoms" with simply scripts below.
import propka.lib, propka.molecular_container
command_line_args = [
'/Users/loctran/Desktop/getFeature/5KZW_A_E521Q.pdb'
]
# Load options using the list of command-line arguments
options, pdbfiles = propka.lib.loadOptions(command_line_args)
my_molecule = propka.molecular_container.Molecular_container(pdbfiles[0][0], options)
The results turns out "IndexError: list index out of range":
Traceback (most recent call last):
File "/Users/loctran/Desktop/getFeature/test.py", line 17, in <module>
my_molecule = propka.molecular_container.Molecular_container(pdbfiles[0][0], options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/loctran/Desktop/getFeature/propka/molecular_container.py", line 55, in __init__
self.extract_groups()
File "/Users/loctran/Desktop/getFeature/propka/molecular_container.py", line 110, in extract_groups
self.conformations[name].extract_groups()
File "/Users/loctran/Desktop/getFeature/propka/conformation_container.py", line 41, in extract_groups
self.setup_and_add_group(group)
File "/Users/loctran/Desktop/getFeature/propka/conformation_container.py", line 146, in setup_and_add_group
self.init_group(group)
File "/Users/loctran/Desktop/getFeature/propka/conformation_container.py", line 155, in init_group
group.setup()
File "/Users/loctran/Desktop/getFeature/propka/group.py", line 356, in setup
self.setup_atoms()
File "/Users/loctran/Desktop/getFeature/propka/group.py", line 739, in setup_atoms
my_protonator.protonate_atom(the_nitrogen[0])
~~~~~~~~~~~~^^^
IndexError: list index out of range
Does anyone encountered this problem?
Here is my pdb file:
5KZW_A_E521Q.pdb.zip
Hi everyone,
I am using propka version 3.1. I got the issue of "setup_atoms" with simply scripts below.
The results turns out "IndexError: list index out of range":
Does anyone encountered this problem?
Here is my pdb file:
5KZW_A_E521Q.pdb.zip