bindcraft
Guide CUDA-enabled BindCraft protein-binder design from target PDB preparation through AF2/MPNN/PyRosetta execution, filtering, output analysis, and conservative troubleshooting.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- bindcraft
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Guide CUDA-enabled BindCraft protein-binder design from target PDB preparation through AF2/MPNN/PyRosetta execution, filtering, output analysis, and conservative troubleshooting.
- disable-model-invocation
- true
02 资源文件 7
- 参考文档references/configuration.md3.2 KB
- 参考文档references/installation.md3.3 KB
- 参考文档references/repo-provenance.md1.5 KB
- 参考文档references/repo-routing-metadata.json328 B
- 参考文档references/troubleshooting.md4.0 KB
- 脚本scripts/check_bindcraft_env.py2.2 KB
- 脚本scripts/validate_bindcraft_config.py3.9 KB
03 SKILL.md 正文
BindCraft
BindCraft is a GPU-first de-novo protein-binder design pipeline that combines AlphaFold2 backpropagation, ProteinMPNN sequence redesign, AF2 complex/monomer validation, and PyRosetta relaxation and interface scoring. Use this skill to plan and operate a reproducible campaign; do not treat it as a generic CPU protein-design library.
Route the request
- Prepare or repair a target PDB and target JSON: read target-preparation. It covers chain selection, hotspot syntax, binder lengths, and safe validation.
- Install prerequisites, choose presets, build a launch, run or resume a campaign: read design-pipeline. It owns CUDA/JAX, AF2-weight, MPNN, PyRosetta, direct, and SLURM decisions.
- Inspect results, rejection causes, scores, and ranked binders: read results-analysis. It owns output reconciliation and conservative metric interpretation.
Before using any route, read installation for external prerequisites and licensing, configuration for the three JSON families, and troubleshooting for cross-cutting failures. Read repo-provenance when checking whether this graph matches a repository revision.
Minimal operating contract
- Work on Linux with Python 3.10 and an NVIDIA GPU. The main design path requires a CUDA-visible JAX runtime; a CPU import is not a valid substitute.
- Obtain the AlphaFold2 parameter bundle, configure its directory, and ensure DSSP and DAlphaBall are readable/executable. BindCraft's installer downloads large external artifacts; review and run setup commands manually rather than blindly executing a bundled installer.
- Install ColabDesign and PyRosetta in a private, compatible environment. PyRosetta may have commercial-license restrictions; resolve those before a production run.
- Validate the target JSON and PDB, then use the design route's command builder to print a direct or SLURM command. The builder never executes or submits.
- Use a distinct writable
design_pathper campaign. Expect hundreds or thousands of target-dependent trajectories for difficult targets; monitor GPU memory, disk use,failure_csv.csv, and acceptance rate. - Rank and select candidates from recorded artifacts, not from confidence
metrics alone. BindCraft documents
Average_i_pTMas a useful binding binary/ranking signal, not an affinity measurement.
Safe helpers
- From the generated skill root,
python scripts/check_bindcraft_env.pyreports import/backend/asset readiness and never installs, downloads, or launches a design. - From the generated skill root,
python scripts/validate_bindcraft_config.pychecks the target, filter, and advanced JSON contracts without editing them. - The focused routes link additional read-only target and results helpers. All paths in examples are placeholders that must be replaced on the launch host.
Non-goals and stop conditions
This graph does not download AF2 weights, submit SLURM jobs, run a full design campaign, promise a binder, or infer experimental affinity. Stop and repair the specific prerequisite when CUDA/JAX, ColabDesign, PyRosetta, AF2 weights, DSSP, DAlphaBall, PDB chains, settings, output permissions, or disk/VRAM capacity are not verified. A successful JSON/PDB check or generated command is not evidence that the GPU design loop will complete.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).