Introduction
Simulating large-scale biomolecular complexes, such as the ribosome or CRISPR-Cas9, presents a significant "timescale gap." While all-atom simulations provide high detail, they are computationally prohibitive for the long durations required to observe complex cellular processes. Coarse-grained (CG) models, which group atoms into "beads," offer a solution by simplifying the physics. However, traditional implementations in packages like LAMMPS often struggle with efficiency on modern hardware when dealing with implicit solvent systems.
This paper introduces OpenAWSEM and Open3SPN2, a framework that ports the AWSEM (protein) and 3SPN2 (DNA) models to the GPU-accelerated OpenMM environment. This transition provides a 30- to 300-fold speedup while making the models significantly easier for researchers to customize and extend.
Methods and Implementation
The researchers leveraged OpenMM, a library optimized for high-performance molecular dynamics on GPUs. A key feature of this implementation is the use of OpenMM’s Custom Forces framework. This allows researchers to define complex energy terms using simple mathematical expressions in Python, which the software then automatically compiles into optimized GPU code. This "hackable" approach removes the need for deep expertise in C++ or CUDA to add new physics.
Two sophisticated features were implemented using this approach:
- Z-dependent Membrane Potential: A potential that dynamically switches between "water-like" and "lipid-like" interactions based on a residue's vertical position relative to a cell membrane, trained on 1,561 proteins from the OPM database.
- Multi-body Disulfide Bonding: A novel term that uses a density variable to ensure a cysteine residue only forms one bond at a time (saturation), preventing the unphysical clustering seen in simpler pairwise models.
Key Insights: Force-based Parallelization
A major insight of this work is the superiority of force-based parallelization over spatial parallelization for implicit solvent models. Traditional spatial decomposition (used in LAMMPS) is efficient for bulk liquids but leaves many processors idle when simulating a single protein in a large, mathematically simplified solvent box. By parallelizing the calculation of all interactions across the GPU, OpenAWSEM maintains high efficiency regardless of the system's spatial distribution.
Results and Performance
The OpenMM-based framework demonstrates dramatic performance improvements over CPU-bound LAMMPS implementations across various system sizes.
As shown in the figure above, the time required for protein simulations scales much more favorably in OpenMM. For large proteins, OpenAWSEM achieved a 30-fold speedup. For specific protein-DNA systems like RecA, the speedup reached 300-fold.
Beyond raw speed, the framework improved topological assignments for membrane proteins and correctly modeled disulfide bond formation in Ribonuclease A, replicating classic experimental results that simpler models fail to capture.
Conclusion and Future Directions
OpenAWSEM and Open3SPN2 provide a powerful, accessible tool for the biophysics community. By using Python 3 for the user interface, the authors have lowered the barrier to entry for modifying and extending these sophisticated models.
Future work will focus on refining specific chemical interactions at the protein-DNA interface and scaling the framework to "cellular-scale" simulations involving hundreds of interacting molecules. The ability to simulate massive biomolecular complexes on timescales approaching actual cellular processes represents a significant step forward for computational biology.
Summary updated