Dock2MD: a declarative workflow enforcing chemical contracts across molecular docking, interaction triage, molecular dynamics, and dataset export
Structure-based pipelines pass docked ligands across incompatible formats into interaction profiling, ranking, molecular dynamics (MD), and machine-learning (ML) export. PDBQT omits bond orders, charges, and non-polar hydrogens. Conventional, scripted, and large language model (LLM) workflows can silently corrupt stereochemistry, hydrogens, receptors, or configurations and exit 0. Dock2MD (v0.5.0, MIT at https://github.com/MUShakibbb/Dock2MD, https://doi.org/10.5281/zenodo.24650808) is a Python CLI workflow (Colab companion) for docking, PLIP triage, single/batch MD, and ML export. It enforces fail-loud contracts across pre-execution workflow/batch validation, pose-coordinate vs reference-chemistry separation, and pre-MD receptor integrity. Contradictions halt with typed refusals; outputs carry SHA-256 manifests. On 1,210 PDB complexes (0 unhandled tracebacks) and 5,371 stress-tests, Dock2MD refused 3,026/3,026 genuine inversions (0/2,339 stereo false positives, upper bound 0.16%; 36/2,339 non-stereo refusals). With a template adapter, hardened InChI M2' (3,008/3,026; vs 194 stereo false positives for 49-line M2) and PoseBusters (3,000/3,026) matched 0/2,339 specificity. Dock2MD adds native PDBQT ingestion, explicit-H rebuilding and face auditing (98/100 wrong-face flips vs 0/96 for default M2/PoseBusters; H-aware PoseBusters flagged 26/100 controls), config (14/14) and MD-prep (190/190; 2/10 in-sample) refusals, PLIP triage (6/6 invariants), and 4-mode MD batches. MD parameterisation (n = 120) showed no detected post hoc charge-excluded difference vs Open Babel (3:2 discordant, + 0.8%, 95% CI -2.8% to + 4.5%, p = 1.0), with pH 7.4 charged-stratum trade-offs (3/20 vs 15/20). In a 36-block, 6-trap demonstration, explicit-rule prompts eliminated violations via retained scripts (9/12) with more output tokens than Arm B; Dock2MD passed uniformly under generic prompts. No docking, MD, or enrichment superiority is claimed.
Authors
- Md Misbah Uddin Shakib (ORCID: https://orcid.org/0009-0007-6921-2211)
Institutions
- Mawlana Bhashani Science and Technology University (BD)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11917977/v1
- Primary Topic
- Computational Drug Discovery Methods
- Type
- preprint