VortexDock
VortexDock is a Python-based distributed molecular docking system, supports parallel computation across multiple nodes, utilizing idle resources to improve virtual screening efficiency.
Install / Use
/learn @Capt-Lappland/VortexDockREADME
VortexDock: Distributed Molecular Docking System
VortexDock is a Python-based distributed molecular docking system consisting of a distribution server, a monitoring server, and compute nodes. It supports parallel computation across multiple nodes, utilizing idle resources to improve virtual screening efficiency. Currently, it supports AutoDock Vina, with plans to add more docking software.
Architecture
Distribution Server
Manages the task database, distributes receptor, ligand, and docking parameters, and collects docking results (ligand_out.pdbqt) from compute nodes.
Monitoring Server
Monitors the task database and visualizes task execution status.
Compute Node
Fetches tasks from the distribution server, performs docking, and submits results back to the server.
Installation
- Clone the repository.
- Install MySQL (current must, but we'll support SQLite soon)
- Install dependencies:
pip install -r requirements.txt
Distribution Server Setup
- Navigate to the
distribution_serverdirectory. - Edit
config.py:- Database connection
- Server port
- Other parameters
- Initialize the database:
python cli.py
Compute Node Setup
- Navigate to the
compute_nodedirectory. - Edit
config.py:- Server connection
- Task parameters
- System settings
- Ensure the
vinaprogram has execution permissions.
Usage
Start Distribution Server
cd distribution_server
python server.py
Task Management
# List all tasks
python cli.py -ls
# Create a new task
python cli.py -zip <task_file.zip> -name <task_name>
task_name.zip
├── receptor.pdbqt
├── parameter.txt
│ ├── center_x = 233.7
│ ├── center_y = 155.8
│ ├── center_z = 127.7
│ ├── size_x = 35.7
│ ├── size_y = 41.2
│ ├── size_z = 45.2
│ ├── num_modes = 9
│ ├── energy_range = 9
│ └── cpu = 8
└── ligands
├── 001.pdbqt
├── 002.pdbqt
├── 003.pdbqt
└── ...
# Pause/Resume a task
python cli.py -pause <task_id>
# Delete a task
python cli.py -rm <task_id>
Start Monitoring Server
Python-based monitoring server:
cd monitor_server
python app.py # Default: localhost:9000
PHP-based monitoring server:
Set the web root to monitor_server_PHP.
Start Compute Node
cd compute_node
python client.py
Features
- Distributed computation with multi-node support
- Task resumption after interruption
- Node heartbeat detection
- Automatic retry for failed tasks
- Temporary file management
Related Skills
openhue
343.1kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
343.1kElevenLabs text-to-speech with mac-style say UX.
weather
343.1kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
