██████╗ ██╗ ██╗███████╗████████╗ █████╗ ██████╗ ██████╗ ██╔══██╗╚██╗ ██╔╝██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝ ██████╔╝ ╚████╔╝ ███████╗ ██║ ███████║██████╔╝██║ ██╔═══╝ ╚██╔╝ ╚════██║ ██║ ██╔══██║██╔══██╗██║ ██║ ██║ ███████║ ██║ ██║ ██║██║ ██║╚██████╗ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝
GPU-accelerated rigid body and flexible chain Brownian dynamics simulations for bimolecular association rate constants
PySTARC computes the bimolecular association rate constants by implementing rigid-body Brownian dynamics within the Northrup-Allison-McCammon formalism. Trajectories run in parallel on the GPU with a NumPy CPU fallback.
GPU (Linux / HPC):
git clone https://github.com/anandojha/PySTARC.git
cd PySTARC
bash install_PySTARC.shMac / CPU:
git clone https://github.com/anandojha/PySTARC.git
cd PySTARC
conda create -n PySTARC python=3.11 -y
conda activate PySTARC
conda install -c conda-forge ambertools apbs rdkit openbabel -y
conda install -c openeye openeye-toolkits -y
pip install matplotlib pdb2pqr
pip install pystarc --force-reinstallpython -m pytest tests/
python -m pytest tests/ -vconda activate PySTARC
module load cuda # HPC only
cd examples/two_charged_spheres
bash run.shSee examples/ for the tutorials. Each complex has its own README listing the inputs, run commands, and outputs. Start with two_charged_spheres to validate the installation against the analytical rate. The barnase_barstar tutorial demonstrates the flexible chain workflow.
examples/
├── two_charged_spheres/ Analytical validation for the exact Smoluchowski solution
├── trypsin_benzamidine/ Protein-ligand complex
├── beta_cyclodextrin_guests/ Host-guest complexes
├── thrombin_thrombomodulin/ Protein-protein complex
├── p38_mapk_sb203580/ Protein-ligand complex
├── carbonic_anhydrase_inhibitors/ Protein-ligand complexes
├── hsp90_inhibitors/ Protein-ligand complexes
├── ttk_inhibitors/ Protein-ligand complexes
└── barnase_barstar/ Protein-protein complex with a flexible chain on CPUs
Python 3.11+
AmberTools
APBS
OpenBabel
RDKit
OpenEye Toolkits
NumPy
SciPy
Click
Numba
Matplotlib
pdb2pqr
CuPy
OpenEye Toolkits require a license (OE_LICENSE). Only setup.py in the p38, HSP90, and TTK examples uses them.
MIT
When using PySTARC, please cite
Anupam Anand Ojha, Gary Huber, Shiksha Dutta, Sonya M. Hanson. PySTARC: GPU-accelerated Brownian dynamics for bimolecular association rate constants (2026). https://doi.org/10.64898/2026.09.28.754770
