
License: Boltz-2 is open source and free for academic and commercial use under an MIT license. 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.

[0.0, 1.0]
against configurable targets/tolerances and combined via weighted averaging;
default weights are chosen by complex type.
API Reference
Configuration for Boltz binding strength constraint.This class defines configuration parameters for evaluating protein-protein,
and protein-nucleic acid binding using Boltz, a biomolecular structure prediction
model. Boltz predicts complex structures and provides confidence metrics for binding
quality, interface accuracy, and overall structure reliability. The constraint evaluates
these metrics against target values to assess binding strength and quality.The constraint uses a penalty-based scoring system where each metric is evaluated
against its target value and tolerance. Metrics are classified as âhigher is betterâ
(e.g., interface confidence scores) or âlower is betterâ (e.g., predicted distance
errors). Penalties are combined using weighted averages, with default weights
optimized for different complex types (monomers, protein-nucleic acid, protein-protein).
Metric interpretation:
- iptm/ligand_iptm/protein_iptm: Interface confidence (0-1). Higher = better binding prediction. Values >0.8 indicate confident binding interfaces.
- complex_iplddt: Interface per-residue confidence (0-1). Higher = more reliable interface residue predictions.
- complex_plddt: Overall structure confidence (0-1). Similar to ESMFold pLDDT.
- ptm: Overall structural accuracy (0-1). Similar to ESMFold pTM.
- complex_ipde/complex_pde: Predicted distance errors in à ngströms. Lower = more accurate structure. Values <3 à indicate high accuracy.
- confidence_score: Boltzâs aggregate confidence combining multiple factors.
Target values for âhigher is betterâ metrics.
Target values for âlower is betterâ metrics.
Tolerances for higher-is-better metrics; once a value falls this far below target, penalty hits 1.0.
Tolerances for lower-is-better metrics (Ă
); once exceeding target by this much, penalty hits 1.0.
Weights for combining penalties
Whether to include confidence_score in penalty calculation (adds weight 0.10)
Component to return: âtotal_penaltyâ (weighted combination) or specific metric nameOptions:
total_penalty, iptm, ligand_iptm, protein_iptm, complex_iplddt, complex_plddt, complex_pde, complex_ipde, confidence_score, ptmBoltz2 configuration for structure prediction.
ReturnsConstraintOutput
Per-complex score in [0.0, 1.0] (0 = perfect
binding). Predicted Boltz structure is attached to the first slot of
each complex. metadata carries boltz2_binding (a list of
dictionaries, one per evaluation):penalty: Float overall constraint score (0.0-1.0)metrics: Dictionary of all raw Boltz metrics (iptm, iplddt, etc.)penalties: Dictionary of individual metric penalties before weighting
Usage
python
Metadata
| Property | Value |
|---|---|
| Key | boltz2-binding-strength |
| Function | boltz_binding_strength_constraint |
| Category | protein_structure |
| Mode | discrete |
| Uses GPU | True |
| Supported Types | dna, rna, protein, ligand |