Skip to main content

An object-oriented toolkit to analyze molecular dynamics trajectories generated by CHARMM, Gromacs, NAMD, LAMMPS, or Amber.

Project description

Powered by NumFOCUS Github Actions Build Status Github Actions Cron Job Status Travis CI Build Status Coverage Status [*]

Documentation (latest release) Documentation (development version) User Google Group Developer Google Group Anaconda My Binder ASV Benchmarks

MDAnalysis is a Python library for the analysis of computer simulations of many-body systems at the molecular scale, spanning use cases from interactions of drugs with proteins to novel materials. It is widely used in the scientific community and is written by scientists for scientists.

It works with a wide range of popular simulation packages including Gromacs, Amber, NAMD, CHARMM, DL_Poly, HooMD, LAMMPS and many others — see the lists of supported trajectory formats and topology formats. MDAnalysis also includes widely used analysis algorithms in the MDAnalysis.analysis module.

The MDAnalysis project uses an open governance model and is fiscally sponsored by NumFOCUS. Consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

NumFOCUS (Fiscally Sponsored Project)

This project is bound by a Code of Conduct.

Powered by MDAnalysis

If you use MDAnalysis in your project consider lettting your users and the world know about it by displaying the MDAnalysis badge! Embedding code is available for different markups.

Example analysis script

import MDAnalysis as mda

# Load simulation results with a single line
u = mda.Universe('topol.tpr','traj.trr')

# Select atoms
ag = u.select_atoms('name OH')

# Atom data made available as Numpy arrays
ag.positions
ag.velocities
ag.forces

# Iterate through trajectories
for ts in u.trajectory:
    print(ag.center_of_mass())

Documentation

New users should read the Quickstart Guide and might want to look at our videos, in which core developers explain various aspects of MDAnalysis.

All users should read the User Guide.

Developers may also want to refer to the MDAnalysis API docs.

A growing number of tutorials are available that explain how to conduct RMSD calculations, structural alignment, distance and contact analysis, and many more.

Installation and availability

The latest release can be installed via pip or conda as described in the Installation Quick Start.

Source code is hosted in a git repository at https://github.com/MDAnalysis/mdanalysis and is available under the GNU General Public License, version 2 (see the file LICENSE).

Contributing

Please report bugs or enhancement requests through the Issue Tracker. Questions can also be asked on the user mailing list.

If you are a new developer who would like to start contributing to MDAnalysis get in touch on the developer mailing list. To set up a development environment and run the test suite read the developer guide.

Citation

When using MDAnalysis in published work, please cite the following two papers:

  • R. J. Gowers, M. Linke, J. Barnoud, T. J. E. Reddy, M. N. Melo, S. L. Seyler, D. L. Dotson, J. Domanski, S. Buchoux, I. M. Kenney, and O. Beckstein. MDAnalysis: A Python package for the rapid analysis of molecular dynamics simulations. In S. Benthall and S. Rostrup, editors, Proceedings of the 15th Python in Science Conference, pages 102-109, Austin, TX, 2016. SciPy. doi:10.25080/Majora-629e541a-00e

  • N. Michaud-Agrawal, E. J. Denning, T. B. Woolf, and O. Beckstein. MDAnalysis: A Toolkit for the Analysis of Molecular Dynamics Simulations. J. Comput. Chem. 32 (2011), 2319–2327. doi:10.1002/jcc.21787

For citations of included algorithms and sub-modules please see the references.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MDAnalysis-2.3.0.tar.gz (3.7 MB view details)

Uploaded Source

Built Distributions

MDAnalysis-2.3.0-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10 Windows x86-64

MDAnalysis-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

MDAnalysis-2.3.0-cp39-cp39-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

MDAnalysis-2.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

MDAnalysis-2.3.0-cp38-cp38-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

MDAnalysis-2.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file MDAnalysis-2.3.0.tar.gz.

File metadata

  • Download URL: MDAnalysis-2.3.0.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for MDAnalysis-2.3.0.tar.gz
Algorithm Hash digest
SHA256 29579433c4ea87048278dc1d4019b52e6a19504162659447be7c79fbdbf508ff
MD5 17da1fa5221ece488e7afc1ec7225058
BLAKE2b-256 30c2f2508b8e57e164eacb29af064eb633861515fdb26b641fb13da24dd56c13

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e894c483deae6decb1c0a028c5bf03775ecd78637ad646aa3cf6638cceb1bec3
MD5 3953091507ac7e3af9f0bf8d68d9200d
BLAKE2b-256 49eeec90cb066842d53783b8ee5b64ff6e53516072c248e175959d0a8fc7bf22

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ff37ef26e43f83fe6a5265bc43d6f097cea7ef9611dba7f3cead54788e27bfe4
MD5 cea6e1322546ce9776decaa80b047199
BLAKE2b-256 bd3fa2671e82dd0cce8ba6989ab7a2ca7b41caf030c060826e51f755db342ba7

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1d69837deeab63c789ecb1d4f31e13a6169f2f120506a6164ba03654c40a4214
MD5 ea09c53baec67f121d7674dbf521ad5c
BLAKE2b-256 8b2fb256ebf5f841f7db75f882fcd40a4260fe5b0f58a005ec80b5b6a06d00eb

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4c478a5b0297d746741c6ba7de65f8d2b290eec05998b3bf15684b3d0d51b481
MD5 9c38ccf870a3d744e47d90b0dc3b2d35
BLAKE2b-256 f3121ca45a5c081c74219a3de9d0886a164cbcd22205f628eb7c9dd6cf2b83e8

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91ffb12439eada3f9f0f6a8a5fe5e2761dc9faecae6634386a72fa2832c54929
MD5 905268c5a2194d3cfcd9329a841ec2eb
BLAKE2b-256 df0107823d486611f6ab2a71b6a378554e95b4e804eb59f00f196db0f54a014d

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 efebe374da4ae6f4e03cf5d21c7dcb547de7fe28a42bca6c79790b0f699f83dd
MD5 95f7429a5d31bf7b6cc509aa2e36d0a7
BLAKE2b-256 f113f2f10cb68c696fe39700c6efc44ac3d4e3e0700dcf53e38057f4a659183b

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c2780da75422a394d20487c397b49173eb6d6164446179ae7a991f9fa89a0343
MD5 fcf44b5934370e1f1a8c693b5f0e2ccb
BLAKE2b-256 8789cf077bb830fecea88bafb1496dce463292195e957560f50853010ff30337

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 85f95b677e64fb5edcb4c5d2be60fd2fe4f6d4476a2454549d2e31d5589eb6a3
MD5 cf5f85f19bbf92cd91ec7ff766573be8
BLAKE2b-256 92136e132a997503ecc40413196317a6bd8698ba503a7fc0af766af94b441da7

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b5b1577f475fe5cb30edb720b17f3badd58d74b7d2ab163907a11dc35e937126
MD5 81400db5f60c30d6b0acc84e42eaa8e0
BLAKE2b-256 34534b049681653aff30fa7f071a2aef6a842efe5c1f17d5852c0650517779c9

See more details on using hashes here.

Provenance

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