Skip to content

Contexts

Simulation contexts for Amber

AMBER_PROTEIN_STANDARD_CONTEXT = {'ff_protein': 'ff19SB', 'ff_water': 'opc3', 'cation_identity': 'Na+', 'anion_identity': 'Cl-', 'neutralize_charge': True, 'extra_cations': 0, 'extra_anions': 0, 'solvent_ionic_strength': 0.15, 'solvent_padding': 10.0}

Reasonable values for explicitly solvated protein simulations in water.

The ff19SB protein force field offers improved protein backbone descriptions by incorporating the CMAP approach. OPC3 was found to provide best in-class accuracy and efficiency.

AmberContextValidator

Bases: ContextValidator

Validate Amber contexts.

compute_platform = ('mpi', 'cuda')

Options for architecture to run simulations on.

ff_protein = ('ff19SB', 'ff14SB', 'ff99SB', 'ff15ipq', 'fb15', 'ff03ua')

Options for protein force fields.

ff_water = ('tip4p', 'tip4pew', 'tip5p', 'spce', 'spceb', 'opc', 'opc3', 'opc3pol', 'opc3pol', 'pol3', 'tip3pfb', 'tip4pfb')

Options for water force fields.

input_kwargs(value, context)

Validate input parameters.

Enforces the following rules.

  • Minimizations (e.g., imin = 1) cannot use GPUs. Sometimes when fewer bits are being used for float (i.e., float32 instead of float64), floating point errors can accumulate and make the force field calculations crash or very high forces. Thus, we do not allow compute_platform to be set to cuda during minimizations.

splits(value, context)

Validate splits