diffdock
Skill by davila7
Predicts protein-ligand binding poses with diffusion-based molecular docking. Supports PDB files or sequences, SMILES or SDF/MOL2 ligands, and batch virtual screening. It does not predict binding affinity.
Install diffdock
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/diffdock ~/.claude/skills/diffdockRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/diffdock ~/.gemini/antigravity-cli/skills/diffdockAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
DiffDock is a diffusion-based deep learning tool for molecular docking. It predicts 3D binding poses of small molecule ligands to protein targets. Protein input can be a PDB file or an amino acid sequence processed via ESMFold. Ligands can be given as SMILES, SDF or MOL2 files. Each run outputs ranked poses with confidence scores.
The skill covers single complex docking, batch processing of multiple complexes, and virtual screening, with helper scripts for preparing batch CSV files and analyzing results. DiffDock predicts poses and confidence, not binding affinity, so the source recommends combining it with scoring functions such as GNINA or MM/GBSA. It is aimed at structure-based drug design and chemical biology work.
Written from the project's SKILL.md and checked against it.
What it can do
- Single protein-ligand dockingDocks one ligand to one protein from a PDB file or amino acid sequence.
- Batch dockingRuns multiple protein-ligand pairs from a batch CSV file.
- Virtual screeningSupports screening campaigns, with pre-computed ESM embeddings for runs over 100 compounds.
- Confidence scoresWrites ranked SDF poses and a confidence_scores.txt file for each run.
- Result analysisUses analyze_results.py to rank predictions, classify confidence and export CSV.
- Ensemble dockingDocks one ligand against multiple protein conformations to account for flexibility.
- Configuration presetsProvides template presets for high accuracy, fast screening, and flexible or rigid ligands.
- Environment checkUses setup_check.py to validate Python, PyTorch, RDKit, ESM and other dependencies.
What you need
- Python environment with PyTorch and CUDA
- GPU strongly recommended for practical use
- Conda or Docker for installation
- Model checkpoints of about 500MB, downloaded automatically
Try asking
- Dock this SMILES ligand to my protein PDB file and rank the poses.
- Create and validate a batch CSV of protein-ligand pairs for docking.
- Summarize the confidence scores in my DiffDock results folder and export them to CSV.
Good to know
- Predicts binding poses and confidence, not binding affinity. Combine with GNINA or MM/GBSA.
- Not designed for protein-protein docking, covalent docking, or peptides over 20 residues.
- Membrane proteins are not specifically trained and should be used with caution.
- GPU is strongly recommended. CPU runs are much slower.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/diffdock/SKILL.md, cli-tool/components/skills/scientific/diffdock/scripts/analyze_results.py, cli-tool/components/skills/scientific/diffdock/scripts/prepare_batch_csv.py, cli-tool/components/skills/scientific/diffdock/scripts/setup_check.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB -
assets/batch_template.csv410 B -
assets/custom_inference_config.yaml3 KB -
references/confidence_and_limitations.md7 KB -
references/parameters_reference.md5 KB
Show all 9 files
-
references/workflows_examples.md10 KB -
scripts/analyze_results.py11 KB -
scripts/prepare_batch_csv.py9 KB -
scripts/setup_check.py8 KB
Alternatives to diffdock
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
diffdock: common questions
Does DiffDock predict binding affinity?
No. The source says DiffDock predicts 3D binding poses and confidence, and affinity should be assessed with scoring functions such as GNINA or MM/GBSA.
What do the DiffDock confidence scores mean?
Scores above 0 are rated high, -1.5 to 0 moderate, and below -1.5 low. The source notes that confidence refers to structural certainty, not strong binding.
Can DiffDock dock a protein from its sequence?
Yes. The source says protein sequences are supported via ESMFold, used in place of a PDB file.
How do I install diffdock?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is diffdock free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is diffdock safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to diffdock?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
