Skip to main content

An object-oriented toolkit to analyze molecular dynamics trajectories.

Project description

Powered by NumFOCUS

Github Actions Build Status Github Actions Cron Job Status Cirrus CI - Cron job status Github Actions Linters Status Coverage Status

Documentation (latest release) Documentation (development version) GitHub Discussions

Anaconda 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 letting 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 packaged under the GNU Lesser General Public License, version 3 or any later version (LGPLv3+). Invidiual source code components are provided under the GNU Lesser General Public License, version 2.1 or any later version (LGPLv2.1+). Please see the file LICENSE for more information.

Contributing

Please report bugs or enhancement requests through the Issue Tracker. Questions can also be asked on GitHub Discussions.

If you are a new developer who would like to start contributing to MDAnalysis get in touch on GitHub Discussions. 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.

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

mdanalysis-2.8.0.tar.gz (5.2 MB view details)

Uploaded Source

Built Distributions

MDAnalysis-2.8.0-cp313-cp313-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.13 Windows x86-64

MDAnalysis-2.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.8 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.8.0-cp313-cp313-macosx_11_0_arm64.whl (6.5 MB view details)

Uploaded CPython 3.13 macOS 11.0+ ARM64

MDAnalysis-2.8.0-cp313-cp313-macosx_10_13_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.13 macOS 10.13+ x86-64

MDAnalysis-2.8.0-cp312-cp312-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.12 Windows x86-64

