
License: AlphaFold3 uses Apache-2.0 for code and Custom (AlphaFold 3 Model Parameters Terms of Use) for model weights and has restrictions around commercial use and may require explicit attribution when utilized. Model weights are not publicly distributed and must be requested from the provider. 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
Config for geometry-based DNA phosphate contact scoring.Scores protein-DNA complexes based on protein polar side-chain H-bond
contacts to DNA backbone phosphate oxygens, measured directly from
heavy-atom distances in a predicted complex PDB without requiring Rosetta
relaxation. Mirrors the AlphaFold3 phosphate-contact H-bond term (separate
from the base-contact H-bond term). Inherits the structure-prediction tool
selection and per-tool configs from
StructureBasedConstraintConfig.number
default:"3.5"
Heavy-atom distance cutoff for phosphate contacts.
integer
default:"2"
Target number of unique phosphate H-bond contacts; 0 score when met.
List[string]
default:"['OP1', 'OP2', 'O1P', 'O2P']"
DNA backbone phosphate atom names treated as eligible H-bond acceptors (OP1/OP2 + legacy O1P/O2P).
enum
default:"alphafold3"
Predictor for the protein-DNA complex; must be DNA-capable (alphafold3/boltz2/protenix).Options:
esmfold, esmfold2, alphafold3, boltz2, chai1, protenix, alphafold2, alphafold2_binderESMFoldConfig
Configuration for ESMFold structure prediction.
ESMFold2Config
Configuration for ESMFold2 structure prediction.
AlphaFold3Config
Configuration for AlphaFold3 structure prediction.
Boltz2Config
Configuration for Boltz2 structure prediction.
Chai1Config
Configuration for Chai1 structure prediction.
ProtenixConfig
Configuration for Protenix structure prediction.
AlphaFold2Config
Configuration for the general AlphaFold2 multimer structure predictor.
AlphaFold2BinderStructureConfig
Configuration for the AF2 binder-design backend.
ReturnsConstraintOutput
Per-candidate score in [0, 1] (lower is
better) with phosphate-contact metadata (n_phosphate_contacts,
weighted_phosphate_score, n_unique_residues,
contacting_types, and pdb_path). Candidates whose structure
could not be resolved receive MAX_ENERGY.Usage
python