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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

MDAnalysis-2.5.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.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.5.0-cp311-cp311-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

MDAnalysis-2.5.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.5.0-cp310-cp310-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

MDAnalysis-2.5.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.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.5.0-cp310-cp310-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

MDAnalysis-2.5.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.5.0-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

MDAnalysis-2.5.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.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.5.0-cp39-cp39-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for MDAnalysis-2.5.0.tar.gz
Algorithm Hash digest
SHA256 06ce4efab6ca1dbd2ee2959fc668049e1d574a8fe94ab948a4608244da1d016b
MD5 7f77e350b2df7e0f4c92091c63db4d2e
BLAKE2b-256 a849d03958061c86cbb2d2c8aa4019fd7cb575f5fd49988f6df69e957c64a28f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1d00263601818220807642575b4a8afbd4706f10431b2a855a854449836ac63d
MD5 fb5a4a621cc0b753482355709afdb48b
BLAKE2b-256 7b28c26a404ee253d0839b6ea21053b79e5662883b92b1672ff0e1678b679f44

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd044d5aae2ad85a543158b051bd0495ed9176f9cbfc4d8af72fd544e536cd3a
MD5 296a66e69383f5b35ba48fa3b94f8a1c
BLAKE2b-256 5ce60a150fec191ba3d421ae2ac183fc51bfddb0031fc4190e1832605158a845

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1f75ec4d9efd074b376a088991764007672e0aac90d3fda3af9231ccaee691f1
MD5 c97adffad02d8060b36356970775b1df
BLAKE2b-256 2fbcec355c860ef217518041358c33cf8d2905d0580daaa2946405deec5ea7f4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ba1aa04ffff56e8cb147d21ebc83eb48c4cc220bb0b06d385704608d19aa03d
MD5 c1076826eb0853f3edadeb88625b5d17
BLAKE2b-256 f28bc6f3db1e022b3716322528bcfdf3e806c56cdcf7713e9db70b75343db384

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 519d6358621adf8076e0e6f4293d67a95b9c2cf3fe41e939a35a0efd15c29f53
MD5 1137dbecf035620c1938ecf6c7e8fff5
BLAKE2b-256 4fa1af895e16f737ddec418f1b3da2a27868111eee59bef5816209531e3cae81

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ea9aa6526ee7330391fb016c6c861a885133c090a9d96d3cd024765a568fe415
MD5 cd22c658ecb5f0bdaaa9d6475ef45ccb
BLAKE2b-256 85214eff28643878504f800d87898d0e0d2f2719a1e3e5aa9b8a82985c889a41

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a1d2c1dac5c64ea65746284687b64c375aec697936b3b5efe2dbddbb22c4090
MD5 a32bacb1486364ee2debce3d7d77facd
BLAKE2b-256 dbb464e0f3cf5dd47884163c67dc45156878e0740c6b48c646821d259d004372

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 11b068a62e1231a0dc753cfcfdd4e8c0b95ed187e23b6efb8b9ff56d9bf47e85
MD5 eec3e8f95258d6082c975b523ea26d92
BLAKE2b-256 f773b385fbed9e3200647586572be9acd0b9ff860d6422d4679a34405a632818

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb0cc1ef63f272c6985e76ac6abb0e0bf27604b82cf7055ee3f3545eba86f737
MD5 a4363c820a7f4a5760bb8f790cc0876e
BLAKE2b-256 e471c597d18fa401a7335a4c809384468df34fafd44db206dbd575aadca22c5c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e8e5fefc8ad025761a21ace80a9275710bfc92009303f36087308731ba76215d
MD5 79b781f2fb848baebd214c448058616f
BLAKE2b-256 caa8c17eff9a6ddc6cf00823750a64787b0b4cce4d3e638e5bbbe05cfeaef483

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 103164110c00d2e7372dccb6ccfbcbe1f3e016cf0d1ad986f11f43f63f7770fa
MD5 de8012ac30bce80d13084db76ea0666f
BLAKE2b-256 b1b5fb8748f0b076b2d01df6f6d80bfcd6a94e07f1a9d35c636e085b511ca12d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 54a61f96669d94f20796547ef6497aab9a71f7bdc0d98bdcf5e74f065b499334
MD5 a110477f3249f1cb069ba905a96bbcb9
BLAKE2b-256 b98072619db87e3b6997b84a817605439aa2c37b0e083aada34e4d3a312f4ea5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 49af3a0c9d02fa6a6a29395423b55b7b7d99b7c5ac9fe1c81842555a00a61f57
MD5 d4c79a71203492247f166902b4045203
BLAKE2b-256 85037ae1477a01aa3b3b38cf87988316846fd65ba3a6572d00dfe83ea0d8f27f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d7173217810533cb364257e0090a7f879c8c2d1e7f0eff008a71e3559aeb25b
MD5 ea74fdd1f2edb5bda4e69356609994fc
BLAKE2b-256 5e35c174ccad552dd6ddbcd907b3ed000344e4ea4da82cd960d0e20a7c221c25

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.5.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6b2ef44358a7a5df851357271090e5d606924fb9a32188b3b17167d5054b2916
MD5 54c0512b2a6063495ffcdac77deeb025
BLAKE2b-256 36c46d7e584d3dbccc8f197ed6acc47ec8c72dc4a11b101192c91d122079ec17

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