GROMACS topology files for python
The gmxtop project provides a python interface to
- read and write toplogy and force field information from GROMACS-type top-files
- alter force field parameters
The gmxtop project derives this functionality from the kimmdy project, originally developed by the graeter-group, and includes only minor modifications to parts of the original code to operate independently.
The kimmdy project is licensed under the GNU General Public License v3.0 and, as a derivative work, the gmxtop project is distributed under the same license. See LICENSE for details.
The following tutorials are avaiable as Google Colab notebooks and hence do not require a local installation:
- Basic tutorial - Basic accessing of topology information with gmxtop
- Advanced tutorial - Advanded accessing of topology information with gmxtop
- Force field parameter tutorial - Adapting force field parameters with gmxtop
pip install gmxtopClone repository and move into
git clone git@github.com:graeter-group/gmxtop.git
cd gmxtopInstall repository
uv syncActivate virtual environment
source .venv/bin/activateVerify install by running the tests
pytest testsClone repository and move into
git clone git@github.com:graeter-group/gmxtop.git
cd gmxtopInstall repository into conda environment
conda create -n gmxtop python -y
conda activate gmxtop
pip install -e '.[dev]' # install with dev dependenciesVerify install by running the tests
pytest tests