Kinetic Monte Carlo Molecular Dynamics
Project description
KIMMDY
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kimmdy-5.1.8.tar.gz
.
File metadata
- Download URL: kimmdy-5.1.8.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ac18e3809731c9dcb96d7c90bd83acee82e181bd4d2f1748348ca60282d3aa7 |
|
MD5 | e06126bbc5a55ee440847a5054f4aced |
|
BLAKE2b-256 | 3eadc8ba95969dcaf1c14c1563b73b1628157edabe625be59c52a043380127bb |
File details
Details for the file kimmdy-5.1.8-py3-none-any.whl
.
File metadata
- Download URL: kimmdy-5.1.8-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed077bf54471df1319ed5afe13b0380665ae9c3f0670562c51648ea8da6afac |
|
MD5 | 8e81e81aba3f2af87af9a1c11866d83c |
|
BLAKE2b-256 | 4ccc9366cc44ce87cabe06b1d0a00dd23c5ab2f13b23fc2980ca7ee6a19295cb |