Skip to main content

Useful Collective Variables for OpenMM

Project description

Collective Variable Package

GitHub Actions Build Status GitHub Actions Build Status GitHub Actions Build Status GitHub Actions Build Status Documentation Status Coverage Report

Conda cvpack version Conda cvpack platforms Conda cvpack downloads

License Twitter

Overview

Collective variables (CVs) are functions of the coordinates of a molecular system and provide a means to project its conformational state onto a lower-dimensional space. By stimulating the dynamics of a judiciously chosen set of CVs, one can obtain an enhanced sampling of the configuration space, including regions that are otherwise difficult to access. The system's free energy as a function of these CVs can be used to characterize the relative stability of different states and to identify pathways connecting them.

CVPack is a Python package that provides pre-defined CVs for the powerful molecular dynamics engine OpenMM. All these CVs are subclasses of OpenMM's Force class and, as such, can be directly added to a CustomCVForce or used to define a BiasVariable for Metadynamics, for instance.

Collective Variables

The CVs implemented in CVPack are listed in the table below.

Collective Variable Description
Angle angle formed by three atoms
Atomic Function a user-defined function of the coordinates of a group of atoms
Attraction Strength strength of the attraction between two groups of atoms
Centroid Function a user-defined function of the centroids of groups of atoms
Distance distance between two atoms
Helix angle content alpha-helix angle content of a sequence of residues
Helix H-bond content alpha-helix hydrogen-bond content of a sequence of residues
Helix RMSD content alpha-helix RMSD content of a sequence of residues
Helix torsion content alpha-helix Ramachandran content of a sequence of residues
Number of contacts number of contacts between two groups of atoms
Radius of gyration radius of gyration of a group of atoms
Radius of gyration Sq. square of the radius of gyration of a group of atoms
Residue coordination number of contacts between two disjoint groups of residues
RMSD root-mean-square deviation with respect to a reference structure
Sheet RMSD content beta-sheet RMSD content of a sequence of residues
Torsion torsion angle formed by four atoms
Torsion similarity degree of similarity between pairs of torsion angles

Installation and Usage

CVPack is available as a conda package on the mdtools channel. To install it, run:

    conda install -c conda-forge -c mdtools cvpack

Or:

    mamba install -c mdtools cvpack

To use CVPack in your own Python script or Jupyter notebook, simply import it as follows:

    import cvpack

Documentation

The documentation for CVPack is available at Read the Docs.

Copyright

Copyright (c) 2023, Redesign Science

Acknowledgements

Project based on the CMS Cookiecutter version 1.1.

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

cvpack-0.6.1.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

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

cvpack-0.6.1-py3-none-any.whl (58.2 kB view details)

Uploaded Python 3

File details

Details for the file cvpack-0.6.1.tar.gz.

File metadata

  • Download URL: cvpack-0.6.1.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for cvpack-0.6.1.tar.gz
Algorithm Hash digest
SHA256 24b7eceb52a35002ef8d9ffbed51c2c738166e5fdf985dd61a3e1f808bbc0387
MD5 a81d18accaa731432b704324300eed7f
BLAKE2b-256 9fea9618a48f634278986e2f9d0fe605858c415de208162085d039f99393fdc9

See more details on using hashes here.

File details

Details for the file cvpack-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: cvpack-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 58.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for cvpack-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80a92917d00971feb3331289f208a37cc732ca3170462e2dac19948e668536b4
MD5 d81f489a6ace956db017a0a5aef788a4
BLAKE2b-256 5d910c0ba41a8680f9786384762be5d19b713aa58d1aa975c865b9c2a4355402

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