Obtaining CustomNonbondedForce's shortest pairwise interaction
Posted: Wed Nov 13, 2019 5:07 am
Dear Forum,
This question is cast within the context of using the rich OpenMM framework as a basic docking engine, in which there is only one class of force, CustomNonbondedForce, and making use of State.getPotentialEnergy() as a scoring metric.
If one should set the following cutoff scheme with a CustomNonbondedForce object :
Then the sum of pairwise interactions will be calculated according the object's given energy expression, that satisfy the the distance cutoff.
My question is, is it possible to select only one of these interactions pairs, based the minimum distance of the set of all pairs? Current ideas include perhaps using setExclusionParticles() in an iterative manner to whittle the pair list down to one, or perhaps making use of the select() and/or step() functions within the energy expression. I sense I am only scratching at the surface of Lepton's functionality.
Regards,
Mark
This question is cast within the context of using the rich OpenMM framework as a basic docking engine, in which there is only one class of force, CustomNonbondedForce, and making use of State.getPotentialEnergy() as a scoring metric.
If one should set the following cutoff scheme with a CustomNonbondedForce object :
Code: Select all
exampleCustomNonbondedForce.setNonbondedMethod(mm.CustomNonbondedForce.CutoffNonPeriodic)
exampleCustomNonbondedForce.setCutoffDistance(cutoff)
My question is, is it possible to select only one of these interactions pairs, based the minimum distance of the set of all pairs? Current ideas include perhaps using setExclusionParticles() in an iterative manner to whittle the pair list down to one, or perhaps making use of the select() and/or step() functions within the energy expression. I sense I am only scratching at the surface of Lepton's functionality.
Regards,
Mark