question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ligand protein interactions for trajectory with united atoms

See original GitHub issue

Thank you for creating this repository!

I am working with a united atom trajectory which causes issues at the the fp.run method:

lig = u.select_atoms("resname LIG")
prot = u.select_atoms("resnum 3-200") 
fp = plf.Fingerprint()
fp.run(u.trajectory[::10], lig, prot)

Which gives the assertion error:

No hydrogen atom could be found in the topology, but the converter requires all hydrogens to be explicit. You can use the parameter ''NoImplicit=False'' when using the converter to allow implicit hydrogens and disable inferring bond orders and charges. You can also use ''force=True'' to ignore this error.

I have confirmed that the plf.Molecule.from_mda method works with the NoImplicit=False and gives the correct topology when viewed in Jupyter notebook:

pmol = plf.Molecule.from_mda(prot, NoImplicit=False)
lmol = plf.Molecule.from_mda(lig, NoImplicit=False)

I hope I didn’t missed something obvious! but how do I use the converted molecules with fp.run?, it seems to expect an MDAanalysis atom group does not seem to have kwargs during plf.Fingerprint() or fp.run

Thanks in advance,

Ali

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
askusaycommented, Jan 20, 2022

Hi Cedric,

Happy to report that I’ve now solved this issue using PyMOL, I did it by adding missing hydrogen atoms to all simulation frames.

How to:

  1. Load topology i.e. pdb file into PyMOL
  2. Select the ligands (lig sel) and set the valence of their bonds using the valence guess, lig_sel command. (see notes for some tips on this)
  3. Load the simulation using load_traj
  4. Run the h_add (see notes)
  5. Save the simulation preferably as a dcd file using save_trj or as individual pdb files - much slower and larger files. The save_trj function must be installed from here
  6. Load simulation using MDAnalysis and run uni.atoms.guess_bonds() where uni is the universe object. More on this in #25
  7. Now the analysis should work as intended

Notes:

  1. I suspect that the valence command may not work for complex ligands, in this case a combination of the valence and bond with the appropriate options may be needed
  2. Some elements types may need to be manually set in PyMOL, I.e. to set an atom to bromide: alter atom_sel, element="BR". This can also be done in MDAnalysis by iterating over the atoms and setting their elements
  3. The valence must be set correctly before running h_add otherwise hydrogens will be added incorrectly i.e. for aromatic systems

Thanks for your help Cedric! Feel free to close the ticket or provide any comments on this.

0reactions
cbouycommented, Jan 20, 2022

Hi Ali,

Good to know that you’ve managed to solve the issue! Thanks for posting the procedure that you’ve used, I’m sure that it will be helpful to someone.

Take care, Cédric

Read more comments on GitHub >

github_iconTop Results From Across the Web

Insights into Protein–Ligand Interactions: Mechanisms ... - NCBI
Proteins, an important class of biological macromolecules, realize their functions through binding to themselves or other molecules. A detailed understanding of ...
Read more >
Protein–Ligand Interaction Detection with a Novel Method of ...
Through experiments and theoretical simulations, we demonstrate that the TIMES technique actually detects protein–ligand binding through signals ...
Read more >
Atomic-level characterization of protein–protein association
Atomic -level molecular dynamics (MD) simulations offer a computational route toward characterizing both the structure and dynamics of protein–protein complexes.
Read more >
ProLIF: a library to encode molecular interactions as fingerprints
It can handle complexes formed of any combination of ligand, protein, DNA, or RNA molecules. The available interaction types can be fully ...
Read more >
Thermodynamics of Ligand-Protein Interactions - IntechOpen
Repulsive van der Waals interactions occur when the distance between two involved atoms becomes very small, but no dipoles are induced. In the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found