OMMTK
OpenMM Wrappers for General and Enhanced MDSimulations
This repo contains several simulation classes wrapped around openMM infrastructure that allow for rapid devlopment and usage of various MD Simulations.
Currently Supported are the following simulations: Minimization, Standard MD (base class); Heating and Equil MD simulations (NVT and NPT respectively), Gentle Heat Sims (heat/release restraints over a range of stages), simulated tempering, metadynamics and metadynamics with focused sampling on ligand unbinding (Segment Walker Sims). The simulations support a full API with a range of functions and easily adapted run statements for specialized protocols.
Installation
Dependencies:
OMMTK requires very few dependencies. Below is a list you can install with conda or pip:
python 3.6 or higher
simtk.openmm
numpy
mdtraj
To install the latest stable version we recommend using pip with the following command (this is the only method guaranteed to provide a stable version).
pip install ommtk
Documentation
The most recent documentation: https://redesignscience.github.io/OMMTK/
Quickstart run
# Load packages
import parmed
from ommtk import MDSimulation, select_atoms, unit
# Note: Requires parameterized parmed in memory named parmed_structure!
#instantiate sim from parmed alone, minimize (save h5 file) and run
mdsim = MDSimulation(parmed_structure=parmed_structure)
mdsim.minimize()
minimized_parmed = mdsim.run(2 * unit.nanosecond)
#build sim using a previous trajectory or h5 file
mdsim = MDSimulation(parmed_structure=parmed_structure, coordinates=trajectory.h5)
#build sim with positional restraints, run some equilibration and remove them for longer run
protein_atoms = select_atoms(parmed_structure=parmed_structure, keyword_selection='protein')
mdsim = MDSimulation(parmed_structure=parmed_structure, atoms_to_restrain=protein_atoms, restraint_weight=4)
mdsim.run(1*unit.nanosecond)
mdsim.update_restraint_weight(2)
mdsim.run(1*unit.nanosecond)
mdsim.remove_positional_restraints()
end_parmed = mdsim.run(4 * unit.nanosecond)
Metadata
Release files for ommtk 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ommtk-0.4.4.tar.gz | 31.5 kB | Without provenance | Details for ommtk-0.4.4.tar.gz |
Release files / ommtk-0.4.4.tar.gz
| Download URL | ommtk-0.4.4.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
764b3611c453fd42bfbd44cd82000d82ecb6730a5ac22bbdb27d8fd9bd113c33
|
|
BLAKE2b-256 checksum How to use checksums |
67d95acaaaf87444da42538ef1d19e0230dc01e9803ac5e184cc089a3520caa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for ommtk 0.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.