Skip to main content

An object-oriented toolkit to analyze molecular dynamics trajectories generated by CHARMM, Gromacs, NAMD, LAMMPS, or Amber.

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.

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

Uploaded Source

Built Distributions

MDAnalysis-2.2.0-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10 Windows x86-64

MDAnalysis-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

MDAnalysis-2.2.0-cp39-cp39-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

MDAnalysis-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

MDAnalysis-2.2.0-cp38-cp38-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

MDAnalysis-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.2.0-cp38-cp38-macosx_10_9_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: MDAnalysis-2.2.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for MDAnalysis-2.2.0.tar.gz
Algorithm Hash digest
SHA256 bf9c9b7a03404e65aad66215d4c2ff8834ab747551eeaee059ff3e599a99d322
MD5 855cfa9d175201a9a0fa49dbe064855c
BLAKE2b-256 5b73a077ff42d0cd88c5d3d6320fb156811cf67b28b5ea09a3c800e31af84b9b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ab6425af23ddf4299e0539fde098dc27baa79c11c88519d90135fb5547c107b5
MD5 1c2c0b09c944a4dd262be12a1322aee2
BLAKE2b-256 8d1de7355508ddd8254f4d67cae78675b48cf1fb0d91480b1ef6f836afb8d7fa

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 53ad2c9b61fb4108ad5608c2f2858c821b60d467d2df8752e12b7aed6f1a53dc
MD5 9e200b8da8bec0a32dd0de9ff7fe43e1
BLAKE2b-256 dd91227cddc28727e6d5ba1671f46657c9affe449d4259f9e598af74d1e878ae

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4bbcafba36b69c45fedd30ce7a2d1e1281c2fecd9885244680f035b1e1b22d22
MD5 719595f272a85c66f5d34a81c1fade1a
BLAKE2b-256 dae670ff5c7854cde5b6506cfd017f1b8271cb58f1d23f0d2e92b2119a5a2ab8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0d067a4fee8efe602b95809c21b69de1509da15dfee9e5de714fa139ce1a9157
MD5 f62b28ab6e0a9ea4dd9c796ed590ad56
BLAKE2b-256 835c464d58a27ce0e2b0f010b1c65d0b4149256a7c470f5076beee1928e5e9a9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 65039b454f310055f7bc2412fd49a5d25535f81ce87a7bdb0f91dfa7872d4bf9
MD5 8e5b1a1f92bc5f26b57c0e5e850a31bb
BLAKE2b-256 50d9af23d161bc9c50678f955d802b8cb1ab624e715ed7d86e8e14f86e4b8f80

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e1131feec575805932f36443d48375029faef60b60ba0680a86e43b3cdfa5ecb
MD5 29540c2f38a09a4e9f00fb09c5aea9f9
BLAKE2b-256 170fc96e22c0487dc4758d6cb895c0707c12e359b9e48d5022f7316df42f8c84

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 581ce428639f04a1d46a651be4c33139912714ed57c293b004de9e2fffe7d98b
MD5 361251558ca0103f7ef50d32b6954b16
BLAKE2b-256 bcc2e8ba8d35609854287ec30cdb80a79e8de33f1cd88fd05efd40bdb705b142

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ea58882acd14d1310b0a499d48256e2dbdaca5f160b56ddeebc1e81b9fbc4c18
MD5 0576b6c0c6072643b92cf0dd241a9329
BLAKE2b-256 f307a888f3fe052fb83ef68491a4f9e818bcf37e499492a206a3bd8e74f713bc

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cd43dc679ad2c41a9b7d4b0674ce9a319408e66106c1b2e60158f03dacd689f0
MD5 a4d4032216f6307b6b48ac21401eb5aa
BLAKE2b-256 bbd7e97e9ddf0dbc048765a02f2d16d09f62814ff12ab26d78ca00ee5ca5e21f

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