AGENT SKILL

docking-inference

Plan, validate, command-build, and troubleshoot DiffDock command-line docking prediction runs for single complexes or batch CSV inputs.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
docking-inference
license
MIT
metadata
{ "disco-role": "operating" }
description
Plan, validate, command-build, and troubleshoot DiffDock command-line docking prediction runs for single complexes or batch CSV inputs.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

Docking Inference

Use this sub-skill when a user wants to run, adapt, or debug DiffDock command-line docking prediction with python -m inference. It covers single-complex and batch CSV inputs, model/config choices, output layout, confidence-ranked SDF files, optional reverse-process visualization, and safe validation before expensive runs.

Start Here

  1. Check runtime prerequisites in the root install/runtime reference when that file is present, especially the Torch, PyG, RDKit, ProDy, ESM/OpenFold, and CUDA notes.
  2. Pick the input mode in input-output-formats.md: batch CSV or single complex.
  3. Build a dry command with scripts/build_inference_command.py; it prints a command and never runs inference.
  4. Validate CSV or single-complex inputs with scripts/validate_inference_inputs.py; it uses only Python standard-library modules.
  5. Review cli-reference.md, configuration.md, and troubleshooting.md before launching a long model run.

Routes

  • Batch docking: use a CSV with complex_name, protein_path, ligand_description, and protein_sequence; see input-output-formats.md.
  • Single-complex docking: provide either --protein_path or --protein_sequence, plus --ligand_description; see cli-reference.md.
  • Model/checkpoint overrides: use --model_dir, --confidence_model_dir, --ckpt, and --confidence_ckpt; see configuration.md.
  • Output inspection: expect one output directory per complex and confidence-ranked SDF names; see input-output-formats.md.
  • Failure recovery: diagnose imports, CPU/GPU behavior, model downloads, invalid inputs, RDKit parsing, ESMFold sequence paths, and GNINA caveats in troubleshooting.md.

Boundaries

  • For the graphical Gradio wrapper and browser UI, route to web-ui.
  • For benchmark metrics, aggregate RMSD reporting, and evaluation datasets, route to evaluation-benchmarks.
  • For training, dataset preparation, and ESM embedding preparation for evaluation/training, route to training-data.
  • This sub-skill does not run DiffDock, download models, import heavy DiffDock modules, or require the original repository examples to remain available.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351