Entity Types
AlphaFold 3 supports four primary entity types in thesequences array:
Protein
Amino acid sequences with modifications and templates
RNA
RNA sequences with modifications and MSA
DNA
DNA sequences with modifications
Ligand
Small molecules via CCD codes or SMILES
Protein Entities
Proteins are the most feature-rich entity type, supporting MSA, templates, and modifications.Basic Structure
Field Specifications
string | array<string>
required
Uppercase letter(s) for unique chain ID. Use array for homomers:
["A", "B", "C"]string
required
Amino acid sequence using 1-letter standard codes
array
Post-translational modifications. Each has
ptmType (CCD code) and ptmPosition (1-based)string
Optional textual description (version 4+)
string
A3M format MSA or empty string. Mutually exclusive with
unpairedMsaPathstring
Path to A3M MSA file (absolute or relative to JSON)
string
A3M format paired MSA. Recommended to use
unpairedMsa insteadstring
Path to paired MSA file
array
Structural templates in mmCIF format with alignment mappings
Homodimer Example
With Custom MSA
RNA Entities
RNA sequences support modifications and MSA.Field Specifications
string | array<string>
required
Uppercase letter(s) for chain ID
string
required
RNA sequence using only
A, C, G, Uarray
Each has
modificationType (CCD code) and basePosition (1-based)string
A3M format MSA
string
Path to MSA file
DNA Entities
DNA sequences support modifications but not MSA or templates.Field Specifications
string | array<string>
required
Uppercase letter(s) for chain ID
string
required
DNA sequence using only
A, C, G, Tarray
Each has
modificationType (CCD code) and basePosition (1-based)Ligand Entities
Ligands can be specified three ways:- CCD Codes
- SMILES
- User CCD
Field Specifications
string | array<string>
required
Uppercase letter(s) for ligand ID
array<string>
List of CCD codes (standard or custom). Mutually exclusive with
smilesstring
SMILES definition. Mutually exclusive with
ccdCodesSMILES JSON Escaping
Backslashes in SMILES must be escaped. Use
jq or Python to properly escape:Ions as Ligands
Ions are treated as ligands. For example, a magnesium ion:
Structural Templates
Templates are only supported for proteins.string
Single-chain protein template in mmCIF format. Mutually exclusive with
mmcifPathstring
Path to mmCIF file (can be gzip, xz, or zstd compressed)
array<integer>
required
0-based indices in query sequence
array<integer>
required
0-based indices in template sequence (account for unresolved residues)
Covalent Bonds
Define bonds between or within entities usingbondedAtomPairs:
[entityId, residueId, atomName]
- Entity ID: Chain ID from
idfield - Residue ID: 1-based position within chain
- Atom name: From CCD definition
Glycan Example
Complete Example
Here’s a comprehensive input demonstrating multiple entity types:Next Steps
Input Format
Top-level structure overview
Output Format
Understanding prediction outputs