Parameters
str
required
Unique identifier for this State.
List[Chain]
required
List of single monomeric Chains in this State.
List[EnergyTerm]
required
Collection of EnergyTerms that define the State.
Methods
oracles_list
total_sequence
energy
Total weighted energy of state. Raises ValueError if no energy terms defined.energy_term_values
Unweighted energy term values. Raises ValueError if no energy terms defined.total_residues
remove_residue_from_all_energy_terms
Remove the residue from the energy terms associated to it in the current state. Parametersstr
required
int
required
add_residue_to_all_energy_terms
You look within the same chain and the same state and you add the residue to the same energy terms the neighbours are part of. You actually look left and right, and randomly decide between the two. If the residue is at the beginning or at the end of the chain, you just look at one of them. You do it for all terms that are inheritable. Parametersstr
required
ID of the chain where the residue was added
int
required
Index of the newly added residue
int | None
default:"None"
If provided, use this as the parent residue index (deterministic path). If None, randomly choose between left and right neighbor (usual, default, inference path).
int | None
Index of the parent residue None if the chain is not found in this state
