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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kimmdy-5.1.10.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.10.tar.gz
Algorithm Hash digest
SHA256 535ded56824ff852e4681d11bcf39ffb5ab50c4c5ada0952bc28d7a0d44fc7d9
MD5 02273b45dcab3798eed86630e07a7b39
BLAKE2b-256 3d9f773d8d2edfe1a0dd2c27ef2ddc22548ba3b288a04772e12e0d5d587a1601

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kimmdy-5.1.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 927d3a06d2f3140b842fcc6bf6e40d5ae8010a0badf9980c6aec4874986c13a1
MD5 3486d436900d9e7d90f939b46d9413e5
BLAKE2b-256 a8d779a07907722016c0722359d374924ff2b3150520c1d5b29135f9615edd17

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