
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.

0 is
best (all minimum requirements met) and 1 is worst.
API Reference
Configuration for the dna-motif-contact-count constraint.Predicts (or reuses) a protein-DNA complex and counts heavy-atom contacts
between protein residues and a selected DNA motif. The score is the largest
of three normalized deficits (contact pairs, unique protein residues, unique
DNA positions) clamped to
[0, 1], where 0 means every minimum
requirement is met and 1 means none are.List[integer]
required
0-based motif indices on the selected DNA chain.
integer
default:"0"
Index of DNA chain in order-of-appearance in the PDB (0-based).
integer
default:"1"
Minimum motif-local protein-DNA residue-pair contacts required.
integer
default:"1"
Minimum number of unique contacting protein residues.
integer
default:"1"
Minimum number of motif DNA positions with at least one contact.
number
default:"4.0"
Heavy-atom distance cutoff for contact detection.
enum
default:"base"
Which DNA atoms are considered for motif contacts.Options:
base, any, backboneenum
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-proposal score in [0, 1] (lower is
better) and metadata describing the motif contacts (counts, the
selected DNA chain, motif indices, cutoff, and resolved PDB path).
A proposal whose structure shape prevents scoring (no DNA chains, no
DNA residues, out-of-range dna_chain_label or dna_indices)
soft-fails to MAX_ENERGY with motif_contact_error metadata.Usage
python