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 Github Actions Linters Status Coverage Status

Documentation (latest release) Documentation (development version) User Google Group Developer Google Group 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 General Public License, version 3 or any later version. Invidiual source code components are provided under a mixture of GPLv3+ compatible licenses, including LGPLv2.1+ and GPLv2+. 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 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.6.0.tar.gz (4.1 MB view details)

Uploaded Source

Built Distributions

MDAnalysis-2.6.0-cp311-cp311-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.11 Windows x86-64

MDAnalysis-2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (9.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.6.0-cp311-cp311-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

MDAnalysis-2.6.0-cp311-cp311-macosx_10_9_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

MDAnalysis-2.6.0-cp310-cp310-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.10 Windows x86-64

MDAnalysis-2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (9.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.6.0-cp310-cp310-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

MDAnalysis-2.6.0-cp310-cp310-macosx_10_9_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

MDAnalysis-2.6.0-cp39-cp39-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.9 Windows x86-64

MDAnalysis-2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (9.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.6.0-cp39-cp39-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

MDAnalysis-2.6.0-cp39-cp39-macosx_10_9_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for MDAnalysis-2.6.0.tar.gz
Algorithm Hash digest
SHA256 210b198a115165004c36fbbbe5eb83a13323f52b10ccaef30dd40bfe25ba3e61
MD5 556fb6650c1e161b55deb08d6fb4c670
BLAKE2b-256 b81b12f34fc28e41c12d05f299012fed63cedf2d733057ca5ea7ef1854efb027

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1a2004f27eb4313e6900373b36872107a6f6a6a4a0c8413881dabf4bea33924f
MD5 719ca86b79a8108ad0eb9a28314db98a
BLAKE2b-256 e70565e89dac4c27984d8c2b555e104aed258db02f8141ecea64422771c63a75

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7bdd84de306d82ee3d7b701e03c4418ecdfb44476cf2f4fc808262e1a51f723a
MD5 c6931be0698b72f8536b1f5fe398a400
BLAKE2b-256 8d1f662db1dc5887f1c7c0ed9022bb22c3dff8106efd74c7a589597260da3dcd

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ffd7fa92d47e950405287fd1e41c4621c3bf85de38aee5a451074f0a95036214
MD5 af62485ea7b8b8ea043f3007b1a6c2bd
BLAKE2b-256 5607c51e53ba655c3996993ed048b27b2ad472098ff111e140beddfa0f87a664

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e52385c3892b5aaf5f2441ee43611653576be5bed905079de51c1dc3bdf86a92
MD5 c7ff2c267b3c5791038535550ebd3c7a
BLAKE2b-256 e358d738cb229e6e908f37bd5b2d2cd9e947dff78b18178f971a9803c367b140

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7bf3538ca13a38150f2c1944d302f9ae56725e9622b8258015a65902b8caf8b0
MD5 e96a54bb7bcae4946778f8b8c1707fdf
BLAKE2b-256 ea0f6dc7ec68db8c42b0703fb7bb15885ac607e1f0f09f5a9c134035353629fe

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fe9aad677b924aa6ea274fde5957360bb2a5cc14c170e4da47900cb53e62f6c7
MD5 aa98546f8c0e1fec0f9f262613074fa2
BLAKE2b-256 3f517c5790085f4d61211b38872cce7217bdfb46fa28f7247d7e565f67521645

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 635807388e73b2133660bec37ec5522e23d420564a4f7be37d3377156808d9f3
MD5 a5cb631b1ea5a594dba3155acf424608
BLAKE2b-256 a491f997fe2ee6f6eda73cdbc97c3dc266ab8ea661bae1136e784e01ec2187e7

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aa7d560403e8d5d1a9f109abe50fc350a30f77fab0c267285b868de1bba929e6
MD5 ac336a6de34ba4231c08a73ef4551a34
BLAKE2b-256 8f0ba941f3e533117111e546b611aa234b6cf208dd209a0f58115b0861cd44af

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 106b0a779535a1cd1c7179201ee4a0e7777c4070f6ab2f306413cd9c6649814f
MD5 b93cfff014bb465b3feda57bc1ae77d7
BLAKE2b-256 ce3a500da42d4396e3a6e05cdd8aa9fcb4f1642ffded3e3e1bc1920804eb1969

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 08c9b0d7f7add8ae1e0be7fbb7a51e971a47ec1cd0215a25cafd5deb18a6b063
MD5 77f8f7c6fa0d6d4cb0f85283722e328e
BLAKE2b-256 7945b10fcce619623269182392859c7d4de1df939aa6e0a58bf18e01e66e9a0b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2349e432f6bea47e972fcb9f23e382d46bcd4a88fbfb8f7e2c9689f76ca68071
MD5 9664e31c9c8e51e4de25a37e43b7f040
BLAKE2b-256 a635cf1c6a669eabb4e6b9c66e5f60214eef0d111c82dca16c265afd9a1f61e5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9d5b3e8c1312d6c1013124d2cdbea569854450e6fcbf158bc0e013656a753e8
MD5 cc0115f592d6679cfdc71e92451677ea
BLAKE2b-256 9140c86f37f0bc281f1002e7f800acd1747c50b1b0cfe25beaba543e3a9f0104

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bb7391e4b436abbd514799c937c346dc4781bead2d351e35ed953b51f2d9070a
MD5 234e34ecab3c2f2c5505f3540a4deb70
BLAKE2b-256 4b0e8064c23b5cfab15a07c5669d72fb94bcf73b69ac36018073b9521760e21c

See more details on using hashes here.

Provenance

File details

Details for the file MDAnalysis-2.6.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 302f605c57e4daad0df780ce2e7fcfc338284fc67613bc01ff661b28216af9df
MD5 22c870359d553de1f5ad415d23847f1b
BLAKE2b-256 ad227fbf313b9bcb3fe390da1eaaeecb542f52a8abdd09dc94c106a8a30ac505

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dc71917ca488b82905484bf1a6b8ac51a30a776762544b0ef3e4cf21238a8101
MD5 5c3aa1f27be098b6b7c3645daf78e01a
BLAKE2b-256 1f19fe06d9d3a491eec7615d1a6b9804fd2b2f4f262a22cd1229eced619deb72

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