GromacsWrapper — a python framework for Gromacs

GromacsWrapper is a python package that wraps system calls to Gromacs tools into thin classes. This allows for fairly seamless integration of the gromacs tools into python scripts. This is generally superior to shell scripts because of python’s better error handling and superior data structures. It also allows for modularization and code re-use. In addition, commands, warnings and errors are logged to a file so that there exists a complete history of what has been done.

See INSTALL for download and installation instructions. Documentation is primarily provided through the python doc strings (from which most of the online documentation is generated).

The source code itself is available in the GromacsWrapper git repository.


Please be aware that this is alpha software that most definitely contains bugs. The API is not stable yet and can change between releases.

It is your responsibility to ensure that you are running simulations with sensible parameters.

The package and the documentation are still in flux and any feedback, bug reports, suggestions and contributions are very welcome. See the package GromacsWrapper for contact details.

See also

Other approaches to interfacing python and Gromacs are listed under Alternatives to GromacsWrapper.

Indices and tables

Table Of Contents

Next topic


This Page