Skip to main content

An object-oriented toolkit to analyze molecular dynamics trajectories.

Reason this release was yanked:

bad biopython pin

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.

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.4.0.tar.gz (3.7 MB view details)

Uploaded Source

Built Distributions

MDAnalysis-2.4.0-cp311-cp311-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

MDAnalysis-2.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.4.0-cp311-cp311-macosx_10_9_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

MDAnalysis-2.4.0-cp310-cp310-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

MDAnalysis-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.4.0-cp310-cp310-macosx_10_9_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

MDAnalysis-2.4.0-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

MDAnalysis-2.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.4.0-cp39-cp39-macosx_10_9_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

MDAnalysis-2.4.0-cp38-cp38-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

MDAnalysis-2.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.4.0-cp38-cp38-macosx_10_9_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for MDAnalysis-2.4.0.tar.gz
Algorithm Hash digest
SHA256 97232c3fdb0ec09875f98eec0ca6060f06741b0cf4f3b543c96d2386d0fccbda
MD5 e57ea56026737f7d0dcb6ae54d91acde
BLAKE2b-256 a9b067c19de6f80f4d0b2b465b3d5f94d347ce0d200d7da6ed7d9d91b712db4d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1b2b803905c93d187f1d7be9edd6b175939f218a238ea02faaf2b2b6f4613997
MD5 3b7071808516da365a9abeeb99961e3f
BLAKE2b-256 337189f035c3610952f590e833c06e95ebc951ee8b38ec15fa3a9b16dbf03ac5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fef935f6849ba5008636a52eb82613db58f79bfa5eb12f48a1f913e003a8fc0c
MD5 1c6b3d174ad867c29e4f20da096dced6
BLAKE2b-256 7eb8d37658555ff36a7bb6e934d017d6892be5f244d1b978b4b3afe78b7ce70c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f9790d6f52ff82b401811ee87417b3ae211afd7b38c77ec2fd4fdca09fff9537
MD5 92651caf45960775e6c7f80f9c9dd07b
BLAKE2b-256 4261dcfeec3752842e387baf268ba2ac21d3b7af30a2fd79cc133d34d545f84d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f6edbc5c07918684374f4f2cf48745e5b51eaad54f339bfcf36c30ae930bd3d3
MD5 15cdce62bddc463b56a351a4782a2b60
BLAKE2b-256 2f6ef8361e40f161ea078c3a0d8f14e7934c02ddb2e6bb22d6645f927ccb2b0a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 56045d6b3cc1d139fe6cc16d63b0e9a6823506e0f74a50d591ce8179349a02a8
MD5 acc75895d809d3761b7721a65bc82cde
BLAKE2b-256 21f8975a66519b62a477edcc5478f9e13cba80b360e274f70c74c808f52dcacb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d1df357ca74fcf4aff3db89ed2472a2616f26b1d93e379bfe9fd1134d9ea1ebc
MD5 d44d98c1ab99f88b2f19d4af1acfca54
BLAKE2b-256 b9eb37ec700b4b4ab96f9e7e2e4d6e00fc5eac5ca4a93108ae372b68a7400e36

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 67346a86c0645aad1b24c592f581ecb97334bbc4f8b508930310a7f7de147e16
MD5 1c0860602c69a53509a20a9dead912a0
BLAKE2b-256 ac19a4a8d5000be7bcadf20b6150731d2aab5e0842e6313c7b2c7b4d121e7ca6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 41161aba3a111d754068bd45df28de06d522a317ca3d9023ae7ac29903129f75
MD5 b2e3c11e6d34b759ca98cb90e39f5cb3
BLAKE2b-256 988d27b01addb197cd266414763403e88bbaaf2c4f3afa457a5d0f223d2cabbc

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2a4f8c95f806f715385a7a10ba373dd28e7dde02cb17caf24b4d85ce73cd58c0
MD5 ea55cfdffc38099db4cf239b966bb91d
BLAKE2b-256 969d08c32ba004d58c9c9b9113cb5026ec4f4787b5cbe909b35ac7fedde50582

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c1c049420d1db5af06d61eddfc41dbe03fac968e3a8e186ed31c507b307317f4
MD5 f780956424537e76439bdc1680100233
BLAKE2b-256 e7147d169a6807b2a80430e56df3d8a365fd77472666eca2699a406229e31a30

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7908498db78fcca761191b0571253db6c3140c400f716530e3b0e05862a9688a
MD5 b0f7c1e5c72b69bdf7ec405fd01597e6
BLAKE2b-256 c0ea59497208df61454b914456144adad561b8a2949b62dfc7016f979661556c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3adab030abeaa941b00b6a2ce181dc8b554401ee3d57edb10e9606b43222deb3
MD5 db996a9be87223cae9ecfe14d54a7732
BLAKE2b-256 752621dbc3d45af119b4f62a26a6da01d26974bfff38d31ce28fda1c4dafd2e1

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