Quick Start
Every Dock2MD stage reads standard files produced by the previous stage, so you can adopt a single command (like reconstruct-ligand or interactions) or run the entire five-stage pipeline.
1. Initialize a Project Skeleton
Section titled “1. Initialize a Project Skeleton”dock2md init my_projectcd my_projectThis creates a clean workspace (receptor/, ligands/, output/, and starter workflow.yaml) with optional filters switched off by default so templates never silently modify your inputs.
2. Reconstruct One Ligand With Guaranteed Stereochemistry
Section titled “2. Reconstruct One Ligand With Guaranteed Stereochemistry”Have a docked pose (.pdbqt, .sdf, .pdb) or a complex .pdb and need a chemically complete .sdf for ACPYPE, CGenFF, or OpenFF?
# Directly from a docked PDBQT pose (v0.5.0+ / DD-504)dock2md reconstruct-ligand \ -d docking/donepezil.pdbqt \ -l ligands/donepezil.sdf \ --pose 1 \ -o donepezil_reconstructed.sdf
# Or from an existing protein-ligand complex PDBdock2md reconstruct-ligand \ -c complex.pdb \ -l ligands/donepezil.sdf \ -o donepezil_reconstructed.sdfIf the 3D coordinates contradict the reference ligand’s stereochemistry (e.g., an inverted chiral centre or flipped E/Z bond), Dock2MD refuses loudly with exit code 1 and a typed ChiralInversionError.
→ Try reconstruct-ligand live in 3D
3. Build One Verified Protein–Ligand Complex
Section titled “3. Build One Verified Protein–Ligand Complex”dock2md build \ -r receptor.pdb \ -d docking/donepezil.pdbqt \ -l ligands/donepezil.sdf \ --mode md \ --pose 1 \ -o output_complex/4. Analyse & Rank Existing Docking Results (No Re-Docking)
Section titled “4. Analyse & Rank Existing Docking Results (No Re-Docking)”Already ran AutoDock Vina, Smina, GNINA, AutoDock4, rDock, Glide, or GOLD? Validate your YAML upfront, then run PLIP + ranking:
# 1. Fail-loud preflight check (<1 second)dock2md validate-config --kind interactions workflow_existing_docking.yaml
# 2. Stream PLIP interactions, 3D contact coordinates, and rankingdock2md interactions --config workflow_existing_docking.yaml→ Try workflow_existing_docking.yaml + live PLIP in 3D
5. Run a Full Library Workflow or MD Simulation
Section titled “5. Run a Full Library Workflow or MD Simulation”# End-to-end docking + reconstruction + PLIP + rankingdock2md run --config workflow.yaml
# Run GROMACS MD on the bundled T4 Lysozyme exampledock2md md run examples/protein-ligand-basic/amber/project.yaml
# Or launch MD directly on your own verified complexdock2md md run --complex complex.pdb --ligand ligand.sdf --forcefield gaff2 --time 100