cbc-univie / transformato

Set up relative free energy calculations using a common scaffold
https://cbc-univie.github.io/transformato/
MIT License
22 stars 6 forks source link

Restraints #62

Closed JohannesKarwou closed 2 years ago

JohannesKarwou commented 2 years ago

Description

Applying the possibility of restraints in Transformato

agrass15268 commented 2 years ago

Features:

If no further options are specified, these are harmonic restraints with k=3, between the COM of ligand carbons to the COM of surrounding ( between 5 and 15 A of ligand) carbon-alphas, or alternatively the extremities to more local binding site carbon-alphas. Equilibrium distance is initial distance.

Options available: Configuration of k-Value, flat-bottom potential, wellsize for said flat-bottom, linear scaling of restraint indtroduction.

Full specification of restraint anchors via MDAnalysis selection syntax. Otherwise, options as with automatic restraints.

All restraints are implemented as openMM CustomCentroidBondForce. No CHARMM implementation is provided.

Problems

TODO:

For further implementation details, visit the restraint docpage.

@JohannesKarwou: Please run full test suite and push changes from your fork to wiederm (you might have to merge - the wiederm repo is 1 commit ahead, I don't have pull rights and would like to avoid circular merges with independent histories)

As a side note: a more general issue might be that the equilibrium distance is calculated from the input .pdb, without minimisation. This means that the restraints aren't exactly aligned even at step 0, small forces (e-05 kJ/mol max) try to enforce the PDB structure. This is not really a problem with our structures, but for structures with large changes due to energy minimisation, this could be troubling.

codecov-commenter commented 2 years ago

Codecov Report

Merging #62 (a3ab677) into master (852ff5d) will increase coverage by 1.35%. The diff coverage is 87.81%.

:exclamation: Current head a3ab677 differs from pull request most recent head c1cb547. Consider uploading reports for the commit c1cb547 to get more accurate results