Improving the speed of volumetric density map generation via cubic spline interpolation

J Mol Graph Model. 2021 May:104:107832. doi: 10.1016/j.jmgm.2021.107832. Epub 2021 Jan 4.

Abstract

Visualizing data generated from molecular dynamics simulations can be difficult, particularly when there can be thousands to millions of trajectory frames. The creation of a 3D grid of atomic density (i.e. a volumetric map) is one way to easily view the long-time average behavior of a system. One way to generate volumetric maps is by approximating each atom with a Gaussian function centered on that atom and spread over neighboring grid cells. However the calculation of the Gaussian function requires evaluation of the exponential function, which is computationally costly. Here we report on speeding up the calculation of volumetric maps from molecular dynamics trajectory data by replacing the expensive exponential function evaluation with an approximation using interpolating cubic splines. We also discuss the errors involved in this approximation, and recommend settings for volumetric map creation based on this.

Keywords: Grid density; Molecular dynamics; Trajectory analysis; Volumetric maps.

Publication types

  • Research Support, N.I.H., Intramural

MeSH terms

  • Molecular Dynamics Simulation*