Skip to content
New issue

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

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

Already on GitHub? # to your account

Non-integer residue charge with PEOEPB #381

Open
sobolevnrm opened this issue Jan 1, 2024 · 0 comments
Open

Non-integer residue charge with PEOEPB #381

sobolevnrm opened this issue Jan 1, 2024 · 0 comments
Assignees

Comments

@sobolevnrm
Copy link
Member

Running

pdb2pqr --log-level=INFO --ff=PEOEPB --ffout=PEOEPB --drop-water \
    --whitespace --with-ph=2 --titration-state-method=propka 1AJJ foo.pqr

with PDB2PQR 3.6.1 generates the error

WARNING:Residue GLU A 9 has non-integer charge: -0.47 deviates by 0.47 from integral, exceeding error tolerance 0.001.
WARNING:Residue GLU A 16 has non-integer charge: -0.47 deviates by 0.47 from integral, exceeding error tolerance 0.001.
WARNING:Residue GLU A 36 has non-integer charge: -0.47 deviates by 0.47 from integral, exceeding error tolerance 0.001.
WARNING:Residue GLU A 37 has non-integer charge: -0.47 deviates by 0.47 from integral, exceeding error tolerance 0.001.
WARNING:Residue GLU A 9 has non-integer charge:  -0.47 deviates by 0.47 from integral, exceeding error tolerance 0.001
WARNING:Residue GLU A 16 has non-integer charge:  -0.47 deviates by 0.47 from integral, exceeding error tolerance 0.001
WARNING:Residue GLU A 36 has non-integer charge:  -0.47 deviates by 0.47 from integral, exceeding error tolerance 0.001
WARNING:Residue GLU A 37 has non-integer charge:  -0.47 deviates by 0.47 from integral, exceeding error tolerance 0.001
CRITICAL:2.120000000000001 deviates by 0.120000000000001 from integral, exceeding error tolerance 0.001
CRITICAL:Giving up.
Traceback (most recent call last):
  File "C:\Users\nathanbaker\OneDrive - Microsoft\Desktop\Code\pdb2pqr\pdb2pqr\main.py", line 801, in main_driver
    results = non_trivial(
              ^^^^^^^^^^^^
  File "C:\Users\nathanbaker\OneDrive - Microsoft\Desktop\Code\pdb2pqr\pdb2pqr\main.py", line 714, in non_trivial
    raise ValueError(charge_err)
ValueError: 2.120000000000001 deviates by 0.120000000000001 from integral, exceeding error tolerance 0.001

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\nathanbaker\venvs\pdb2pqr\Scripts\pdb2pqr.exe\__main__.py", line 7, in <module>
  File "C:\Users\nathanbaker\OneDrive - Microsoft\Desktop\Code\pdb2pqr\pdb2pqr\main.py", line 838, in main
    if main_driver(args) == 1:
       ^^^^^^^^^^^^^^^^^
  File "C:\Users\nathanbaker\OneDrive - Microsoft\Desktop\Code\pdb2pqr\pdb2pqr\main.py", line 811, in main_driver
    raise RuntimeError from err
RuntimeError
@sobolevnrm sobolevnrm self-assigned this Jan 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant