Paraphernalia
PPubMed14 Feb 2022Cited 22×

gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support gmxapi: A Python interface for GROMACS molecular dynamics

M. Eric Irrgang, Caroline Davis, Peter M. Kasson, Dina Schneidman-Duhovny

Abstract

'Dina Schneidman-Duhovny'] Gmxapi provides an integrated, native Python API for both standard and advanced molecular dynamics simulations in GROMACS. The Python interface permits multiple levels of integration with the core GROMACS libraries, and legacy support is provided via an interface that mimics the command-line syntax, so that all GROMACS commands are fully available. Gmxapi has been officially supported since the GROMACS 2019 release and is enabled by default in current versions of the software. Here we describe gmxapi 0.3 and later. Beyond simply wrapping GROMACS library operations, the API permits several advanced operations that are not feasible using the prior command-line interface. First, the API allows custom user plugin code within the molecular dynamics force calculations, so users can execute custom algorithms without modifying the GROMACS source. Second, the Python interface allows tasks to be dynamically defined, so high-level algorithms for molecular dynamics simulation and analysis can be coordinated with loop and conditional operations. Gmxapi makes GROMACS more accessible to custom Python scripting while also providing support for high-level data-flow simulation algorithms that were previously feasible only in external packages.

A figure from gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support gmxapi: A Python interface for GROMACS molecular dynamics
fig. from the paper

§ The Valyu brief

Reading the full paper and taking notes. This takes a few seconds…

§ Ask this paper

Ask a question about this paper

Valyu reads the full text and answers from what the paper actually says.

Q.

Searching the other archives…