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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.9 Windows x86-64

MDAnalysis-2.4.3-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.3-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.3-cp38-cp38-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

MDAnalysis-2.4.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: MDAnalysis-2.4.3.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.3.tar.gz
Algorithm Hash digest
SHA256 c4fbdc414e4fdda69052fff2a6e412180fe6fa90a42c24793beee04123648c92
MD5 a5fbbf2c6e7b1774fe6fcbc42be97838
BLAKE2b-256 6b21c8e7b9655e7819e6e12fd45b35175a13b73262626aefa0a2d1c6766708bc

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6e25c5549845c0fcdfca4799bc96d9d59f1f28c58db03023fd029f9c3209e7f6
MD5 ebe3ce80a67745801d360876ccc87cea
BLAKE2b-256 afb3b906d3a800e414049e88d84819ac93fb790ee3d9ef7b9561a1fec97910f4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f3da790db03d26870636eb8f6c909546ef822ee370edfd8530dca580b271f7b
MD5 d82acff5d0649c29e46922a020a66d6c
BLAKE2b-256 dbbf5e26758e34fd7573d1f1437664009c4940fbe62e89b372640576b7c00edc

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 512ee08b9c4bef61b3579527cb953a3a7c533e60c1ab5af8adc20e056fbd3014
MD5 a4017a483470d34314f0e1bf280b2dce
BLAKE2b-256 0aea4d2009e7a20642050da1bfbb61b96153961087c71cb41f60c0d0309a0e9f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f4ae8125520a464ec56eb5575321528689b5ff4c4ad0aea488e8262b3af27ee5
MD5 90ce6fb7b02cd331d9f137465245793f
BLAKE2b-256 da2333758010c6a4a39f1d7548da0760e89447a67a52f65ca44fe8c61739f2ec

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e1bb7277ce0a89cd6e3d1ef0ab83d1f203dc16c6cf76c48f47bec85ac5f87530
MD5 292f2984c37b78f6d655c13c251cd19b
BLAKE2b-256 bbe35c3f39b1d9eb8d583d9c1e6284283895e0cd530bf444512a462637f65918

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 420ff2df9599e3e582a5e1cca8d43a07bbbad99a19138eb16f7d532b152735d6
MD5 02d57ef1a326209a8800ef33f0cb6910
BLAKE2b-256 80b5bd5da798ba3dc191d9c4bfe3c130db1c93b917dd85b398fb3cafabeefffe

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2c95431cae952522103491c8f90842a8695bbdb4818f7ea541bf8e0bcf82d0f6
MD5 2913ad97b2f3189adb6c9b5b16ff7c78
BLAKE2b-256 01a91851961fb6f7a64d837de8ecbd4548c42e4066b303ac095498169f8c64e9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 118d5a2dbd2b1f5d282bb381ce48428c0ecac994174a6316667cbf17edade33b
MD5 b840aeb0cd8beda746ee9f382b9861b6
BLAKE2b-256 275c17e47fa60624834e70c34f4625cd6105d621fc055bc59339173e71450a6e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2f7ef80f1a55d6274edd689be9cf19fedcc257f2764e7dede272da06520b6dc3
MD5 6c8abf96205bdc74200489414a876b36
BLAKE2b-256 91be9896583934126d2207d79c9fd1bd19918b1652fafb2d09489e7306c5cbc6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3cb969f0768dedc0dc0b6ad62ed483e832f88fe0d96658a31037c9f26fbe0f46
MD5 dde86319a5c481fee52812f0dfb5d0f2
BLAKE2b-256 eb74ab6867e602e5fc30f21ee6fe8669f42c4f47b8b7cc0b5686cad60a2ed7be

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f33d86bbc87b61ac183a7f71efd229ad1542440041a019d89b887ee04e17b9b
MD5 2887bc849ec338a63b3e240c56f4d62f
BLAKE2b-256 f77505c14b9784df8b7e06d270089ea9438323cd781d6897d870e13347a1d497

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 28e2a6243588a618a21bd9c4404da11fc9a3fe8446f56c991e1cb186fc103cd7
MD5 00d4946d15bdde24f52caf8aacbfa590
BLAKE2b-256 4c37fbd81452243dffbda76b234e5830cd44be85efe97d0b1839b0a7378a36d2

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