alphafold2
Predict protein structure for monomers and multimers with AlphaFold2 via the ColabFold runner (Mirdita et al. 2022,…
Predict small-molecule binding poses with DiffDock-L (Corso et al. 2023/2024, github.com/gcorso/DiffDock) — blind diffusion docking that places a ligand into a protein pocket without a predefined search box and ranks the samples with a learned confidence model. Reach for this
Claude Code
$ npx -y skills add aipoch/open-science --skill diffdock --agent claude-code
Codex
$ npx skills add aipoch/open-science --skill diffdock -a codex -y
Cursor
$ npx skills add aipoch/open-science --skill diffdock -a cursor -y
Gemini CLI
$ npx skills add aipoch/open-science --skill diffdock -a gemini-cli -y
GitHub Copilot
$ npx skills add aipoch/open-science --skill diffdock -a github-copilot -y
OpenCode
$ npx skills add aipoch/open-science --skill diffdock -a opencode -y
Windsurf
$ npx skills add aipoch/open-science --skill diffdock -a windsurf -y
name: diffdock
description: >
Predict small-molecule binding poses with DiffDock-L (Corso et al. 2023/2024,
github.com/gcorso/DiffDock) — blind diffusion docking that places a ligand
into a protein pocket without a predefined search box and ranks the samples
with a learned confidence model. Reach for this skill to dock a
SMILES or SDF against a PDB, to generate ranked 3D poses for a small
fragment library, or to get a starting pose for downstream rescoring.
DiffDock predicts geometry, not affinity.
license: Apache-2.0
category: biomodels
requirements: [gpu]
metadata:
display-name: DiffDock
# github.com/gcorso/DiffDock/blob/main/LICENSE: MIT (© 2022 Corso, Stärk,
# Jing). verified 2026-06-30
third_party:
- kind: weights
name: DiffDock-L
license: MIT
terms_url: https://github.com/gcorso/DiffDock/blob/main/LICENSEDiffDock-L is a blind pose predictor: given a protein structure and a ligand, it samples ligand placements over the whole surface with a diffusion model and ranks them with a separately trained confidence head. The confidence score correlates with pose correctness, not with binding free energy — DiffDock does not predict whether or how tightly the ligand binds, so for hit triage you still pair it with a scorer (GNINA, MM-GBSA) or with `boltz`'s affinity head. For protein–protein and nucleic-acid co-folding, route to `boltz` or `chai1`. Code and weights are MIT (github.com/gcorso/DiffDock).
cd $DIFFDOCK_REPO # a clone of github.com/gcorso/DiffDock python3 -m inference \ --config default_inference_args.yaml \ --protein_path target.pdb \ --ligand_description "COc1ccc(C#N)cc1" \ --out_dir out
For more than one complex, give `--protein_ligand_csv batch.csv` instead of the two single-complex flags; the CSV has four columns — `complex_name`, `protein_path`, `ligand_description` (SMILES or an `.sdf`/`.mol2` path), and `protein_sequence`. Leave `protein_path` empty and fill `protein_sequence` to have DiffDock fold the receptor with ESMFold first; that path and a larger-library screening recipe are in `references/workflows.md`.
Under `--out_dir/<complex_name>/` each sample is written as `rank{N}_confidence{score}.sdf`, plus a copy of `rank1.sdf` for convenience. The confidence value in the filename is a logit, so it is unbounded and can be negative; among samples for the _same_ complex higher is better, but values are not comparable across different complexes or ligands.
`inference.py` loads `--config default_inference_args.yaml` _after_ argparse and replaces every key it finds, so passing `--samples_per_complex 40` or `--model_dir ...` on the command line is silently ignored if the same key sits in the YAML. To change sampling depth or any other key the YAML defines, copy the YAML, edit the copy, and point `--config` at it.
Before the first complex, DiffDock precomputes SO(3) and torus lookup tables. That step is silent on stderr, takes ~11 minutes, and on the default Modal tier runs out of host memory and SIGKILLs mid-precompute. Set `provider_params.modal.memory: 65536` (or your provider's equivalent), and do not assume a hang means a crash.
The upstream README shows `--ligand`, which only works because argparse prefix-matches it to the real flag `--ligand_description`. That shortcut is CLI-only: as a CSV column header or YAML key, `ligand` matches nothing and the row is silently treated as having no ligand. Spell the flag and the column header out in full.
| You see | It means / do this | | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | `ValueError: not allowed to raise maximum limit` at startup | `setrlimit(NOFILE, 64000)` exceeds the sandbox hard limit — `sed` the constant in `inference.py` to `min(64000, rlimit[1])`. | | Silent SIGKILL a few minutes into the SO(3) precompute | Host RAM exhausted — see the gotcha above. | | `python3: not found` | You are on the upstream `rbgcsail/diffdock` image — that one runs from `/home/appuser/DiffDock` under `micromamba`. |
---
**Next:** rescore the `rank1.sdf` poses before ranking ligands against each other — `boltz`'s affinity head is the in-tree option — since the DiffDock confidence head alone is not an affinity predictor.
The open-source AI research workbench for scientific research and agent workflows. Local-first, model-agnostic desktop app with extensible skills, MCP tools and connectors, Python/R execution and traceable artifacts for reproducible research on macOS, Windows and Linux.
Predict protein structure for monomers and multimers with AlphaFold2 via the ColabFold runner (Mirdita et al. 2022,…
Structure prediction for protein, nucleic-acid, and small-molecule complexes with Boltz-2 (Passaro & Wohlwend et al. 2025,…
Predict genome-wide functional tracks (RNA-seq, CAGE, DNase, ChIP) from DNA sequence with Borzoi. Use this skill when: (1)…
Structure prediction for protein, nucleic-acid, and small-molecule complexes with the Chai-1 foundation model (Chai Discovery…
Prepare reproducible setup instructions and validate a user-managed named software environment on an Open-Science SSH Compute…
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…