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

extend watfinder to more water models and ions #1953

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

jamesmkrieger
Copy link
Contributor

@jamesmkrieger jamesmkrieger commented Sep 13, 2024

  1. add resname SPC to water flag; otherwise it is not selected as water
  2. add kwarg considered_atoms_sel to calcWaterBridges to be able to include ion etc instead of just protein
  3. add resname SOL to water flag (not worth excluding as only 3 SOL ligands in PDB)
  4. add CU2P and CU2 (trimmed to 3-char) to ion flag

@jamesmkrieger
Copy link
Contributor Author

We now have selections working e.g.

In [1]: from prody import *

In [2]: ag = parsePDB('ionized2_swap.pdb', long_resname=True)
@> 461487 atoms and 1 coordinate set(s) were parsed in 5.64s.

In [3]: set(ag.ion.getResnames())
Out[3]: {'CLA', 'CU2P', 'SOD'}

In [4]: set(ag.ion.getNames())
Out[4]: {'CLA', 'CU2P', 'SOD'}

In [5]: set(ag.water.getResnames())
Out[5]: {'SOL'}

In [6]: set(ag.water.getNames())
Out[6]: {'HW1', 'HW2', 'OW'}

In [7]: ag = parsePDB('ionized2_swap.pdb')
@> 461487 atoms and 1 coordinate set(s) were parsed in 5.74s.

In [8]: set(ag.ion.getResnames())
Out[8]: {'CLA', 'CU2', 'SOD'}

In [9]: set(ag.water.getNames())
Out[9]: {'HW1', 'HW2', 'OW'}

In [10]: set(ag.ion.getNames())
Out[10]: {'CLA', 'CU2P', 'SOD'}

@jamesmkrieger jamesmkrieger changed the title add spc to water flag extend watfinder to more water models and ions Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant