Implement restraints referenced to center of geometries of atom selections
See original GitHub issueThis is just a placeholder to remind us that we will need to implement variants of the Harmonic
and FlatBottom
restraints that use the centers of geometry of DSL-specified atom selections in order to carry out host-guest (and like T4 lysozyme) binding free energies for the paper.
We can use CustomCentroidBondForce
for this purpose. For example, Harmonic
would use something like this
# Harmonic restraint between two groups of atoms
num_groups = 2
force = openmm.CustomCentroidBondForce(num_groups, "(K/2)*distance(g1,g2)^2")
force.addGlobalParameter("K", K)
force.addGroup(particles1); # create group 0
force.addGroup(particles2); # create group 1
force.addBond([0,1], []); # add bond between groups 0 and 1
system.addForce(force)
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
CONSTRAINTS — CHARMM v35b1 documentation
This command will harmonically restrain centers of mass from the selected atoms to the absolute reference point specified with REFX, REFY and REFZ....
Read more >c32b1 cons.doc - SCV
Holding dihedrals near selected values Using this form of the CONS command, one may put restraints on the dihedral angles formed by sets...
Read more >Programming new geometry restraints: parallelity of ... - NCBI
First, it allows the manipulation of each kind of restraint, e.g. selection of the atoms involved or an update of the function.
Read more >Structure refinement in PHENIX
Restraints specific to low-resolution refinement: secondary structure, reference model, Ramachandran plot restraints. Atomic Displacement Parameters (ADP) ...
Read more >Frequently asked questions for phenix.refine
Now phenix.refine crashes because it can't find the atom selections. ... Can I use a reference model to restrain ligand coordinates?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, this is what I meant! Since the ligand atom indices will be different for each ligand, I think it would be a nightmare without the ability to at least specify the ligand residue name.
Yes, as I understand it, the corrections would be identical to the case where only a single atom is chosen for receptor and ligand.
I’m just commenting so I can follow this discussion. Thanks for working on this.