distance restraints
Posted: Thu Apr 06, 2017 4:31 pm
Greetings,
Is it possible to apply NMR-like (flat-welled) distance restraints in OpenMM without using the Meld plugin. I just want to restrain some waters to be within 15 Angstroms from the center of mass (COM) of the ligand. I found this thread where they discuss a similar case and suggest Meld plugin:
https://github.com/pandegroup/openmm/issues/924
In case flat-welled restraints are not support directly by OpenMM, maybe this example from the manual can work:
Provided that the residue name of the ligand is "LIG", could someone please show me how to modify this so that "r" is the distance from the COM of the ligand?
Thank you in advance.
Thomas
Is it possible to apply NMR-like (flat-welled) distance restraints in OpenMM without using the Meld plugin. I just want to restrain some waters to be within 15 Angstroms from the center of mass (COM) of the ligand. I found this thread where they discuss a similar case and suggest Meld plugin:
https://github.com/pandegroup/openmm/issues/924
In case flat-welled restraints are not support directly by OpenMM, maybe this example from the manual can work:
Code: Select all
force = CustomExternalForce('100*max(0, r-2)^2; r=sqrt(x*x+y*y+z*z)')
system.addForce(force)
for i in range(system.getNumParticles()):
force.addParticle(i, [])
Thank you in advance.
Thomas