-
Notifications
You must be signed in to change notification settings - Fork 11
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
More Flexible Creation of Boresch Restraints #146
Conversation
This allows the user to pass in equilibrium values as well as force constants. In addition, the likely stability of the restraints is assessed.
If a name was supplied, BoreschRestraint was called instead of BoreschRestraints.
…ection doc strings
I've now made all the changes I'd like:
I had a couple of questions:
Thanks! |
“but it seems unlikely that the user would want more than one set of Boresch restraints in most cases.” Some dual topology implementations could use two sets of Boresch restraints on two separate ligands (e.g. SepTop method). But this could also be implemented by setting restraints on one ligand at a time. |
Thanks - the clash with map is unfortunate, but it is baked into sire from decades back, and can't be changed. Fortunately, the overwrite occurs only in the functions that take "map" arguments, which themselves aren't going to call the Python map function. |
This is why I ended up using |
For some reason this failed because it timed out (all runners hung for 6 hours). I am not sure why. Is there anything that has been added that may have caused this? If not, I can take a look later to see what could have gone wrong. |
Also remove forgotten breakpoint.
…sire-openbiosim into feature_improve_boresch
I'm not sure what I could have changed. To double-check, I pulled in the latest changes from devel and tested again locally. Other than a couple of unrelated errors (related to gemmi ( |
Thanks - this looks great. I really like the docs and tests. I've pulled this into #fix_164 so that we don't have to remerge in devel again and to save CI. Your PR will be merged in with #fix_164 (which should be soon). |
Fantastic, thanks very much. |
Thanks - this is now merged :-) |
This PR increases the flexibility of Boresch restraint creation. I've created this as a first draft so we can discuss how best to do this. I've not yet added tests as I'm currently unable to compile sire and test properly (will create an issue).
Changes proposed in this pull request:
None
are measured from the input structure.These values are also more in-keeping with defaults in the literature, e.g. the FEP+ implementation where they use much higher angle force constants (40 kcal mol-1 rad-2) compared to distance (1 kcal mol-1 A-2).
Some points to discuss:
boresch
function to aget_standard_state_correction
function b) create classes in the python layer which store all the force constants and equilibrium values, and have astandard_state_correction
method/ property.devel
into this branch before issuing this pull request (e.g. by runninggit pull origin devel
): ySuggested reviewers:
@chryswoods, @lohedges
Thanks very much!