HannesStark/boltzgen
BoltzGen: Toward Universal Binder Design
What it solves
Designing new proteins that bind to a chosen target (another protein, a peptide, a small molecule, or DNA) is a hard, expert-only task. BoltzGen automates it: you describe what you want in a YAML file, and it generates tens of thousands of candidate designs, then filters them down to a ranked, diversity-optimized set of the most promising ones.
How it works
You write a design specification YAML that describes the target (loaded from a .cif/.pdb file or as a sequence), which regions to design, which parts of the target the design should bind to (or avoid), secondary-structure preferences, and constraints like disulfide bonds or ligand staples. The boltzgen check command validates the spec and produces a viewable structure file so you can confirm the setup before running.
The boltzgen run command then executes a pipeline of steps: design (a diffusion model generates candidate backbones), inverse_folding (SolubleMPNN redesigns sequences for those backbones), folding (Boltz-2 refolds the designed binder together with its target), optional affinity prediction (for small-molecule binders), analysis (computes per-design metrics), and filtering (keeps high-quality, diverse designs). The output directory contains ranked design CIF files, metrics CSVs, and a results overview PDF. Runs can be resumed with --reuse, and the filtering step can be rerun independently with different settings in about 15 seconds.
Who it's for
Protein engineers and researchers who want to design binders, peptides, antibodies, nanobodies, or small-molecule-binding proteins without hand-crafting every structure. It requires a GPU, Python 3.11+, and downloads model weights automatically (~6 GB for Boltz, plus ~33 GB for ESMFold2 scoring).
Highlights
- Six protocols: protein-anything, peptide-anything, protein-small_molecule, antibody-anything, nanobody-anything, and protein-redesign
- Symmetric complex design (e.g., homo-dimers) with tied sequence sampling via
symmetric_group - Flexible YAML spec: binding-site annotations, structure groups, secondary-structure constraints, and bond constraints (disulfides, ligand staples)
- Interrupted runs can be restarted with
--reusewithout losing progress - Filtering can be rerun standalone (or via a Jupyter notebook) to tune quality/diversity trade-offs
- Docker image provided, with optional pre-baked model weights
- A
checkcommand to validate and visually inspect design specifications before running the full pipeline
Related
- Project
- Project
- Project
- Project
- Project