- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add aipoch/open-science --skill diffdock -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add aipoch/open-science --skill diffdock -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add aipoch/open-science --skill diffdock -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add aipoch/open-science --skill diffdock -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/aipoch/open-science/tree/HEAD/resources/skills/diffdock來自發布者
DiffDock-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.
--ligand works on the CLI by accident — use --ligand_descriptionThe 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.
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.
>
---name: diffdockdescription: >---# resources/skills/diffdock/SKILL.md常見問題
從發布者下載 resources/skills/diffdock/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/aipoch/open-science。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。