An object-oriented toolkit to analyze molecular dynamics trajectories.
Project description
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.
This project is bound by a Code of Conduct.
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 GitHub Discussions.
If you are a new developer who would like to start contributing to MDAnalysis get in touch on GitHub Discussions. 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file MDAnalysis-2.7.0.tar.gz
.
File metadata
- Download URL: MDAnalysis-2.7.0.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572e82945e5d058e3749ec5f18e6b3831ef7f2119cb54672567ae9a977201e93 |
|
MD5 | 0419cf21a90bd8a5c012c80d1865f47f |
|
BLAKE2b-256 | 3e67c4ec984d4648c2435717fe8f35c54f22d6375eb0383060f8ebc21587bd13 |
File details
Details for the file MDAnalysis-2.7.0-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bcc653057e8ea6f35a32e9993d840ae919842fa0756a966966d6eedc1072ee5 |
|
MD5 | af3f7692789308dc58e47e941b1aaab4 |
|
BLAKE2b-256 | 5845756cd590d7bbd2056471534d2fba26f984fcb982b1fbf5caba865ac3ef01 |
File details
Details for the file MDAnalysis-2.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.5 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf975db416007242e5674ff44803ce8e36313c5602f401244858e26e848b9411 |
|
MD5 | 06163ced0efa7fb9f4eed7d00d0a9abf |
|
BLAKE2b-256 | f39696574e2c7daae1bbb245480682c3e625e46933bcc95102385ea375566a60 |
File details
Details for the file MDAnalysis-2.7.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 10.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5613c102d2ba4ac6ff2527ba9ea1b2564fdd90f3e06e921752bbcad82c6b173e |
|
MD5 | 4cc36386339f270490dc6fabb3b2a798 |
|
BLAKE2b-256 | ffc3c97adab6fefa4b68a74a7408706f9eb2c49764a71caecba10c035c04ceeb |
File details
Details for the file MDAnalysis-2.7.0-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf7c158a65e032d15ef63cc08a6790d87ec3d7ee6037eb778d1959aec6c305a |
|
MD5 | 7f2f3b8d61b85d077089d3cf3f44d1fa |
|
BLAKE2b-256 | d5452309365fa1ec351788ed3c21725f1268613c988db0597efcce32a5b982e2 |
File details
Details for the file MDAnalysis-2.7.0-cp312-cp312-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp312-cp312-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.12, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486794d7e957e959f612e1f664878e0244594864c057bff0748eca6fef7d1523 |
|
MD5 | de933875c66f303d6235cfaab16f5d50 |
|
BLAKE2b-256 | c10a59a809a628abfebc38d55b3db39bdd42bc96bbcdd9adc3c93de017568c29 |
File details
Details for the file MDAnalysis-2.7.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea51334fb3cc45475003e992c63205f5c5ea34920154ab2cea9d44120b5904b |
|
MD5 | 544f840cf9091d616f889bf91e9ac595 |
|
BLAKE2b-256 | 864d19a9e60893044ce103ed9def619e7916ff8f341b1f967a1b7767f08c969a |
File details
Details for the file MDAnalysis-2.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.6 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd4b24cfb5fc63e9ae758251af947702f1a033f9bb38e54e206453c6afd3db0 |
|
MD5 | e651c0b8f2b5bb405f03f743b0a3c1d4 |
|
BLAKE2b-256 | b1b78283e114b1addda0ec0ff13171655254bc47cee9b2d57b4ca72d6f70ed47 |
File details
Details for the file MDAnalysis-2.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 10.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9358a88e4558febc4eca58dc69aeaf836b8eacc92556e0205c6c40497907e3ab |
|
MD5 | e1362cd1437d68487fe073e21a89c570 |
|
BLAKE2b-256 | 0d3ce9982ef4e0ffb376defe9ddac248cb49093a3eb7e32d11d517aa65faa32f |
File details
Details for the file MDAnalysis-2.7.0-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be89d52e3442d58b65eef89626147d1e319a7912a913c7fccd78ba878418800 |
|
MD5 | 61b02bcfd856e91abd4665192c3d0f01 |
|
BLAKE2b-256 | 62d17dcc25e742929fb49fcb72c2822d3d00a24b48ba786e8833882883d2c72d |
File details
Details for the file MDAnalysis-2.7.0-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45a6ad90705ff50ddae7f0d7a2b3ddfd0185e3e8314930874b9fc3ac56853ec9 |
|
MD5 | c26074b4dfddaa5a1f7c6d3852e1920c |
|
BLAKE2b-256 | 126190e5be61437b90106f07f05f61b794b4694313f30c59a5c15a00ae65800b |
File details
Details for the file MDAnalysis-2.7.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348372eacd74a6be0cd7e2af9a5d6f0aae6b86c16868937bd57f4636e4e6141e |
|
MD5 | 0ad5ac2ceabd8b94454d8b3a4334f6fa |
|
BLAKE2b-256 | 77592907931e82c2ca834a5a8128b792aec2475fee0f9a0fcef1ec7aa68f5fb7 |
File details
Details for the file MDAnalysis-2.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f6924273c498c7134cfe985f2779ebf2f1d4204161c354ae8175779a20794e9 |
|
MD5 | 31524cf7c0f957e1432369d3f195474c |
|
BLAKE2b-256 | 5522bbca0189de20e3db885fea4489b4566454402639d4c9d8897c4b7d221775 |
File details
Details for the file MDAnalysis-2.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 9.9 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd8d2d5318f5adaa2b4143c60f5006bb9f5ef294eea87bea5b35127cc8f30399 |
|
MD5 | 0f4bc1e9a782a64a6d1d7306ba6f0dd3 |
|
BLAKE2b-256 | c437b0d4fc7e712feb13fe95fb1250805388f1e366fd4fdaa247025e579d2676 |
File details
Details for the file MDAnalysis-2.7.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9f5506b70614aa21974488c61b150dcf443c2ef50bacba0ff9c5369fdd1dec8 |
|
MD5 | 6533037207961479eabeb03940c2ae07 |
|
BLAKE2b-256 | 317022ff9aa6b28b87f4a1b64d07d008ec6a7ef6f53d3251b41bdf0b35eecbd0 |
File details
Details for the file MDAnalysis-2.7.0-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 752a7e79f2195e284bd5c6c74510e7a587050aa15a5fd5d1f0b1c173238c7f9e |
|
MD5 | 2d57304dcad909379164325dd6944761 |
|
BLAKE2b-256 | ffdaba9ab45fa9a082834cd4b3ca8cede9ba3e23aa03bb8867a33e1d623489fa |
File details
Details for the file MDAnalysis-2.7.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345043a6365237a55d20f8dc0e31aa1d4e09e348ca8e1877dee6a2a6f6500c0b |
|
MD5 | 31125df523f9c55d1fc08c7b9b9572d0 |
|
BLAKE2b-256 | c6038bdabb256d010f73fc94102264b8b2cb9018000a797a88561815743d3eee |
File details
Details for the file MDAnalysis-2.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.1 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501a473d65ef6e296f50a8d246a77f31ca41752be1f7edc76f88e468d672a41d |
|
MD5 | ff7f52060d4e04a532e2493ba0c51010 |
|
BLAKE2b-256 | 8e79b2731e5db9fa512ce12ebe9696a8ea6b1df2aa3495797dee92e92e1dacaf |
File details
Details for the file MDAnalysis-2.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 10.0 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81dfcd1f519fd288921eda7f97db0d1d287d55645c5cbe96031baf6209bfd2f5 |
|
MD5 | 801dc7ad710ad5d1c05f28498880f17a |
|
BLAKE2b-256 | 95e381606a3f65d2a3ed7e8494cb00edd1461e54b16c37e61e99db17041753eb |
File details
Details for the file MDAnalysis-2.7.0-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd57db448afd1b73f0ea8954f3f1fdf9033442d18cc9f2ef3f1c59930a24e0b |
|
MD5 | 5251ef0584ece47106f5beb465b018da |
|
BLAKE2b-256 | 0123312ce77181799b5cbad48ff1857e009345a09072bd7ee39ea99815dde44e |
File details
Details for the file MDAnalysis-2.7.0-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: MDAnalysis-2.7.0-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7dc2b9601126cdd19e2b39ee38fc359977f5ab949ae416fc2470b110fc2c75a |
|
MD5 | 33da08e11d837533304967443797c4ea |
|
BLAKE2b-256 | 8dc1fefe27a9c75d67100c8417378811b1845dc57bc1e9a8ed3edac2c3d39e70 |