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.

Implement restraints referenced to center of geometries of atom selections

See original GitHub issue

This 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:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jchoderacommented, Jul 31, 2017

Ah sorry, unless you meant that the restraint object can take a DSL string during initialization. I think can add this easily.

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.

Question: am I correct in thinking that the standard state correction in this case should be computed very similarly to the standard Harmonic restraint (i.e. integrate shell volume and compute log ratio with standard volume)?

Yes, as I understand it, the corrections would be identical to the case where only a single atom is chosen for receptor and ligand.

0reactions
davidlmobleycommented, Aug 1, 2017

I’m just commenting so I can follow this discussion. Thanks for working on this.

Read more comments on GitHub >

github_iconTop 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 >

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