
This toolkit 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.
- PyRosetta: Custom (PyRosetta Software License)
Background
BindCraft (Pacesa et al., 2025) addresses the problem of generating protein binders against a target without the need for high-throughput experimental screening or curated structural templates. The published pipeline reports experimental success rates of 10 to 100 percent across diverse and challenging targets including cell-surface receptors, common allergens, de novo designed proteins, and multi-domain nucleases such as CRISPR-Cas9, and produces binders with nanomolar affinity. The authors demonstrate functional and therapeutic applications including reduction of IgE binding to birch allergen in patient-derived samples, modulation of Cas9 gene editing activity, and reduction of cytotoxicity from a foodborne bacterial enterotoxin. The pipeline chains four stages per design trajectory. First, an AlphaFold2 hallucination step initialises a binder of randomly sampled length adjacent to the frozen target and optimises the binder logits by gradient descent against a weighted sum of structural losses that includes per-residue pLDDT, intra-binder and inter-chain PAE, intra-binder and interface contact counts, interface pTM, a helicity bias, and a radius-of-gyration term. Second, the hallucinated backbone is handed to ProteinMPNN (Dauparas et al., 2022) which samples a set of foldable sequences while optionally holding interface residues fixed. Third, each ProteinMPNN-refined complex is re-predicted from scratch with AlphaFold2 multimer (Jumper et al., 2021) as an independent validation of the design. Fourth, the validated complex is relaxed with PyRosetta and scored against an extensive set of interface metrics including binding-energy difference, shape complementarity, buried surface area, hydrogen bond counts, packing statistic, secondary-structure composition, and hotspot RMSD. A trajectory is accepted only when every metric clears the corresponding upstream filter threshold.Learning Resources
- martinpacesa/BindCraft (Correia Lab, EPFL). Official BindCraft repository, command-line interface, and reference filter configurations.
- BindCraft tutorial notebook (Correia Lab). Walkthrough of the design pipeline with pre-set example targets and parameter explanations.
Tools
BindCraft Binder Design (bindcraft-design)
Designs one or more de novo protein binders against a user-supplied target. The tool takes a target structure together with the target chain identifiers, an optional hotspot residue list, and a binder length range, and runs the BindCraft pipeline until either the requested number of accepted designs has been produced or the configured trajectory limit has been reached. The output carries each accepted binder as an amino-acid sequence, a relaxed target-binder complex Structure with per-residue pLDDT in the B-factor column, and the per-design BindCraft metrics used by the filter check.API Reference
Input: BindCraftInput
Input: BindCraftInput
Structure object, or a dict in the shape produced by Structure.model_dump(mode='json').chains."1-10,56,78"). None or empty = unrestricted.(min, max) binder length range. Maps to BindCraft’s lengths.max_trajectories attempts (whichever comes first).Config: BindCraftConfig
Config: BindCraftConfig
depends_on). UpstreamAvailable options: 2stage, 3stage, 4stage, greedy, mcmc"C".omit_AAs.use_i_ptm_loss=True).use_rg_loss=True).use_termini_distance_loss=True).weights_helicity per trajectory.mpnn_* / num_seqs / max_mpnn_sequences / sampling_temp / backbone_noise / model_path knobs are inert.v_48_002, v_48_010, v_48_020, v_48_030original, solubleFalse (upstream default) = unlimited; positive int = cap."Average_pLDDT"); values are upstream filter dicts (e.g. {"threshold": 0.85, "higher": True}).True is coerced to 1 and False to 0.None (default) waits indefinitely.BaseToolOutput.approx_equal), and the seed participates in cache keys. When None, cacheable seed-sensitive tools skip cache until seeded.Output: BindCraftOutput
Output: BindCraftOutput
BindCraftInput.number_of_final_designs).max_trajectories).len(designs)).| Metric | Type | Range | Availability |
|---|---|---|---|
avg_plddt | float | 0.0 to 1.0 | |
avg_ptm | float | 0.0 to 1.0 | |
avg_iptm | float | 0.0 to 1.0 | |
avg_pae | float | ≥ 0.0 | |
avg_ipae | float | ≥ 0.0 | |
avg_iplddt | float | 0.0 to 1.0 | |
avg_ss_plddt | float | 0.0 to 1.0 | |
avg_binder_plddt | float | 0.0 to 1.0 | |
avg_binder_ptm | float | 0.0 to 1.0 | |
avg_binder_pae | float | ≥ 0.0 | |
binder_energy_score | float | unbounded | |
dG | float | unbounded | |
dSASA | float | ≥ 0.0 | |
dG_per_dSASA | float | unbounded | |
interface_sasa_pct | float | 0.0 to 100.0 | |
interface_hydrophobicity | float | 0.0 to 100.0 | |
surface_hydrophobicity | float | 0.0 to 1.0 | |
shape_complementarity | float | 0.0 to 1.0 | |
packstat | float | 0.0 to 1.0 | |
n_interface_hbonds | float | ≥ 0.0 | |
interface_hbonds_pct | float | 0.0 to 100.0 | |
n_interface_unsat_hbonds | float | ≥ 0.0 | |
interface_unsat_hbonds_pct | float | 0.0 to 100.0 | |
n_interface_residues | float | ≥ 0.0 | |
binder_helix_pct | float | 0.0 to 100.0 | |
binder_betasheet_pct | float | 0.0 to 100.0 | |
binder_loop_pct | float | 0.0 to 100.0 | |
interface_helix_pct | float | 0.0 to 100.0 | |
interface_betasheet_pct | float | 0.0 to 100.0 | |
interface_loop_pct | float | 0.0 to 100.0 | |
hotspot_rmsd | float | ≥ 0.0 | |
target_rmsd | float | ≥ 0.0 | |
binder_rmsd | float | ≥ 0.0 | |
unrelaxed_clashes | float | ≥ 0.0 | |
relaxed_clashes | float | ≥ 0.0 |
Applications
This tool is appropriate for de novo binder generation against a structurally characterised target where no curated antibody scaffold or pre-existing binder is available. Representative applications include designing miniprotein binders against cell-surface receptors, generating binders that occlude a specific epitope or active site through hotspot targeting, producing structurally diverse binder candidates for downstream therapeutic engineering, and benchmarking AlphaFold2-hallucination as a binder discovery method against alternative approaches.Usage Tips
- Provide a hotspot residue list when targeting a defined epitope. Set
target_hotspot_residuesto a comma-separated list of residue positions on the target structure, with ranges supported (for example"1-10,56,78"). Residue numbering is 1-indexed to match standard biological residue numbering conventions. Without hotspots the binder may land anywhere on the target surface. With hotspots, BindCraft biases the hallucination loss to bring the binder into contact with the specified residues. Choose functional residues such as active sites, paratope contacts, or catalytic loops rather than arbitrary surface positions. binder_lengthsdefaults to(65, 150)residues, matching the upstream default. Binders below approximately 50 residues are effectively peptides and the AlphaFold2 multimer signal weakens. Binders above approximately 200 residues introduce significant GPU memory and per-trajectory runtime costs. Choose a tighter range to focus a campaign on a specific binder size class.weights_helicitycontrols the helix bias during hallucination. The default of-0.3is a mild anti-helix bias chosen by the upstream authors because AlphaFold2 tends to over-produce alpha-helical bundles. Set a positive value to encourage helices for helix-friendly targets, or setrandom_helicity=Trueto randomise the sign per trajectory and increase secondary-structure diversity across the campaign.optimise_beta=True(the default) adds extra hallucination iterations and AlphaFold2 recycles when a trajectory looks beta-heavy. Keep this enabled for any target that may favour beta-strand interfaces, such as immunoglobulin folds. The behaviour is gated on detected sheet content during the trajectory.filter_overrideslets you relax or tighten individual filter thresholds. Pass a dict keyed by upstream metric name (such as"Average_i_pTM") and valued as a filter dict ({"threshold": 0.45, "higher": True}). Only the listed metrics are overridden; every other filter keeps its upstream default. Lower the interface pTM or shape complementarity threshold first if zero designs are accepted on a hard target.- Production runs use
number_of_final_designs=100andmax_trajectories=False. This is the upstream default and produces enough accepted designs for downstream triage and experimental ordering. For a smoke test, set both to1together with reduced iteration counts (for examplesoft_iterations=10,temporary_iterations=5,hard_iterations=2,greedy_iterations=2) to verify the install and produce a single sample. enable_rejection_check=True(the default) aborts a run early if the rolling acceptance rate falls belowacceptance_rate=0.01afterstart_monitoring=600trajectories. Disable this gate when working on stubborn targets where you are willing to grind through many failed trajectories before the first acceptance.- The output is iterable. Iterating directly over the returned
BindCraftOutputyields each acceptedBindCraftDesignin turn, andlen(result)returns the number of accepted designs. - Complementary tools cover adjacent design tasks. Reach for
proteinmpnn-samplewhen an existing target-bound binder backbone only needs sequence redesign,alphafold2-gradient(with the Germinal backend) or a dedicated antibody-design pipeline for CDR-only redesign on a fixed antibody framework,rfdiffusion3-designwhen only a backbone is required without an accompanying sequence, and chemistry-aware ligand generation, docking, and scoring tools when the target is a small-molecule ligand rather than a protein binder.
Toolkit Notes
These apply to every BindCraft tool in this toolkit (bindcraft-design).
- The pipeline runs on a single GPU per trajectory and benefits from 32 to 80 GB of GPU memory. AlphaFold2 multimer dominates the memory footprint and scales with the combined target plus binder length. For targets larger than approximately 2000 residues, trim the target to its binder-accessible domain before running. To parallelise across multiple GPUs, run multiple instances of
bindcraft-designconcurrently through aToolPool. - The first run downloads approximately 5.5 GB of AlphaFold2 weights together with the ColabDesign, ProteinMPNN, and BindCraft repositories. Subsequent runs reuse the cached weights, which are shared with the proto-tools
alphafold2toolkit.