mcpField
B
boltz

boltz

github.com/adaptyvbioOther17238 installsUpdated 20w ago
Repository

About boltz

Boltz is a skill for predicting protein structures, aimed at researchers working with protein complexes or protein–ligand systems. It describes Modal and local execution, CIF structures and confidence metrics, as well as Boltz-2 small-molecule affinity prediction.

Key features

  1. 01Predict protein complex structures
  2. 02Support protein–ligand prediction
  3. 03Run through Modal or locally
  4. 04Generate CIF structures and confidence data
  5. 05Offer Boltz-2 small-molecule affinity prediction

Use cases

  1. 01Predict protein–protein complex structures
  2. 02Assess protein–ligand complexes
  3. 03Screen small-molecule binding affinity

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/adaptyvbio/protein-design-skills --skill boltz

After installing, type/boltzin Claude Code to confirm it loaded.

Details

From the project README

Boltz Structure Prediction

Prerequisites

RequirementMinimumRecommended
Python3.10+3.11
CUDA12.0+12.1+
GPU VRAM24GB48GB (L40S)
RAM32GB64GB

How to run

First time? See Getting started to set up Modal and biomodals.

Option 1: Modal
cd biomodals
modal run modal_boltz.py \
  --input-faa complex.fasta \
  --out-dir predictions/

GPU: L40S (48GB) | Timeout: 1800s default

Option 2: Local installation
pip install boltz

boltz predict \
  --fasta complex.fasta \
  --output predictions/

Key parameters

ParameterDefaultRangeDescription
--recycling_steps31-10Recycling iterations
--sampling_steps20050-500Diffusion steps
--use_msa_servertrueboolUse MSA server

FASTA Format

>protein_A
MKTAYIAKQRQISFVK...
>protein_B
MVLSPADKTNVKAAWG...

Output format

predictions/
├── model_0.cif       # Best model (CIF format)
├── confidence.json   # pLDDT, pTM, ipTM
└── pae.npy          # PAE matrix

Note: Boltz outputs CIF format. Convert to PDB if needed:

from Bio.PDB import MMCIFParser, PDBIO
parser = MMCIFParser()
structure = parser.get_structure("model", "model_0.cif")
io = PDBIO()
io.set_structure(structure)
io.save("model_0.pdb")

Comparison

FeatureBoltz-1Boltz-2AF2-Multimer
MSA-free modeYesYesNo
DiffusionYesYesNo
SpeedFastFasterSlower
Open sourceYesYesYes

Sample output

Successful run
$ boltz predict --fasta complex.fasta --output predictions/
[INFO] Loading Boltz-1 weights...
[INFO] Predicting structure...
[INFO] Saved model to predictions/model_0.cif

predictions/confidence.json:
{
  "ptm": 0.78,
  "iptm": 0.65,
  "plddt": 0.81
}

What good output looks like:

  • pTM: > 0.7 (confident global structure)
  • ipTM: > 0.5 (confident interface)
  • pLDDT: > 0.7 (confident per-residue)
  • CIF file: ~100-500 KB for typical complex

Decision tree

Should I use Boltz?
│
├─ What are you predicting?
│  ├─ Protein-protein complex → Boltz ✓ or Chai or ColabFold
│  ├─ Protein + ligand → Boltz ✓ or Chai
│  └─ Single protein → Use ESMFold (faster)
│
├─ Need MSA?
│  ├─ No / want speed → Boltz ✓
│  └─ Yes / maximum accuracy → ColabFold
│
└─ Why Boltz over Chai?
   ├─ Open weights preference → Boltz ✓
   ├─ Boltz-2 speed → Boltz ✓
   └─ DNA/RNA support → Consider Chai

Typical performance

Campaign SizeTime (L40S)Cost (Modal)Notes
100 complexes30-45 min~$8Standard validation
500 complexes2-3h~$35Large campaign
1000 complexes4-6h~$70Comprehensive

Per-complex: ~15-30s for typical binder-target complex.


Verify

find predictions -name "*.cif" | wc -l  # Should match input count

Troubleshooting

Low confidence: Increase recycling_steps OOM errors: Use MSA-free mode or A100-80GB Slow prediction: Reduce sampling_steps

Error interpretation
ErrorCauseFix
RuntimeError: CUDA out of memoryComplex too largeUse --use_msa_server false or larger GPU
KeyError: 'iptm'Single chain onlyEnsure FASTA has 2+ chains
FileNotFoundError: weightsMissing modelRun boltz download first
ValueError: invalid residueNon-standard AACheck for modified residues in sequence
Boltz-1 vs Boltz-2
AspectBoltz-1Boltz-2
SpeedFastFaster
AccuracyGoodImproved, notably antibody-antigen
LigandsBasicBetter support
Affinity predictionNoYes (small-molecule binding)
Release20242025

Boltz-2 is the current default. Boltz-1 is still used where a design pipeline inverts the v1 model.

Affinity prediction (Boltz-2)

Boltz-2 adds an affinity-prediction module that approaches free-energy-perturbation accuracy at a fraction of the cost. It is trained on small-molecule binding data, so use it for protein-ligand and small-molecule work. It does not predict protein-protein binding affinity; for protein binders, rely on interface confidence (ipTM, ipSAE) instead.


Next: protein-qc for filtering and ranking.

Comments

Markdown supported