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.9.tar.gz (37.2 MB view details)

Uploaded Source

Built Distribution

kimmdy-5.1.9-py3-none-any.whl (83.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kimmdy-5.1.9.tar.gz
  • Upload date:
  • Size: 37.2 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.9.tar.gz
Algorithm Hash digest
SHA256 9dcda1978fe5f3c5a47033865334c0b830604f0117d608be6c17dbf101dd36fe
MD5 81f410ea246af5e0c5023207a83d65e6
BLAKE2b-256 38df355effe35f96dfcd3cc03781c1930e2b1f3bb1088b2c700766763469a7c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kimmdy-5.1.9-py3-none-any.whl
  • Upload date:
  • Size: 83.6 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4f898edc5ea6f4d82103127855bb5ef1d46968ad7d90feb697a5e6cd3294a084
MD5 6a2e79117c46b7e819cbe9b7e5e34ce5
BLAKE2b-256 80033496382267183e6ba6e523faa1bb83be9f7214c06b0400def2d456185d02

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