Skip to main content
PyRosetta Energy
License: PyRosetta is licensed under Custom (PyRosetta Software License) and has restrictions around commercial use and may require explicit attribution when utilized. Please refer to the license for full terms.

This constraint is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.


Go to Tool Page
ProtoProtoevo-design/proto-language
View source
@articlechaudhury2010pyrosetta
Copy citation
Constraint contributors
Score one chain’s Rosetta total energy per residue (lower is more favourable).
chain is cut out of the attached structure (Structure.select_chain) and scored alone, so other chains add no energy. With e the total energy divided by the number of scored residues, the score is clip((e - desired_energy_per_residue) / tolerance, 0, 1).

API Reference

ConfigPyRosettaEnergyConstraintConfig Source
Config for the PyRosetta total-energy constraint.Energies are in Rosetta Energy Units (REU), lower is better. total_energy grows with chain length, so the constraint scores it per residue. Values depend on the score function and on whether the structure was relaxed, so tune the thresholds per design setup. Unlike the bare pyrosetta-energy tool, the constraint runs FastRelax before scoring by default: attached structures are predicted, and the proto-tools README recommends relaxing raw predicted structures because their steric clashes can dominate the energy. FastRelax moves torsions, so it repairs clashes and side-chain strain but not distorted bond lengths or angles: a structure with distorted covalent geometry keeps a high energy after relaxing.
string
Chain to score in the attached structure; None uses the chain matching the input.
number
default:"-2.5"
Energy per residue (REU) at or below which the score is 0.
number
default:"2.0"
REU per residue above the desired value at which the score reaches 1.
PyRosettaEnergyConfig
Default relaxes first; a passed config is used as given. FastRelax uses relax_config.scorefxn.
ReturnsConstraintOutput
Per-proposal score in [0, 1] with pyrosetta_total_energy / pyrosetta_energy_per_residue / pyrosetta_energy_terms / pyrosetta_energy_chain metadata.

Usage

python

Metadata