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 Cirrus CI - 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 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 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.6.1.tar.gz (4.2 MB view details)

Uploaded Source

Built Distributions

MDAnalysis-2.6.1-cp311-cp311-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.11 Windows x86-64

MDAnalysis-2.6.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.6.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (9.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.6.1-cp311-cp311-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

MDAnalysis-2.6.1-cp311-cp311-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

MDAnalysis-2.6.1-cp310-cp310-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.10 Windows x86-64

MDAnalysis-2.6.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.6.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (9.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.6.1-cp310-cp310-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

MDAnalysis-2.6.1-cp310-cp310-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

MDAnalysis-2.6.1-cp39-cp39-win_amd64.whl (3.8 MB view details)

Uploaded CPython 3.9 Windows x86-64

MDAnalysis-2.6.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

MDAnalysis-2.6.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (9.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

MDAnalysis-2.6.1-cp39-cp39-macosx_11_0_arm64.whl (3.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

MDAnalysis-2.6.1-cp39-cp39-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for MDAnalysis-2.6.1.tar.gz
Algorithm Hash digest
SHA256 9cc69b94bddd026f26ffcaf5bdbed6d568c1c10e19a341d84f8d37a2a70222f2
MD5 0c563eeac72adc1dac730bdd02f83545
BLAKE2b-256 c02aac39b12836ef0d27937b4765d8e17b09b94f7de9092d4cf657dd336f2663

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b88e802c2a0bebcf8e84307c6c19387b4548235ddc8d30e03bececf657097d6d
MD5 75ebe6f5316bebd243e4d3225b8d7933
BLAKE2b-256 c409f583d8a7cca23c493d89f85c4e82608c4ab20e47be9932c0ae508104d52d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f247e261e522029ce40edaf8e903e953e43f1669a5fb3003d621a8071f7364d1
MD5 27bcc568f6cade6907137d7d9c9622e3
BLAKE2b-256 bf5df07ae9f2294615f400bf49bd77efa0c0a44c653b50983cdf5e560f0e6da5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 892c0d8d9048781f064fb278b7c254aaad5c23e49bb1fbf05bca95501aa71ea6
MD5 37e022875b463954c5a4f56a4c117bd8
BLAKE2b-256 7bc2a7a75fa0aad84a812a79c75f043c2f866c3b976403516aebccc8bfac4df0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0af16a0c3777ee4ce35f670e2e09a493b686326464d3f0ef02ebad188960e6af
MD5 b322ec39337a5da006031c1868eb483e
BLAKE2b-256 c1347542d1f4ff58828d33500c4b7f93948131797a8fa193e1943090ef21157e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 278941835bb670b42f6de61f8ff70b10fafa42c591035efb11b3613a202645b7
MD5 f8f29da260b7fe5568bdc75e93402436
BLAKE2b-256 c503259de57764f65bba1e380628a2db0c5b4983d7644a3a294e31bd3d346792

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3108c8a285d7caf3e9eaf2073054a20227aa4342459009dc1817c469f6bb33bc
MD5 7c7d61fbabafe968f5acf513fd9e896a
BLAKE2b-256 23488f3d9538d15909542fa6db82eff31fc29da0a11978dcb92dcb49c315e2f6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86e8dd71707f92e2a68601042d2a7099bdcbdbc8b75688facc02535bc4012bc1
MD5 bab31ad07d51b63e17bb7f3313197b42
BLAKE2b-256 90c6c2ec55f7ef4a7fe1120ded656bdc8cbac9172c242d440d0cf4e3aac956ca

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0c585925e48ccfe458e536786cf73bfb009bed9234e8c1f59537c974adb7ef3f
MD5 67a301f4e50a577241edbef9b4712ff8
BLAKE2b-256 fe0abf186c0bc8332962a4e9085eafc5dd7672289453bf49c8daba95523e1e94

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82a0578459d8101009cf273311379c8d75a9b88a0b30c5b9ca51cd963bf9d8b1
MD5 940755c19b7bf52ded85f03c5a98d891
BLAKE2b-256 b3e307df8ad49734110f5fde7698259ae1e9469b54f5e5f81f7a1ce217b61a5f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8d5bae20c6ad527aa68fce768da6fa5f199f4960d7efc148cf957ca24ceff215
MD5 28a81d863951b20c06bda0de08bb09cc
BLAKE2b-256 d3179f60da41a30036dce229edf049995eec74aa62713b0d9648ed5f9aec3bad

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 535f6e538bb576bd7e1ef9d2c112ab562746c7d7ba4b7c70c4a1a4e68e36efc7
MD5 5795de46e8e89c491221ff5d6dc74b59
BLAKE2b-256 cdf49ad2217466d523c3285bae9610041e407c8d5ad7582b2783a553a38d07d6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e7f11597781282dc377ba1a78ed8fbc94147344da5055df30c08bfee012a2a0
MD5 d0343eae6022b515b8110c217e1e31af
BLAKE2b-256 a748c66fa9381aa89165f6d732f71103f39bfd42f8b6bfc7c901b9973b435344

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8c812739d64c33b53b32af37b3198100f7481a63f44230b87d38ffa0295d7c2e
MD5 1b26ce9c03a4e33ea022fa9ff5482b35
BLAKE2b-256 f0368d4a1d03188661563696e0c666a9bb3d1907c0acae4e518f495143380f8e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b92f58c32fb69cccd599af679ebf761627e8d872b49bab2041a7a633411e83a2
MD5 820cfc70ce2b56739ba35ba1536b5389
BLAKE2b-256 060b61f82278421c83499ca33e31d59b033c9302e32f99b9bf5cb6aa9acf9e54

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for MDAnalysis-2.6.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4021bc714b3529712702cd6dd33e503464cbdc4b6873d32e196a17c145dff923
MD5 86d43658224219d5c089a97550880385
BLAKE2b-256 90728c70e522431b5ecefd01c6c652004836ff41310e901db9f4671604f2a59d

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