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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

MDAnalysis-2.4.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: MDAnalysis-2.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6c960741b22bb8ab3994c011629c64df56ce1f5cef748adc02fb03f3909b727e
MD5 c370a5a478188de0f100fdbd6705da02
BLAKE2b-256 8fc0eba86324ca52fe66db629a4d805729ad8ac3364e3adad532c063b52b7051

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 92c8cac2d3c9f10b6dedbbbcf3d47fc57cb8e71a2f5994964a88ad5ca0d74bde
MD5 01381581cd35cedc417b8e77262cfe3f
BLAKE2b-256 011ea7dcf4f55b7dd624edaa4fa6b47d202fd3884c5b73ce13ac81fdaee0339b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09f1d2e17684a236d5784fcf1b12a89037bc1f0f02e4b569244d07ea739e26d7
MD5 6a64ac57fa705448bac7ef84f0c0ee25
BLAKE2b-256 db6eb396db627091d47b6f224f02cb08739c8a8ef697ee9949f3d4be81cc8ddf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5b7b92267675e8f7d4aac69c355785bc46ee3fab411cf610700f13b5fa016cff
MD5 c59ed300705c313ad9347f5953b7b937
BLAKE2b-256 9dae3ae3b51a0adb99099572052b05e6202efc2f1a02795ed8f9de5b2b0ef154

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3c25848c158f48109501bfb9dacff99bd2c4dd06fa7b0ab6bfd4e871be900aee
MD5 33f3eeff602d058a001e9025fd62e954
BLAKE2b-256 ba9d5f2429ee496079a2969b9b03850ab5fd5f5be242119b088855fd49f6f6e6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba6474bcb9a16822522abcf5bdcb77c7a3dd082f308d2cdf16d58f20cd7b6112
MD5 42ae2a16f30ef2e6fb184e9cb7640705
BLAKE2b-256 9b9159b0303d555fe946144daeeb3484f8dae716ae78c4105d40647d83bda678

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 74dc3c470acfa1495938bd33df0b159ae9630c3f9d0280216a76925458f173af
MD5 5f90a5afd0cbc1acf476d5bdb849a286
BLAKE2b-256 2759cd13f05e4a4dba1a96f818ab99619cf45dd4980086a69326ef9d973073cd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e1d6d60a41ae86106816078f8383288591d4e0327373cdba3f18316f55478b3e
MD5 d6a9e5a05436218532f79d237839ecf9
BLAKE2b-256 83d8e99fcc0339181b0ffe3fac620f884241bd502bb392696e2429984c3ea81d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84da891f362bcdd011d5646f8e98f00445c46125130c8093bd536428929db0db
MD5 a105b79453b638d509dc58168d27621f
BLAKE2b-256 643f4a0d22c2b5bad72be6c07c31c6e9e870e6b3a50142edc97962830bbe22ad

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 46b1cbc68fd0519842ee30ba773c2bd4ec1964bc9b88fb8da6fc213fc4c6d9b8
MD5 26f3dc1b42affbb4a3f3ad7e70c6978b
BLAKE2b-256 3d591a669cb57701c883c0b2e36742fd5d7a250a71fc24e369c57db71496481f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 73a18b24f74a2482e3e22d70a27ca17220bb876d8a9ac1de0122bca43f6e5ab2
MD5 2876adddad431af186386b697190e1ba
BLAKE2b-256 a43fc3961c791f4ab6128fbde66d5829b53d8e89a67ac3d4c23850b58c267206

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a5391aaed3a8296f411c16cdcfbbd4c0e457c287944392e67249f877bb265360
MD5 e5da05c425ee0fdb3a4351da3de4f9bb
BLAKE2b-256 8a3d34bc8f592d832ec464e427ecf09c62898a128a41c3f1ae142a1d9f9f2646

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.4.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 38ae1001f9a25a480179001b317371e6dd991ba4c38d50f3f6f537a92261e4db
MD5 90cbcfd14d61925e1f1a4e78a2b73639
BLAKE2b-256 c8e51f68f743a1ad1b9a09d2047cc55c6565e5c835c2a444686e8458f5dac831

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