Surface 1 · Declarative Config Contracts
13 version-controlled YAML templates validated at load time before compute starts (validate-config). Unknown keys, unedited A:*** placeholders, and mistyped receptor residues fail in under 1 second.
No installation required to test Dock2MD’s core fail-loud guarantees. Every playground runs the real dock2md CLI (conda-forge openbabel=3.1.1 + plip=3.0.0 + rdkit) on a stateless container and renders your outputs live with 3Dmol.js.
Structure-based pipelines pass each ligand across format-lossy boundaries. A Vina-family .pdbqt retains 3D coordinates but drops bond orders and formal charges; naive reconstruction guesses chemistry from geometry or silently overwrites stereocentres — and downstream PLIP or GROMACS still exits with code 0.
Dock2MD enforces three fail-loud contract surfaces across a modular five-stage workflow:
Surface 1 · Declarative Config Contracts
13 version-controlled YAML templates validated at load time before compute starts (validate-config). Unknown keys, unedited A:*** placeholders, and mistyped receptor residues fail in under 1 second.
Surface 2 · Authority Separation & Stereo/H Gates
Coordinates come strictly from the pose; bond orders, formal charge, and stereochemistry come strictly from your reference (-l). Realised 3D geometry — including explicit stereogenic hydrogens — is verified before writing.
Surface 3 · Pre-MD Receptor & Provenance Contracts
Missing backbone atoms, unsupported metals, covalent contacts, and severe clashes are stopped loudly with typed DOCK2MD_OUTCOME: markers and creation-time SHA-256 manifests (run_manifest.json, PROVENANCE.md, CITATION.txt).
Five Modular Stages · CLI + Colab
Start or stop at any stage: 1. Acquire & Prepare (chembl, filter) → 2. Dock (5 engines) → 3. Reconstruct (build, reconstruct-ligand) → 4. Analyse & Rank (interactions, rank, export-dataset) → 5. Simulate (md run / Google Colab T4 GPU).
v0.5.0 Archive)| Benchmark | Measured Outcome | Scope |
|---|---|---|
| Deposited wwPDB Cohorts | 0 unhandled tracebacks across 1,210 structures (Pop B 600, Registry 138, 2026 holdout Pop C 472) |
Real crystal deposits |
| Synthetic Stereo Stress-Test | 3,026 / 3,026 inversions refused; 0 / 2,339 stereo false positives | Crystal + docked PDBQTs |
| Explicit Wrong-Face H Audit | Cut from 39.61% (DEKOIS) / 66.1% (Pop B) pre-fix to 0.00% (0/4,183 & 0/447) |
Realised explicit-H geometry |
| Controlled MD-Prep Fault Matrix | 190 / 190 named stops across 10 single-fault classes vs. 5/10 silent on unguarded scripts | 26 Astex Diverse controls |
| Load-Time Config Contracts | 14 / 14 injected YAML/CSV faults refused in 0.46–0.63 s | validate-config preflight |
| Automated Verification | 7,883 passing non-slow tests (0 failed), MIT core, archived on Zenodo |
v0.5.0 + v0.5.1 3-OS CI |
Explore full benchmarks, Zenodo archives, and citation details →