
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.

@articlechaudhury2010pyrosetta
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
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.ReturnsConstraintOutput
Per-proposal score in [0, 1] with pyrosetta_total_energy /
pyrosetta_energy_per_residue / pyrosetta_energy_terms / pyrosetta_energy_chain metadata.Usage
python