Documentation
Complete guide to installing, configuring, and using LADOCK Desktop for molecular docking workflows.
π Requirements
LADOCK Desktop requires the following software on your system before installation:
| Dependency | Minimum Version | Notes |
|---|---|---|
Python | 3.10 | 3.11 or 3.12 recommended |
PySide6 | 6.5 | Qt6 Python bindings (GUI) |
NumPy | 1.24 | Array computations |
SciPy | 1.10 | Scientific utilities |
pandas | 2.0 | Result data handling |
RDKit | any | Optional β SMILES rendering & ligand prep |
β¬οΈ Installation
Windows
Open PowerShell or Command Prompt and run:
# Clone the repository
git clone https://github.com/your-org/ladock-desktop.git
cd ladock-desktop
# Install core dependencies
python -m pip install -e .
# Optional: install with RDKit support
python -m pip install -e ".[rdkit]"
Linux / macOS
git clone https://github.com/your-org/ladock-desktop.git
cd ladock-desktop
pip install -e .
Using Conda (recommended)
# Create a dedicated environment
conda create -n ladock python=3.11
conda activate ladock
# Install RDKit via conda (easier than pip)
conda install -c conda-forge rdkit
# Install LADOCK
pip install -e .
bin/ directory. You do not need to install these separately.π Launching LADOCK
After installation, start LADOCK using the launcher appropriate for your platform:
Windows
# Double-click in File Explorer, or run from terminal:
ladock.bat
Windows with WSL backend
ladock-wsl.bat
Linux / macOS
bash ladock.sh
Cross-platform (Python)
python main.py
π Usage Overview
LADOCK organizes your work into Projects. A project contains your receptor, ligand library, docking configuration, and all results in one structured directory. The main window is divided into panels:
- Docking Prep β load receptor and ligands, set search box
- Job Manager β configure and launch batch docking
- Result Explorer β browse scores, poses, and interaction maps
- 3D Viewer β interactive molecular visualization
- Ligand Library β manage and filter your compound set
π§ͺ Preparing Input
Loading a receptor
Go to Docking Prep β Receptor and click Load Receptor. Accepted formats:
.pdbβ LADOCK converts to PDBQT automatically via ADFRsuite.pdbqtβ loaded directly
After loading, LADOCK will attempt to add polar hydrogens and assign Gasteiger charges. Review the log output in the panel for any warnings.
Loading ligands
Go to Ligand Library β Import. Supported formats:
.sdfβ multi-molecule SD file.csvβ with a SMILES column (column header:smilesorSMILES).pdbqtβ pre-prepared ligands (no conversion needed)
βοΈ Configuring Docking
Setting the search box
In the Docking Prep panel, set the docking box center and dimensions:
- Enter X/Y/Z center coordinates manually, or
- Click a residue in the 3D viewer to center the box on that position
- Adjust box size (in Γ ) to cover the binding pocket
Choosing a docking engine
Select the engine from the dropdown in the Job Manager panel:
- AutoDock Vina β best default choice; fast and accurate
- AutoDock 4 β classical method; good for benchmarking
- VinaGPU β GPU-accelerated; requires external binary (see GPU Engines)
- AutoDock-GPU β massive throughput on NVIDIA GPUs
Key parameters
| Parameter | Default | Description |
|---|---|---|
exhaustiveness | 8 | Search thoroughness (higher = slower but more accurate) |
num_modes | 9 | Number of binding poses to output per ligand |
energy_range | 3 | Max energy difference from best pose (kcal/mol) |
cpu | auto | Number of CPU threads to use |
βΆοΈ Running a Docking Job
- Ensure your receptor and at least one ligand are loaded.
- Verify the search box covers your target binding site.
- Select the docking engine and set parameters in Job Manager.
- Click Run Docking (or Run Batch for multiple ligands).
- Monitor progress in the job queue β each ligand shows its status (queued / running / done / failed).
- When all jobs complete, results are automatically loaded into the Result Explorer.
π Viewing Results
The Result Explorer shows a sortable table of all completed docking runs with columns:
Ligandβ ligand name or identifierBest Scoreβ lowest binding energy (kcal/mol)Posesβ number of poses returnedEngineβ which docking engine was used
Click any row to:
- Load the docked pose in the 3D Viewer
- View the interaction analysis panel (H-bonds, hydrophobic contacts, etc.)
- Cycle through all poses using the pose navigator
Exporting results
Use File β Export Results to save the current result table as .csv or .xlsx. Individual poses can be exported as .pdbqt or .pdb.
π Project Structure
The LADOCK source code is organized as follows:
LADOCK/
βββ app/ # Main window, dialogs, project manager
βββ core/ # Job scheduler, WSL backend, tool paths
βββ data/ # Data models β project, ligand library, result parser
βββ engine/ # Docking engine abstraction, molecule prep
βββ gui/ # Theme, stylesheet, UI panels
β βββ panels/ # Docking prep, job manager, result explorerβ¦
βββ bin/ # Bundled binaries (ADFRsuite, Vina, MGLToolsβ¦)
βββ main.py # Entry point
βββ ladock.bat # Windows launcher
βββ ladock.sh # Linux/macOS launcher
βββ ladock-wsl.bat # WSL launcher
π§ Bundled Tools
The bin/ directory ships with these tools β no separate installation needed:
| Tool | Version | Purpose |
|---|---|---|
| AutoDock Vina | 1.2.7 | Primary CPU docking engine |
| AutoDock 4 | β | Classical Lamarckian GA engine |
| ADFRsuite / AGFR | 1.0 | Receptor & ligand preparation |
| MGLTools | 1.5.6 | Molecular graphics and file conversion |
| OpenBabel | β | Chemical format conversion |
π§ WSL Setup
To run Linux-native docking binaries (VinaGPU, AutoDock-GPU) from Windows, you need WSL 2:
- Enable WSL 2 in Windows: open PowerShell as Administrator and run
wsl --install - Install a Linux distribution (e.g., Ubuntu 22.04) from the Microsoft Store
- Install the GPU docking binaries inside your WSL distribution
- Launch LADOCK using
ladock-wsl.batβ it will auto-detect your WSL distribution - In LADOCK, go to Settings β Tool Paths and point VinaGPU / AutoDock-GPU to the Linux binary paths
β‘ GPU Engines
VinaGPU and AutoDock-GPU are not bundled β they must be installed separately and configured in LADOCK's settings.
VinaGPU
A GPU-accelerated version of AutoDock Vina. Install inside your WSL environment or natively on Linux, then add the binary path in Settings β Tool Paths β VinaGPU.
AutoDock-GPU
Provides massive throughput on NVIDIA GPUs by running thousands of docking evaluations per second. Best suited for large-scale virtual screening. Configure via Settings β Tool Paths β AutoDock-GPU.