Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error with PDB 1A6W #17

Closed
mc-robinson opened this issue Nov 17, 2017 · 3 comments · Fixed by #114
Closed

Getting error with PDB 1A6W #17

mc-robinson opened this issue Nov 17, 2017 · 3 comments · Fixed by #114
Labels
docs I/O file parsing and writing

Comments

@mc-robinson
Copy link

For some reason, I am getting an error with PDB 1A6W (unmodified from file downloaded from PDB). This could be on my end, but other proteins seem to working fine.

Thanks,
Matt

The relevant error message is included below:

File "/Users/matthewrobinson/bin/propka31", line 11, in
load_entry_point('PROPKA==3.1', 'console_scripts', 'propka31')()
File "/Users/matthewrobinson/.local/lib/python3.6/site-packages/PROPKA-3.1-py3.6.egg/propka/run.py", line 13, in main
File "/Users/matthewrobinson/.local/lib/python3.6/site-packages/PROPKA-3.1-py3.6.egg/propka/molecular_container.py", line 55, in init
File "/Users/matthewrobinson/.local/lib/python3.6/site-packages/PROPKA-3.1-py3.6.egg/propka/molecular_container.py", line 110, in extract_groups
File "/Users/matthewrobinson/.local/lib/python3.6/site-packages/PROPKA-3.1-py3.6.egg/propka/conformation_container.py", line 41, in extract_groups
File "/Users/matthewrobinson/.local/lib/python3.6/site-packages/PROPKA-3.1-py3.6.egg/propka/conformation_container.py", line 146, in setup_and_add_group
File "/Users/matthewrobinson/.local/lib/python3.6/site-packages/PROPKA-3.1-py3.6.egg/propka/conformation_container.py", line 155, in init_group
File "/Users/matthewrobinson/.local/lib/python3.6/site-packages/PROPKA-3.1-py3.6.egg/propka/group.py", line 356, in setup
File "/Users/matthewrobinson/.local/lib/python3.6/site-packages/PROPKA-3.1-py3.6.egg/propka/group.py", line 739, in setup_atoms
IndexError: list index out of range

@amashaly
Copy link

Any solution to this error yet?

@dspencer12
Copy link

My testing indicates that this issue occurs when atoms are missing in the PDB file (i.e. not resolved by the crystallography experiment). Currently I am working around this issue by using Modeller to fill the missing atom positions.

@FloLangenfeld
Copy link

FloLangenfeld commented Feb 24, 2020

Had the same issue with pdb 1zgl (chains P, R, T and V). Using Modeller solved the issue, indeed. In my case, only OXT atoms at the C-ter residues were missing (which is a quite common feature in X-ray structures).

IMO, the end-user should not be forced to use Modeller, but just be informed that the input structure has something wrong. And it would avoid to add a dependency to propka. A message to the stdout / log should be enough to warn the user that atoms may be missing in the input structure.

@orbeckst orbeckst added I/O file parsing and writing docs labels Jun 18, 2020
speleo3 added a commit that referenced this issue Dec 7, 2020
Print a warning but don't fail if the N or O atoms are missing in an
amide group. This is consistent with how other groups handle missing
atoms.

Closes #17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs I/O file parsing and writing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants