Skip to content

Filter & Rank Existing Docking Results by PLIP Interactions

Already ran a docking campaign and have .pdbqt, .dlg, .sdf, or Glide/GOLD outputs sitting on disk? You do not need to re-dock. Dock2MD’s workflow_existing_docking.yaml turns existing docking files into auditable interaction tables, 3D contact coordinates, and constrained rankings.

workflow_existing_docking.yaml supports three mutually exclusive input modes (enable exactly one):

  1. docking: — Read raw docking files (vina, smina, gnina, autodock4, rdock, glide, gold), reconstruct chemistry from ligand_dir, run pinned PLIP 3.0.0, and rank.
  2. complexes: — Run PLIP directly on pre-built protein–ligand complex PDBs (skips reconstruction).
  3. interactions_csv: — Reuse a finished interactions.csv + interactions.summary.csv to re-test ranking weights and AND/OR active-site filters in <1 second without re-running PLIP.

Example: Constrained Active-Site Triage on Acetylcholinesterase (4EY7)

Section titled “Example: Constrained Active-Site Triage on Acetylcholinesterase (4EY7)”
docking:
enabled: true
receptor: receptor.pdb
path: docking/
ligand_dir: ligands/
engine: vina
pose: 1-3
complex_generation:
include_hetatm: false
validate: true
# Require a hydrogen bond to PHE295 OR pi-stacking with TRP86
complex_requirements:
enabled: true
mandatory:
any_of:
- residue: A:PHE295
interaction: hydrogen_bond
- residue: A:TRP86
interaction: pi_stacking
ranking:
enabled: true
strategy: weighted_rank_sum
primary_metric: docking_score
metrics:
docking_score:
weight: 0.50
hydrogen_bonds:
weight: 0.25
important_residue_coverage:
enabled: true
weight: 0.25
residues:
- A:PHE295
- A:TRP86
- A:TYR341
output:
interactions_csv: output/interactions.csv
final_ranking_csv: output/final_ranking.csv
keep_complexes: output/complexes
run_manifest: output/run_manifest.json
Terminal window
dock2md validate-config --kind interactions workflow_existing_docking.yaml

If you mistype A:PHE295 as A:ALA295, Dock2MD checks receptor.pdb at load time and refuses immediately:

Error: residue 'A:ALA295' does not match the receptor: chain A residue 295 is PHE.

Terminal window
dock2md interactions --config workflow_existing_docking.yaml
  • output/interactions.csv — Every detected contact (hydrogen_bond, hydrophobic, pi_stacking, pi_cation, salt_bridge, halogen_bond, water_bridge, metal_complex), distance, angle, and chemistry basis.
  • output/interactions.coordinates.csv — Exact 3D (ligand_x/y/z, protein_x/y/z, water_x/y/z) endpoints for every contact (directly visualized as dashed 3D cylinders in our web playground!).
  • output/final_ranking.csv — Ranked compounds with eligibility status, representative pose, and normalized weights.
  • output/run_manifest.json, PROVENANCE.md, CITATION.txt — Complete reproducibility record.

→ Edit this YAML, lint it, and run live PLIP 3.0.0 in 3D right now