Score Terms#
TMol score functions combine weighted tmol.ScoreType
values. A tmol.ScoreFunction activates the energy
term implementation associated with each non-zero weight, then renders a
whole-pose, block-pair, or rotamer scoring module for a particular
tmol.PoseStack.
Score-type map#
Score types |
Energy-term class |
Quantity represented |
|---|---|---|
|
Attractive and repulsive Lennard-Jones interactions and isotropic Lazaridis-Karplus solvation. |
|
|
Distance-dependent full-atom electrostatics. |
|
|
Orientation-dependent hydrogen-bond interactions. |
|
|
Bonded geometry used by Cartesian scoring and minimization. |
|
|
Harmonic distance, bounded distance, harmonic coordinate, and
circular-harmonic torsion constraints attached through
|
|
|
Geometry of disulfide-linked cysteine pairs. |
|
|
Backbone-dependent peptide omega and Ramachandran torsion preferences. |
|
|
Backbone-dependent amino-acid rotamer probabilities and deviations. |
|
|
Directional water-mediated solvation and bridging terms. |
|
|
Per-residue-type reference energies. |
|
|
Generic bonded torsions, including ligand torsional parameters. |
|
|
DNA/RNA backbone, glycosidic-chi, sugar, coupling, and rotamer-well preferences with polymer-specific parameters. |
ScoreType.n_score_types is a terminal size sentinel used for weight-vector
allocation; it is not a score component.
Non-bonded and solvation terms#
- class tmol.score.LJLKEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
AtomTypeDependentTerm,BondDependentTerm
- class tmol.score.ElecEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
AtomTypeDependentTerm,BondDependentTerm
- class tmol.score.HBondEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
AtomTypeDependentTerm,HBondDependentTerm
- class tmol.score.LKBallEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
AtomTypeDependentTerm,HBondDependentTerm
Bonded, torsional, and reference terms#
- class tmol.score.CartBondedEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
AtomTypeDependentTerm
- class tmol.score.GenBondedEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
AtomTypeDependentTerm
- class tmol.score.DisulfideEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
EnergyTerm
- class tmol.score.BackboneTorsionEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
EnergyTerm
- class tmol.score.DunbrackEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
EnergyTerm
- class tmol.score.RefEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
EnergyTerm
Nucleic-acid term#
- class tmol.score.NaTorsionEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
EnergyTermScore nucleic-acid backbone, sugar-pucker, and glycosidic torsions.
The tmol.score.na_torsion package exports the sugar-pucker helpers and
fitted-model constants below for lower-level analysis and extension work.
Nucleic-acid torsion parameter resolution and scoring.
- tmol.score.na_torsion.pucker_weights(ring, temperature)[source]#
Soft distribution over the 10 sugar pucker states.
ring: (…, 5, 3) ring coordinates in cyclic order, heteroatom last.
Walks the 5 cyclic rotations of the ring. Within each, dot measures how planar the leading four atoms are and exxo which face the fifth sits on. Softmax over -dot picks the apex; a sigmoid on exxo splits endo from exo.
- tmol.score.na_torsion.sugar_ring_atoms(block_type, element_for_atom_type)[source]#
Ordered sugar ring, derived from the nu torsions rather than named.
nu0 and nu1 each span four consecutive ring atoms offset by one, so together they give the whole cycle in order. The pucker slot arithmetic is defined relative to a cycle ending on the ring heteroatom, so rotate to put it last.
Constraints#
- class tmol.score.ConstraintEnergyTerm(param_db: ParameterDatabase, device: device)[source]#
Bases:
EnergyTermScore coordinate and geometric constraints attached to a pose stack.
Score-term construction#
tmol.score.ScoreTermFactory constructs the energy term associated with
each score type. Most applications should configure a
tmol.ScoreFunction rather than use the factory directly.