rest
#
Prepare a system for REST sampling.
Modules:
-
femto
–A comprehensive toolkit for predicting free energies
Functions:
-
apply_rest
–Modifies an OpenMM system in-place such that the valence, vdW and electrostatic
Attributes:
-
REST_CTX_PARAM
–The global parameter used to scale interactions by beta_m / beta_0 according to
-
REST_CTX_PARAM_SQRT
–The global parameter used to scale interactions by sqrt(beta_m / beta_0) according
REST_CTX_PARAM
module-attribute
#
The global parameter used to scale interactions by beta_m / beta_0 according to REST2.
REST_CTX_PARAM_SQRT
module-attribute
#
The global parameter used to scale interactions by sqrt(beta_m / beta_0) according to REST2.
apply_rest
#
apply_rest(
system: System, solute_idxs: set[int], config: REST
)
Modifies an OpenMM system in-place such that the valence, vdW and electrostatic interactions are scaled according to the REST2 scheme.
Namely, torsion barrier heights are scaled by beta_m / beta_0
, electrostatic
charges are scaled by sqrt(beta_m / beta_0)
, and LJ epsilons are scaled by
beta_m / beta_0
.
Notes
- REST should be applied after any alchemical modifications.
Parameters:
-
system
(System
) –The system to modify in-place.
-
solute_idxs
(set[int]
) –The indices of the 'solute'. Usually this will be the indices of the ligand atoms, but may also include protein atoms or only a subet of ligand atoms.
-
config
(REST
) –Configuration for REST2.