MDAnalysis-2.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.8.0-cp312-cp312-macosx_11_0_arm64.whl (6.5 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

MDAnalysis-2.8.0-cp312-cp312-macosx_10_9_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

MDAnalysis-2.8.0-cp311-cp311-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.11 Windows x86-64

MDAnalysis-2.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.8.0-cp311-cp311-macosx_11_0_arm64.whl (6.5 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

MDAnalysis-2.8.0-cp311-cp311-macosx_10_9_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

MDAnalysis-2.8.0-cp310-cp310-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.10 Windows x86-64

MDAnalysis-2.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.8.0-cp310-cp310-macosx_11_0_arm64.whl (6.5 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

MDAnalysis-2.8.0-cp310-cp310-macosx_10_9_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

File details

Details for the file mdanalysis-2.8.0.tar.gz.

File metadata

  • Download URL: mdanalysis-2.8.0.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for mdanalysis-2.8.0.tar.gz
Algorithm Hash digest
SHA256 0cf8efda7cb4a1cc33a92d2cd0d69a3d9b33c06c603df3c386caf6edccf46099
MD5 8338073b711d2a900ef69efe86356af5
BLAKE2b-256 d8f32844f00f3fa21c8ca9086661ffe6557798528e1c5464704886c7aa7088ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdanalysis-2.8.0.tar.gz:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f0cdc2ae1c569846c7d9522d398b8c2179cc61c0fe2deb9b0892ff9a07baa49e
MD5 543fd0cb3faa580bafa8181a32d17475
BLAKE2b-256 bea213102f206d842a968086c6d61639190dd0ab455dc96223c9483cd60547fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp313-cp313-win_amd64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6b221dd633642b9cfa2bc96ca0b29416dffd3a810e7f814d97d3c91c687eb19d
MD5 2b7de9174b9908e07e07dbd71038d36d
BLAKE2b-256 eb2a47f3c552f878d17f6ce30319bb831797b6dfcd140368ef49c3507383418c

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b93e5f3e5749365e606a4dfe1435df552d3275d0830f56a056059248d8fba246
MD5 a8c67532cf6d0dc8f42fe6e747c223b2
BLAKE2b-256 b3521c07900c2fe09574b0a8c5d84474c19363f7d21c40e1649da0bd3c8366fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 4171e33491275537fc18cbe9f5e39e16f35b177dc69aeba7dedb0031bfa02dd4
MD5 f3de0720c5cc4ee22c5885958cfbf8be
BLAKE2b-256 aedb4a4af48b2982f22c233a0cb7bb9578a2b56ff63b1f6e6bce30c7b7b83eef

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp313-cp313-macosx_10_13_x86_64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9918a5c46e4fbd47b285c81cc38d158198ac82ed12c2173a1fa3fce6b0a5e3f7
MD5 31d64adcd1864585a7536cd1fcf7d7c4
BLAKE2b-256 c04cf83c79162028777aade5fb490fdb8075f747bc12c8b4ada00a85c0d2e934

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp312-cp312-win_amd64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 239a1297dc18ef3523941551fc306c356e2215c4b116c2d351e8487b86dc8ced
MD5 b29e911aa6b2b9e4dbd02e17a2034d4c
BLAKE2b-256 de0deff6f0f900974c491e648937f64d24ef2d1eaf0a949791891baa015c4933

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d2f6f2440ff905e23586081f937163adf89aefea339eb3a7f08d2a0f4aeb0c7
MD5 54de32778cc073ac2471ac7454905230
BLAKE2b-256 74971979e8dd81cf645c65a247d24d1d12336ba9f0f6b5670179b3b422dca1b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d72bd822d9ede217e1dcbff54c827433e764fadd4ac910bf8d6e56dc3c588f2a
MD5 a0d163fd53bec24da120724f97a2339d
BLAKE2b-256 78b21ec0d2e05ad1f48d7f18bd71c464b9be44db3fd49b4300a7ff2a96f1e597

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp312-cp312-macosx_10_9_x86_64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 47cd1aeb3a485521e4b596ea4d9ae57d71051e68545ad4de9025194643e4d07d
MD5 33c3a1de729f44d1ff6b3253ac9c6bbf
BLAKE2b-256 7f581e6fb0bd0c86f8625cfec5071563d9e92d0e8ac5c8a9967343735f248db7

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp311-cp311-win_amd64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afeca1bf295fdd6c574197430d371463b1b5cef36e02a8a92dfdb3e5b2e6e3b3
MD5 f9ec3803c5c2793f6bc76504f3d424bd
BLAKE2b-256 74f9f58f1a37ce0ae03ab481ca1169bee89f08961597d04987535dd1cbb7020d

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e35860d0570a91d905d72469dfb1671ff97c260d76639c37e63bbd18cf6bd635
MD5 1e93e5c08426156d8f289db9ca666e38
BLAKE2b-256 101f8731cd890ed25c0bafe5f467bab95f3087e0166f9a6ce75930d36ef482aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e62a386164dedd3291fbf85b6b001e3f56af7cc9976149d4650c0268159bd150
MD5 c36d186d680deadcb9e0909e3b52c066
BLAKE2b-256 cdfe361b71502f1bc58820226ca9a3ab8db266d6a8c57f04f38ff6c3a18dcf64

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 69692f3c951efb08abe5e847cfbb1ce9d7b71df68d4f5e03a2fca91681a7dbd9
MD5 b7cdeaa7b50b84e04b01b80fd7706d36
BLAKE2b-256 80133ca04d191505af9d0cd1a6b7a5e42fae48eaa626436251411f378172c8fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp310-cp310-win_amd64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f0c8eb4d47a14efca6dadd3b4329667e242497f60544551aceab00d6b7359fd
MD5 0db1c8b5c73f40ab4fca2c535f8ce67e
BLAKE2b-256 ae5a233c996fcc3b1007edcbdc244902af3613c5bfc37b3223ac80f71083c7d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

Details for the file MDAnalysis-2.8.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0e39bdf2130a5a4b78bef30a217477721ec1271f7cd9197a780b135913816953
MD5 d4cb130a94502af49433a43a5bdc4a36
BLAKE2b-256 18dd79a81904fd32099226cdd67714d68fc0e7d97c0a83906c34b5126b505341

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.8.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 80775478239db65e5f3702dbaaf2b765f7829dc2d0dbce10494385eef775730f
MD5 66c04a075bf0cc0120ad9e6516ef89c0
BLAKE2b-256 ae9a8a0ea91b457fc22ef068877748834ed08692333c1e8d8fb4feff65c0d2a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for MDAnalysis-2.8.0-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: deploy.yaml on MDAnalysis/mdanalysis

Attestations:

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