Cargando…

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

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,...

Descripción completa

Detalles Bibliográficos
Autores principales: Irrgang, M. Eric, Davis, Caroline, Kasson, Peter M.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8880871/
https://www.ncbi.nlm.nih.gov/pubmed/35157693
http://dx.doi.org/10.1371/journal.pcbi.1009835
_version_ 1784659329334378496
author Irrgang, M. Eric
Davis, Caroline
Kasson, Peter M.
author_facet Irrgang, M. Eric
Davis, Caroline
Kasson, Peter M.
author_sort Irrgang, M. Eric
collection PubMed
description 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.
format Online
Article
Text
id pubmed-8880871
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-88808712022-02-26 gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support Irrgang, M. Eric Davis, Caroline Kasson, Peter M. PLoS Comput Biol Research Article 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. Public Library of Science 2022-02-14 /pmc/articles/PMC8880871/ /pubmed/35157693 http://dx.doi.org/10.1371/journal.pcbi.1009835 Text en © 2022 Irrgang et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Irrgang, M. Eric
Davis, Caroline
Kasson, Peter M.
gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support
title gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support
title_full gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support
title_fullStr gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support
title_full_unstemmed gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support
title_short gmxapi: A GROMACS-native Python interface for molecular dynamics with ensemble and plugin support
title_sort gmxapi: a gromacs-native python interface for molecular dynamics with ensemble and plugin support
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8880871/
https://www.ncbi.nlm.nih.gov/pubmed/35157693
http://dx.doi.org/10.1371/journal.pcbi.1009835
work_keys_str_mv AT irrgangmeric gmxapiagromacsnativepythoninterfaceformoleculardynamicswithensembleandpluginsupport
AT daviscaroline gmxapiagromacsnativepythoninterfaceformoleculardynamicswithensembleandpluginsupport
AT kassonpeterm gmxapiagromacsnativepythoninterfaceformoleculardynamicswithensembleandpluginsupport