Run the BindCraft design pipeline
Use this route after target-preparation has
produced a target-settings JSON. It covers the long-running GPU campaign, not
PDB preprocessing or downstream binder selection. Use
results-analysis for output interpretation.
Route
Establish a Python 3.10 environment with a CUDA-capable NVIDIA GPU, a
compatible JAX/JAXLIB CUDA build, ColabDesign, PyRosetta, scientific Python
dependencies, a readable AF2 parameter bundle (about 5.3 GB), and usable
DSSP and DAlphaBall executables. PyRosetta licensing is a separate legal
gate; commercial use requires the applicable license. Do not treat a CPU
environment as a substitute for this pipeline.
Confirm that the target JSON has been validated and that design_path is
writable. Select an advanced preset and a filter preset; copy/adapt JSONs
rather than silently editing a shared preset. See
advanced-settings and
filter-settings.
Check the AF2 parameter directory, dssp_path, and dalphaball_path in the
advanced settings. Empty paths are resolved by BindCraft's own defaults;
verify those defaults on the installation being used rather than assuming a
checkout-relative path.
Build a command without executing it:
python skills/disco/bindcraft/sub-skills/design-pipeline/scripts/build_bindcraft_command.py \
--mode direct --settings ./settings_target/my_target.json \
--filters ./settings_filters/default_filters.json \
--advanced ./settings_advanced/default_4stage_multimer.json --dry-run
Use --mode slurm and scheduler resource overrides for a batch launch. The
builder only prints a shell-safe command; it never submits or runs one.
Launch with either the exact direct or SLURM forms in
launching. Keep one campaign per design_path;
do not run concurrent processes against the same CSVs and output folders.
Monitor trajectory acceptance, failure_csv.csv, GPU memory, and disk
growth. The loop stops when the requested accepted count is reached, when
max_trajectories is reached, or when the enabled acceptance-rate monitor
decides that the campaign is underperforming. It is target-dependent and
may require hundreds or thousands of trajectories; a short smoke test is
not evidence of useful binder generation.
To continue a campaign, relaunch with the same target design_path and
compatible settings after checking the existing CSV/PDB state. BindCraft
has no separate --resume flag: existing trajectory names and accepted
files are used to avoid some duplicate work, while the loop can add new
random trajectories. Preserve the settings/filters/advanced files used by
the campaign.
Detailed stage gates and artifacts are in pipeline;
launch flags and scheduler resources are in launching;
failure recovery is in troubleshooting.
Safety boundary
The design loop calls AF2 backpropagation, MPNN sampling, AF2 complex and
monomer prediction, PyRosetta relaxation, and structural scoring. It requires
CUDA and external weights and can run for hours or days. Do not promise CPU
execution, affinity, or a successful target-dependent outcome. Do not bundle an
installer or download helper here; installation and weight acquisition require
user-controlled network, license, storage, and environment decisions.
1---2name: design-pipeline3description: "Install prerequisites, select BindCraft design and filter presets,4 construct a CUDA direct or SLURM launch, and operate or resume the AF2/MPNN5 validation campaign."6disable-model-invocation: true7metadata:8 source: https://skillmd.com/skills/vectorspacelab/design-pipeline9 disco-role: operating10license: MIT11---1213# Run the BindCraft design pipeline1415Use this route after [target-preparation](../target-preparation/SKILL.md) has16produced a target-settings JSON. It covers the long-running GPU campaign, not17PDB preprocessing or downstream binder selection. Use18[results-analysis](../results-analysis/SKILL.md) for output interpretation.1920## Route21221. Establish a Python 3.10 environment with a CUDA-capable NVIDIA GPU, a23 compatible JAX/JAXLIB CUDA build, ColabDesign, PyRosetta, scientific Python24 dependencies, a readable AF2 parameter bundle (about 5.3 GB), and usable25 DSSP and DAlphaBall executables. PyRosetta licensing is a separate legal26 gate; commercial use requires the applicable license. Do not treat a CPU27 environment as a substitute for this pipeline.282. Confirm that the target JSON has been validated and that `design_path` is29 writable. Select an advanced preset and a filter preset; copy/adapt JSONs30 rather than silently editing a shared preset. See31 [advanced-settings](references/advanced-settings.md) and32 [filter-settings](references/filter-settings.md).333. Check the AF2 parameter directory, `dssp_path`, and `dalphaball_path` in the34 advanced settings. Empty paths are resolved by BindCraft's own defaults;35 verify those defaults on the installation being used rather than assuming a36 checkout-relative path.374. Build a command without executing it:3839 ```bash40 python skills/disco/bindcraft/sub-skills/design-pipeline/scripts/build_bindcraft_command.py \41 --mode direct --settings ./settings_target/my_target.json \42 --filters ./settings_filters/default_filters.json \43 --advanced ./settings_advanced/default_4stage_multimer.json --dry-run44 ```4546 Use `--mode slurm` and scheduler resource overrides for a batch launch. The47 builder only prints a shell-safe command; it never submits or runs one.485. Launch with either the exact direct or SLURM forms in49 [launching](references/launching.md). Keep one campaign per `design_path`;50 do not run concurrent processes against the same CSVs and output folders.516. Monitor trajectory acceptance, `failure_csv.csv`, GPU memory, and disk52 growth. The loop stops when the requested accepted count is reached, when53 `max_trajectories` is reached, or when the enabled acceptance-rate monitor54 decides that the campaign is underperforming. It is target-dependent and55 may require hundreds or thousands of trajectories; a short smoke test is56 not evidence of useful binder generation.577. To continue a campaign, relaunch with the same target `design_path` and58 compatible settings after checking the existing CSV/PDB state. BindCraft59 has no separate `--resume` flag: existing trajectory names and accepted60 files are used to avoid some duplicate work, while the loop can add new61 random trajectories. Preserve the settings/filters/advanced files used by62 the campaign.6364Detailed stage gates and artifacts are in [pipeline](references/pipeline.md);65launch flags and scheduler resources are in [launching](references/launching.md);66failure recovery is in [troubleshooting](references/troubleshooting.md).6768## Safety boundary6970The design loop calls AF2 backpropagation, MPNN sampling, AF2 complex and71monomer prediction, PyRosetta relaxation, and structural scoring. It requires72CUDA and external weights and can run for hours or days. Do not promise CPU73execution, affinity, or a successful target-dependent outcome. Do not bundle an74installer or download helper here; installation and weight acquisition require75user-controlled network, license, storage, and environment decisions.