Trajectory NG: portable, compressed, general molecular dynamics trajectories
- 26 January 2011
- journal article
- Published by Springer Nature in Journal of Molecular Modeling
- Vol. 17 (10) , 2669-2685
Abstract
We present general algorithms for the compression of molecular dynamics trajectories. The standard ways to store MD trajectories as text or as raw binary floating point numbers result in very large files when efficient simulation programs are used on supercomputers. Our algorithms are based on the observation that differences in atomic coordinates/velocities, in either time or space, are generally smaller than the absolute values of the coordinates/velocities. Also, it is often possible to store values at a lower precision. We apply several compression schemes to compress the resulting differences further. The most efficient algorithms developed here use a block sorting algorithm in combination with Huffman coding. Depending on the frequency of storage of frames in the trajectory, either space, time, or combinations of space and time differences are usually the most efficient. We compare the efficiency of our algorithms with each other and with other algorithms present in the literature for various systems: liquid argon, water, a virus capsid solvated in 15 mM aqueous NaCl, and solid magnesium oxide. We perform tests to determine how much precision is necessary to obtain accurate structural and dynamic properties, as well as benchmark a parallelized implementation of the algorithms. We obtain compression ratios (compared to single precision floating point) of 1:3.3–1:35 depending on the frequency of storage of frames and the system studied.Keywords
This publication has 23 references indexed in Scilit:
- Scaling of Multimillion-Atom Biological Molecular Dynamics Simulation on a Petascale SupercomputerJournal of Chemical Theory and Computation, 2009
- GROMACS 4: Algorithms for Highly Efficient, Load-Balanced, and Scalable Molecular SimulationJournal of Chemical Theory and Computation, 2008
- Essential Dynamics: A Tool for Efficient Trajectory Compression and ManagementJournal of Chemical Theory and Computation, 2006
- Scalable molecular dynamics with NAMDJournal of Computational Chemistry, 2005
- Byte Structure Variable Length Coding (BS-VLC): A New Specific Algorithm Applied in the Compression of Trajectories Generated by Molecular DynamicsJournal of Chemical Information and Computer Sciences, 2000
- Computer Simulation of LiquidsPhysics Today, 1989
- A locally adaptive data compression schemeCommunications of the ACM, 1986
- A computer simulation method for the calculation of equilibrium constants for the formation of physical clusters of molecules: Application to small water clustersThe Journal of Chemical Physics, 1982
- A universal algorithm for sequential data compressionIEEE Transactions on Information Theory, 1977
- A Method for the Construction of Minimum-Redundancy CodesProceedings of the IRE, 1952