DOCKSTRING: Easy Molecular Docking Yields Better Benchmarks for Ligand Design

Miguel García-Ortegón, Gregor N. C. Simm, Austin J. Tripp, José Miguel Hernández-Lobato, Andreas Bender, Sergio Bacallado

TL;DR

The DOCKSTRING bundle provides a standardized, easy-to-use pipeline for molecular docking, a massive dataset of 15 million scores and poses, and a suite of benchmarks. It shifts the focus of machine learning for drug discovery away from "toy" properties like solubility and toward the complex, target-specific interactions that actually drive drug efficacy.

What Problem Does This Paper Address?

In the world of machine learning (ML) for drug discovery, we have a benchmark problem. Most models are evaluated on simple physicochemical properties like logP (how well a molecule dissolves in oil vs. water) or QED (a general measure of "druglikeness"). While easy to compute, these are "target-independent"—they don't tell you if a molecule actually binds to a specific protein to treat a disease.

Molecular docking is the industry standard for estimating this binding, but it’s notoriously difficult to set up. It requires significant domain expertise to prepare protein targets, handle ligand protonation, and manage the high computational cost. Because of this "barrier to entry," the ML community has largely stuck to simpler, less meaningful metrics, leading to models that perform well on paper but fail in the lab.

Methods

The authors introduce dockstring, a three-part solution designed to bridge the gap between ML and medicinal chemistry:

  1. The Python Package: A user-friendly wrapper for AutoDock Vina. It automates the "dirty work" of docking—target preparation, ligand protonation (via Open Babel), and 3D conformation generation (via RDKit). Crucially, it fixes random seeds to ensure the pipeline is entirely deterministic and reproducible.
  2. The Dataset: A "full matrix" dataset where ~260,000 diverse molecules are docked against 58 medically relevant targets (kinases, enzymes, GPCRs, etc.). This resulted in over 15 million docking scores and 3D poses, requiring over 500,000 CPU hours to generate.
  3. The Benchmarks: A set of tasks covering three common scenarios: Regression (predicting scores), Virtual Screening (ranking molecules from a library), and De novo Design (generating new molecules from scratch).

Datasets

The primary dataset uses ligands from ExCAPE-DB, selected for their diversity and druglike properties. The 58 protein targets were primarily sourced from the DUD-E (Directory of Useful Decoys Enhanced) database.

Unlike previous datasets that are "sparse" (only some ligands tested against some targets), DOCKSTRING provides a complete matrix, making it a goldmine for multi-objective optimization and transfer learning research.

Key Insights and Ideas

  • Docking is a "Hard" Benchmark: Predicting docking scores is significantly more difficult for ML models than predicting logP or QED. While Graph Neural Networks (GNNs) achieve near-perfect scores on simple properties, their performance on docking varies wildly by target, proving that docking captures complex 3D structural features that simple metrics miss.
  • The "Greasy Molecule" Trap: The authors found that if you ask an ML model to optimize only for docking scores, it "cheats" by generating massive, highly hydrophobic (lipophilic) molecules. These molecules bind non-specifically to everything but make terrible drugs. To fix this, the authors added a QED-based penalty to their de novo design tasks to force the models to find "elegant" binders.
  • Standardization is Everything: Small changes in how a ligand is prepared (like its protonation state) can drastically change a docking score. By providing a standardized, "four lines of code" pipeline, DOCKSTRING ensures that different researchers are actually comparing their models on a level playing field.

Key Results

  • Top Performer: The Attentive FP (a Graph Attention Network) consistently outperformed classical methods (like Random Forests or XGBoost) and other GNNs across almost all targets.
  • Target Difficulty: Some targets are much harder to predict than others. For example, the model achieved an $R^2$ of 0.91 on the enzyme PARP1 but only 0.68 on the nuclear receptor PGR.
  • Virtual Screening: In the virtual screening benchmark (ranking 1 billion molecules from the ZINC20 database), the Attentive FP model achieved an Enrichment Factor (EF) of up to 766.5, meaning it was incredibly effective at finding the top 0.1% of binders compared to random searching.

Limitations and Future Work

The authors are transparent about the fact that docking is still just a simulation. It uses a static binding site, meaning it doesn't account for how a protein might change shape when a drug enters. Furthermore, docking scores are a proxy for—not a direct measurement of—actual biological activity.

Future work involves expanding the target list, incorporating more sophisticated pharmacokinetic constraints (like synthetic accessibility), and exploring how DOCKSTRING can be used for few-shot learning, where a model learns to dock against a new protein using only a handful of examples.

Summary updated

BibTeX
@article{garciaortegon2022dockstring,
  author = {Miguel García-Ortegón and Gregor N. C. Simm and Austin J. Tripp and José Miguel Hernández-Lobato and Andreas Bender and Sergio Bacallado},
  title = {{DOCKSTRING: Easy Molecular Docking Yields Better Benchmarks for Ligand Design}},
  journal = {Journal of Chemical Information and Modeling},
  year = {2022},
  doi = {10.1021/acs.jcim.1c01334},
}

Loading related content...

Figure