Skip to main content

Definition

The secondary structure energy is the fraction of selected residues whose assigned secondary structure does not match the target. ESS=1NGαGI[SSαSStarget]E_{\mathrm{SS}} = \frac{1}{N_G} \sum_{\alpha \in G} \mathbb{I}[\mathrm{SS}_\alpha \neq \mathrm{SS}_{\mathrm{target}}]
  • I\mathbb{I} is the indicator function (1 if the condition is true, 0 otherwise)
  • SSα\mathrm{SS}_\alpha is the secondary structure assignment for residue α\alpha
  • SStarget\mathrm{SS}_{\mathrm{target}} is the target secondary structure (alpha-helix, beta-sheet, or coil)
  • NGN_G is the number of residues in the group GG

Parameters

Oracle
required
The oracle to use for the energy term.
list[Residue]
required
Which residues to include in the calculation.
str
required
Which secondary structure type to drive towards. Options are ‘alpha-helix’, ‘beta-sheet’, or ‘coil’.
bool
default:"True"
If a new residue is added next to a residue included in this energy term, this dictates whether that new residue could then be added to this energy term.
float
default:"1.0"
The weight of the energy term.
str | None
default:"None"
Optional name to append to the energy term name.

Methods

compute

Parameters
OraclesResultDict
required

Example