Skip to main content

A small package for building molecular systems using the AMBER force field and deploying OpenMM simulations on HPC clusters using Parsl.

Project description

molecular-dynamics

Utilities for MD simulation building, running and analysis.

Capable of building molecular dynamics systems using the AMBER forcefield ecosystem. Available forcefields include: fixed-charge forcefields (ff19SB for proteins, OL21 for DNA, and OL3 for RNA), ff15ipq polarizable forcefield, and the ability to parameterize small molecules using GAFF2. In all explicit systems OPC water is used with the exception of polarizable systems where a polarizable water model is used (). Untested support for implicit solvent systems as well.

Installation

Easily installed via pip. PyPI page: https://pypi.org/project/molecular-simulations/

pip install molecular-simulations

Package details

Simulations are performed using OpenMM version 7.7 due to CUDA versioning on ALCF Polaris. In theory supports OpenMM >= 8.2 but this remains to be tested. All MD simulations are deployed on a PBS scheduler via Parsl but with some minor tweaking of the Parsl configuration object they can be deployed on theoretically any HPC cluster/job scheduler. Jobs can also be run locally without the need for Parsl (example coming soon).

Simulation analysis can also be performed using the provided Analyzer object (molecular_simulation.analysis.Analyzer). This leverages the MDAnalysis API for performing analysis which is both easy to work with and easily parallelized across CPU resources.

examples/ contains sample execution scripts

examples/run_builder.py

Leverages classes in build/build_amber.py for building implicit solvent, explicit solvent and biomolecule + small molecule ligand systems. Can handle multicomponent systems out of the box so long as the correct force fields are loaded. Additionally supports the polarizable protein ff amber15ipq although this remains untested.

examples/run_sim_analysis.py

Leverages classes found in analysis/analyzer.py for performing analysis using the MDAnalysis library. This was chosen due to its ongoing development and ease of object-oriented framework as well as straightforward parallelization.

examples/run_omm.py

Sets up OpenMM simulation objects and performs simple equilibrium simulation of both implicit and explicit solvent simulations using Parsl. Configured by default to run on the Argonne ALCF Polaris supercomputer but can be adapted for any scheduler on any cluster by modifying the Parsl configuration.

See Parsl documentation for further examples of how to run on other HPC resources. https://parsl.readthedocs.io/en/stable/

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

molecular_simulations-0.2.3.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

molecular_simulations-0.2.3-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file molecular_simulations-0.2.3.tar.gz.

File metadata

  • Download URL: molecular_simulations-0.2.3.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for molecular_simulations-0.2.3.tar.gz
Algorithm Hash digest
SHA256 abc39506f0ef5a1eb4ad803ebf0be779f140ed81166637c3ebba4bb58e4d1dba
MD5 6944ee86c28feb224042c9b8d71b5e1f
BLAKE2b-256 4302f4acb005f5fd302353b68854d759879cddbf0c1a94d4f47d349e9a0dc509

See more details on using hashes here.

File details

Details for the file molecular_simulations-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for molecular_simulations-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 793dd8674133ab893f8c7a0f58e37d2f7bb23e47585567e8fc1238d5ece2c2ff
MD5 13e1e7fac8c6f7f3833614c8df747f17
BLAKE2b-256 433cff0dc917a34b4c10f1ff43a5ceb9b38f3c3c71e77a67d0cf529cd2dc0809

See more details on using hashes here.

Supported by

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