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.
Three Input Modes in One Template
Section titled “Three Input Modes in One Template”workflow_existing_docking.yaml supports three mutually exclusive input modes (enable exactly one):
docking:— Read raw docking files (vina,smina,gnina,autodock4,rdock,glide,gold), reconstruct chemistry fromligand_dir, run pinned PLIP 3.0.0, and rank.complexes:— Run PLIP directly on pre-built protein–ligand complex PDBs (skips reconstruction).interactions_csv:— Reuse a finishedinteractions.csv+interactions.summary.csvto 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: vinapose: 1-3
complex_generation: include_hetatm: false validate: true
# Require a hydrogen bond to PHE295 OR pi-stacking with TRP86complex_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.jsonStep 1: Validate Before Running (<0.7 s)
Section titled “Step 1: Validate Before Running (<0.7 s)”dock2md validate-config --kind interactions workflow_existing_docking.yamlIf 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.
Step 2: Run PLIP 3.0.0 + Ranking
Section titled “Step 2: Run PLIP 3.0.0 + Ranking”dock2md interactions --config workflow_existing_docking.yamlOutputs Written Automatically
Section titled “Outputs Written Automatically”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