Skip to main content
DNA Motif Contact Count
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.


Go to Tool Page
evo-design/proto-language/proto_language/constraint/protein_structure/dna_motif_contact_constraint.py
View source
Copy citation
Constraint contributors
Score motif-local protein-DNA contact deficits in predicted complexes.
Predicts (or reuses) one protein-DNA complex per proposal, parses the PDB geometry, and counts heavy-atom contacts between protein residues and the selected DNA motif. The score is the largest of three normalized deficits (contact pairs, unique protein residues, unique DNA positions), so 0 is best (all minimum requirements met) and 1 is worst.

API Reference

ConfigDNAMotifContactCountConfig Source
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, backbone
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_binder
ESMFoldConfig
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

Metadata