Skip to main content

Kinetic Monte Carlo Molecular Dynamics

Project description

KIMMDY

tests on latest release

Reactive MD pipeline for GROMACS using Kinetic Monte Carlo / Molecular Dynamics (KIMMDY)

Installation

Note: Some reactions need a GROMACS version patched with PLUMED, gromacs name should then contain MODIFIED or plumed.

Bare Installation

git clone https://github.com/hits-mbm-dev/kimmdy.git
cd kimmdy
python -m venv .venv
source .venv/bin/activate
python -m pip install -e ./

This installation includes only the most basic functionality as no plugins and analysis tool dependencies are installed. Plugins can be installed using python -m pip install -e ./ in their module directories (e.g. kimmdy/plugins/default_reactions). The analysis tool dependencies can be installed with python -m pip install -e ./[analysis] in kimmdy/.

Full installation

conda create -n kimmdy_full python=3.10 tensorflow==2.10 openmm
conda activate kimmdy_full
git clone https://github.com/hits-mbm-dev/HAT_reaction_plugin.git
cd HAT_reaction_plugin/
pip install -r requirements.txt
cd ..
git clone https://github.com/hits-mbm-dev/grappa.git
cd grappa
pip install -e .
cd ..
git clone https://github.com/hits-mbm-dev/kimmdy.git
cd kimmdy
pip install -r requirements.txt
pip install -e ./[parameterization_plugins]

Other ways to install kimmdy with all plugins are currently discouraged because of the high number of dependencies.

Documentation

GitHub pages

GitHub Pages documentation

Local documentation

cd <kimmdy root directory>
pip install -r requirements.txt # Documentation depends on packages in requirements.txt
make docs
quarto preview # Should open the documentation in your standard browser

Development setup

  • install packages necessary for developmentmake python -m pip install -r requirements.txt
  • code style: black
  • docstrings: numpy
  • Conventional commit messages when possible for pretty release notes.

First simulation

  • change directory to example_triala
  • run kimmdy: kimmdy -l INFO
  • check output: kimmdy.log, test_out_00X/

Local testing

For developoment, we provide a docker image containing gromacs and multiple python versions to test against.
To run the test locally, you must:

  • install docker
  • install act, the easiest option is with github cli via gh extension install https://github.com/nektos/gh-act
  • run tests with gh extension exec act -j test --artifact-server-path ./artifacts
  • html coverage report is exported into artifacts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kimmdy-5.1.7.tar.gz (37.3 MB view details)

Uploaded Source

Built Distribution

kimmdy-5.1.7-py3-none-any.whl (83.5 kB view details)

Uploaded Python 3

File details

Details for the file kimmdy-5.1.7.tar.gz.

File metadata

  • Download URL: kimmdy-5.1.7.tar.gz
  • Upload date:
  • Size: 37.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for kimmdy-5.1.7.tar.gz
Algorithm Hash digest
SHA256 bb180816a4c5b83c6f7509d55e3c4728dc553a1e8f577ec5f9ba4e5c5da45d49
MD5 06c69c16a7811141fe0a47bcf1187986
BLAKE2b-256 0604459e4e51280ae7363442c4c909e3c20dc6d86240aa9516a01f0f1f3e3352

See more details on using hashes here.

File details

Details for the file kimmdy-5.1.7-py3-none-any.whl.

File metadata

  • Download URL: kimmdy-5.1.7-py3-none-any.whl
  • Upload date:
  • Size: 83.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for kimmdy-5.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 74f00a6d8eee15ad085862c3f4f767b0f7dee9d9809ae39783472a984b743e0d
MD5 1d3f786a0497712acda71cb4a60ad278
BLAKE2b-256 785b83f9365004b27e06712b88482c77aee0f4e3a5c1b609b08e9f246fce95c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page