
License: AlphaFold2 uses Apache-2.0 for code and CC-BY-4.0 for model weights and may require explicit attribution when utilized. Please refer to the code license and model weights 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.

API Reference
Base configuration for constraints using structure prediction tools.This base class standardizes how structure prediction tools and their
configurations are specified across all structure-based constraints.
Each tool has its own dedicated config field.Subclasses can optionally restrict which tools are supported by overriding
the structure_tool field with a narrower Literal type.
Predictor: esmfold/esmfold2/alphafold3/boltz2/chai1/protenix/alphafold2/alphafold2_binder.Options:
esmfold, esmfold2, alphafold3, boltz2, chai1, protenix, alphafold2, alphafold2_binderConfiguration for ESMFold structure prediction.
Configuration for ESMFold2 structure prediction.
Configuration for AlphaFold3 structure prediction.
Configuration for Boltz2 structure prediction.
Configuration for Chai1 structure prediction.
Configuration for Protenix structure prediction.
Configuration for the general AlphaFold2 multimer structure predictor.
Configuration for the AF2 binder-design backend.
ReturnsConstraintOutput
Raw AF2 rg loss outputs.Usage
python
Metadata
| Property | Value |
|---|---|
| Key | structure-radius-gyration |
| Function | structure_radius_gyration_constraint |
| Category | protein_structure |
| Mode | discrete |
| Uses GPU | True |
| Supported Types | protein |