-
Notifications
You must be signed in to change notification settings - Fork 515
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
Protein-ligand Binding free Energy calculation ???? #2880
Comments
Hello, this question is yet to be answered? |
Is this still an open question, or have you resolved it? |
I'm closing this, since there's been no response since October. |
Hello - I would like to reopen that and kindly ask for any hints related to the possibilities of getting MMPBSA/MMGBSA binding energies with openMM, preferably with AMBER trajectories. Thank in advance for any hint. |
Amber has a utility for doing that in MMPBSA.py. It's reasonably straightforward to use mdtraj with OpenMM to loop through a trajectory and compute energies (less straightforward to do the decomposition that Amber can do). But there is no PB force or any plug-in I'm aware of so you'd be limited to GB. |
Hello @swails Could you point to some examples to compute GB energies, looping the traj with mdtraj/openmm? |
I assume you've already created a System and Simulation in OpenMM, and that you've loaded the trajectory with MDTraj. You can compute the energy of each frame like this. for i in range(trajectory.n_frames):
simulation.context.setPositions(trajectory.xyz[i])
energy = simulation.context.getState(getEnergy=True).getPotentialEnergy()
# Do something with it... |
Thank you @peastman So, if I use "atom_slice()" to narrow the trajectory.xyz() output to atoms of a protein-protein interface (a mask), and plug those coords to context.setPositions() ... then State.getPotentialEnergy() should return the isolated potential energy of such interface, right?. For clarification: I'm also trying to do the same on a per-residue basis... one by one. |
You can't "slice" the system in OpenMM -- you have to create a new one with just the subset of atoms you want. ParmEd has this kind of functionality, but OpenMM doesn't out-of-the-box. |
Thanks @swails! I think per-residue energies (using atom masks) would be a super handy feature for structural bioinformaticians in OpenMM. I'll try to make it into a plugin and share the code (...still an openmm newbie here... maybe in a few months). |
Do you have any python code for MMGBSA by using openMM? Please help me. Thank you very much. Besides, I found a sample code:
Is it true? How to use GBSAOBCForce within python script? |
See the user guide for instructions on how to use implicit solvent. |
I was wondering if there any code or package available to calculate binding free energy of a ligand employing alchemical free energy calculation method or MM/PBSA method? There are many MD builds available for generating good trajectory but not analysing the data sufficiently. I haven't found any reliable opensource software to calculate MM/PBSA, MM/GBSA from single PDB file. If i find any help from here, I will be anticipating to employ the code on a series of PDB file using some loop functions.
The text was updated successfully, but these errors were encountered: