Streaming Molecular Dynamics Simulation Data for On-the-Fly Processing and Analysis.
Amruthesh Thirumalaiswamy, Lawson J Woods, Heekun Cho, Hugo MacDermott-Opeskin, Jennifer Clark, Irfan Alibay, Yuxuan Zhuang, Oliver Beckstein,
School of Molecular Sciences, Arizona State University, Tempe, Arizona85287, United States. · MDAnalysis, NumFOCUS, Austin, Texas78730, United States.
Key points
From the paper's conclusion- We demonstrate increased simulation performance for streaming compared to simulations that write data at high frequency to a trajectory output file.
Abstract
Only a small fraction of the data generated in state-of-the-art all-atom multimicrosecond molecular dynamics (MD) simulations is typically analyzed. With femtosecond integration steps, microsecond simulations generate billions of time steps with a complete set of atomic positions, velocities, and forces for all atoms, corresponding to petabytes of data and exceeding typical storage capacities. Consequently, only a fraction of the simulated time steps are usually written to a trajectory file for subsequent analysis, often at time intervals of 10-100 ps. Such a trajectory file allows for the analysis of ensemble averages and slow dynamics, but information on faster processes is lost. These fast processes include intra- and intermolecular vibrations, dynamics in nonglassy solvents, short-lived transition states, transport properties, etc., which encode physical information and are related to fundamental macroscopic properties and experimental observables. Here, we introduce a data streaming interface for MD simulations that provides easy access to all data generated during a running simulation. Instead of writing data to a storage medium, our interface enables user-defined analysis routines that access live simulation data via streaming. For this purpose, we build on existing implementations of the Interactive Molecular Dynamics (IMD) protocol and implement an enhanced protocol (termed IMD version 3 or 'IMDv3') in three popular MD packages: GROMACS, NAMD, and LAMMPS. Our new Python package imdclient receives an IMDv3 data stream and makes it available for other applications. To maximize usability, we added the capability to process streamed MD simulation data to the popular MDAnalysis software package. We demonstrate increased simulation performance for streaming compared to simulations that write data at high frequency to a trajectory output file. We include usage examples that illustrate live monitoring of custom variables during a running simulation, evaluation of velocity time correlation functions with fast fluctuations, and instantaneous analysis of currents through a membrane pore.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- FastMDAnalysis: Software for Automated Analysis of Molecular Dynamics TrajectoriesJournal of Computational Chemistry · 2026
- Transferable generative models bridge femtosecond to nanosecond time-step molecular dynamicsScience Advances · 2026
- MDTransport: A Modular, Open-Source, Extensible Python Tool for Computing Transport Properties from GROMACS and LAMMPS Simulations.Journal of chemical information and modeling · 2026
- A dependency-free, streamable format and cross-language toolkit for scalable LC-MS feature detection: reading only what you needbioRxiv · 2026
- Data-driven framework for invariant manifold identification in multiscale systemsarXiv · 2026
- TD-DCC: An Interactive and Efficient Graphical User Interface-Based Time-Dependent Dynamic Cross-Correlation Analysis of Molecular Dynamics Trajectories.Journal of molecular biology · 2026