pandadock - Main Docking Command
The pandadock command is the primary interface for molecular docking in PandaDock.
Synopsis
pandadock COMMAND [OPTIONS]
Commands
dock- Traditional molecular docking with Vina-style scoringhybrid- Hybrid docking: pose generation + GNN rescoring (recommended)list-algorithms- Show available algorithms and scoring functionsgnn- GNN subcommands (train, predict, benchmark, compare)
pandadock dock
Performs molecular docking using hierarchical search with Vina-style scoring.
Required Options:
-r, --receptor PATHReceptor PDB file (protein structure)
-l, --ligand PATHLigand file (SDF, MOL2, or PDB format)
--center X Y Zor--grid-config PATHGrid box specification. Either provide center coordinates (in Angstroms) or a JSON configuration file.
--box X Y ZGrid box dimensions (in Angstroms). Required if
--centeris used.
Scoring Options:
-s, --scoring FUNCTIONScoring function to use. Default:
vinaAvailable:
vina- Vina-style empirical scoring (recommended)physics_based- Physics-based Lennard-Jones + electrostatics
--rescoring METHODRescoring method for top poses. Default:
noneOptions:
none,mmgbsa
Output Options:
-o, --output-dir PATHOutput directory for results. Default:
docking_output-n, --num-poses NNumber of poses to generate. Default: 20
--visualize / --no-visualizeGenerate visualization plots. Default: enabled
Performance Options:
--fastEnable fast mode with reduced sampling for quick testing
--ensemble / --no-ensembleUse Boltzmann ensemble averaging. Default: enabled
Example:
pandadock dock -r protein.pdb -l ligand.sdf \
--center 10 20 30 --box 20 20 20 \
-o results/
pandadock hybrid
Recommended workflow for best accuracy. Combines traditional pose generation with SE(3)-equivariant GNN rescoring.
Required Options:
-r, --receptor PATHReceptor PDB file
-l, --ligand PATHLigand file (SDF, MOL2, or PDB format)
--center X Y Zor--grid-config PATHGrid box specification
--box X Y ZGrid box dimensions
-m, --model PATHPath to trained GNN model checkpoint
Optional Options:
-o, --output-dir PATHOutput directory. Default:
hybrid_output-n, --num-poses NNumber of poses to generate for rescoring. Default: 50
--top-k NNumber of top poses to keep after rescoring. Default: 10
--fastUse fast mode with reduced sampling
Example:
pandadock hybrid -r protein.pdb -l ligand.sdf \
--center 10 20 30 --box 20 20 20 \
-m models/best_model.pt \
-o hybrid_results/
Output:
The hybrid command generates:
hybrid_results.csv- Rankings with GNN and Vina scorespose_1_pec50_X.XX.pdb- Top poses with pEC50 in filenamecomplex_1.pdb, etc. - Protein-ligand complexes
pandadock gnn
GNN subcommands for training and prediction. See pandadock gnn - GNN Commands Reference for details.
pandadock gnn train- Train GNN modelpandadock gnn predict- Predict binding affinitypandadock gnn benchmark- Benchmark model performancepandadock gnn compare- Compare against baselines
pandadock list-algorithms
Show available docking algorithms and scoring functions.
pandadock list-algorithms
Output Files
dock command:
complex1.pdb, complex2.pdb, ...- Protein-ligand complexes (top 10)pose1.pdb, pose2.pdb, ...- Ligand poses only (top 10)docking_results.json- Complete results with energiesinteraction_analysis.json- Detailed interaction analysisbinding_affinities.png- Affinity distribution plot
hybrid command:
hybrid_results.csv- Rankings with GNN and Vina scorespose_N_pec50_X.XX.pdb- Top pose structurescomplex_N.pdb- Protein-ligand complexes
Global Options
-v, --verboseEnable verbose logging
--versionShow version information
-h, --helpShow help message
Examples
Basic Docking:
pandadock dock -r protein.pdb -l ligand.sdf \
--center 10 20 30 --box 20 20 20
Hybrid Docking (Recommended):
pandadock hybrid -r protein.pdb -l ligand.sdf \
--center 10 20 30 --box 20 20 20 \
-m models/best_model.pt
Fast Screening:
pandadock dock -r protein.pdb -l ligand.sdf \
--center 10 20 30 --box 20 20 20 \
--fast --num-poses 10
With MM-GBSA Rescoring:
pandadock dock -r protein.pdb -l ligand.sdf \
--center 10 20 30 --box 20 20 20 \
--rescoring mmgbsa
See Also
pandadock gnn - GNN Commands Reference - GNN commands reference
pandadock-flex - Flexible Docking Command - Flexible docking command
pandadock-metal - Metal Docking Command - Metal docking command
pandadock-tethered - Tethered Docking Command - Tethered docking command
PandaDock-GNN Overview - GNN architecture documentation