Overview
Sandbox prediction jobs can be easily submitted to Boltz Lab via the CLI or Python SDK. The input is provided as a.yaml file describing the complex (chains/molecules), optional constraints and properties. The format is largely aligned with that of our open source Boltz-2 model.
Custom MSAs or templates are currently not supported in Boltz Lab Sandbox jobs.
Top-level schema
sequences
What it represents
One entry per unique chain/molecule in the complex.- Polymers:
protein,dna,rna→ requiresequence - Ligands (non-polymers):
ligand→ require eithersmilesorccd(mutually exclusive) idis the chain/molecule identifier. If there are multiple identical entities, use a list (e.g.,[A, B]).
Entity block schemas
Protein / DNA / RNA
Ligand
Modifications
modifications is optional and supported for polymers (protein, dna, rna):
position: residue index starting at 1ccd: CCD code of the modified residue (currently supported only for CCD ligands)
Cyclic polymers
cyclic: true|false indicates whether a polymer chain is cyclic (not applicable to ligands).
constraints (optional)
Constraints add structural hints to the input.
Common indexing conventions
CHAIN_ID: theidyou defined insequencesRES_IDX: residue index starting from 1- For ligands,
RES_IDXis1 ATOM_NAME: standardized atom name (verify in the component’s CIF from RCSB)
1) bond
Covalent bond between two atoms.
2) pocket
Defines a binding pocket (binding-site residues/atoms) for a binder chain.
contactsentries are:- residues (with
RES_IDX, 1-indexed), or - ligand atoms (with
ATOM_NAME)
- residues (with
max_distanceis the maximum distance (Å) between any atom inbinderand any atom in each contact element.- Supported range: 4–20 Å, default 6 Å
- If
force: true, a potential enforces the pocket constraint.
3) contact
Forces a contact between two residues/atoms.
max_distancesupported range: 4–20 Å, default 6 Å- If
force: true, a potential enforces the contact constraint.
properties (optional)
affinity
Enables affinity computation against a specified ligand chain.
- Only one small molecule can be specified.
- Must be a ligand chain (not protein/DNA/RNA).
- Size limit: at most 128 atoms (heavy atoms + hydrogens retained by
RDKit RemoveHs). - Recommended: avoid ligands significantly larger than 56 atoms (training-time limit).
- Reliable only for small-molecule → protein affinity; other targets may run but be unreliable.