Skip to main content

TorchMD. Molecular dynamics with pytorch

Project description

TorchMD

About

TorchMD intends to provide a simple to use API for performing molecular dynamics using PyTorch. This enables researchers to more rapidly do research in force-field development as well as integrate seamlessly neural network potentials into the dynamics, with the simplicity and power of PyTorch.

TorchMD uses chemical units consistent with classical MD codes such as ACEMD, namely kcal/mol for energies, K for temperatures, g/mol for masses, and Å for distances.

TorchMD is currently WIP so feel free to provide feedback on the API or potential bugs in the GitHub issue tracker.

Also check TorchMD-Net for fast and accurate neural network potentials https://github.com/torchmd/torchmd-net/

Citation

Please cite:

@misc{doerr2020torchmd,
      title={TorchMD: A deep learning framework for molecular simulations},
      author={Stefan Doerr and Maciej Majewsk and Adrià Pérez and Andreas Krämer and Cecilia Clementi and Frank Noe and Toni Giorgino and Gianni De Fabritiis},
      year={2020},
      eprint={2012.12106},
      archivePrefix={arXiv},
      primaryClass={physics.chem-ph}
}

To reproduce the paper go to the tutorial notebook https://github.com/torchmd/torchmd-cg/blob/master/tutorial/Chignolin_Coarse-Grained_Tutorial.ipynb

License

Note. All the code in this repository is MIT, however we use several file format readers that are taken from Moleculekit which has a free open source non-for-profit, research license. This is mainly in torchmd/run.py. Moleculekit is installed automatically being in the requirement file. Check out Moleculekit here: https://github.com/Acellera/moleculekit

Installation

We recommend installing TorchMD in a new python environment ideally through the Miniforge package manager.

mamba create -n torchmd
mamba activate torchmd
mamba install pytorch python=3.10 -c conda-forge
mamba install moleculekit parmed jupyter -c acellera -c conda-forge # For running the examples
pip install torchmd

Examples

Various examples can be found in the examples folder on how to perform dynamics using TorchMD.

Help and comments

Please use the github issue of this repository.

Acknowledgements

We would like to acknowledge funding by the Chan Zuckerberg Initiative and Acellera in support of this project. This project will be now developed in collaboration with openMM (www.openmm.org) and acemd (www.acellera.com/acemd).

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

torchmd-1.0.2.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

torchmd-1.0.2-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file torchmd-1.0.2.tar.gz.

File metadata

  • Download URL: torchmd-1.0.2.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for torchmd-1.0.2.tar.gz
Algorithm Hash digest
SHA256 30d6898fea4cd53ad92b29834fec168802e3056fb654ca316d50d75daa3060a3
MD5 a9ffb6d11e5d2038fc24cc442894d149
BLAKE2b-256 80f98f4f5044050adbd0f115e71cf4b4f127dcc6b872bbaa5fbe0377bbe1e44a

See more details on using hashes here.

File details

Details for the file torchmd-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: torchmd-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for torchmd-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3192a49705c6048987ac7fa8c10c7c2fafa9075b4c981428ab07747dfd6ec942
MD5 94bc7fc371be620f4fe1d75841e37556
BLAKE2b-256 0fb0f63bda20757875e8320c7a7125f058ce29b15a5a53817e6634324ba80d59

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