Skip to main content

Parallel Molecular Dynamics Analysis tools

Project description

Build Status Coverage PRs welcome DOI conda release

Ready to use analysis and buildings blocks to write parallel analysis algorithms using MDAnalysis with dask.

For example, run a rmsd analysis on all available cores:

import MDAnalysis as mda
from pmda import rms

u = mda.Universe(top, traj)
ref = mda.Universe(top, traj)

rmsd_ana = rms.RMSD(u.atoms, ref.atoms).run(n_jobs=-1)

print(rmsd_ana.rmsd)

By default PMDA use the multiprocessing scheduler of dask. This is sufficient if you want to run your simulation on a single machine. If your analysis takes a very long time (>30 min) you can also spread it to several nodes using the distributed scheduler. To do this you can pass a scheduler keyword argument to the run method.

To write your own parallel algorithms you can subclass the pmda.parallel.ParallelAnalysisBase class.

License and source code

PMDA is released under the GNU General Public License, version 2 (see the files AUTHORS and LICENSE for details).

Source code is available in the public GitHub repository https://github.com/MDAnalysis/pmda/.

Installation

Install a release with pip

The latest release is available from https://pypi-hypernode.com/project/pmda/ and can be installed with pip

pip install --upgrade pmda

Development version from source

To install the latest development version from source, run

git clone git@github.com:MDAnalysis/pmda.git
cd pmda
python setup.py install

Getting help

Help is also available through the MDAnalysis mailing list

https://groups.google.com/group/mdnalysis-discussion

Please report bugs and feature requests for PMDA through the Issue Tracker.

Contributing

PMDA welcomes new contributions. Please drop by the MDAnalysis developer mailing list to discuss and ask questions.

To contribute code, submit a pull request against the master branch in the PMDA repository.

Citation

If you use PMDA in published work please cite [Linke2018].

[Linke2018]

Max Linke, & Oliver Beckstein. (2018, May 11). MDAnalysis/pmda: 0.1.0 (Version 0.1.0). Zenodo. http://doi.org/10.5281/zenodo.1245759

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

pmda-0.2.1.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

pmda-0.2.1-py2.py3-none-any.whl (34.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pmda-0.2.1.tar.gz.

File metadata

  • Download URL: pmda-0.2.1.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for pmda-0.2.1.tar.gz
Algorithm Hash digest
SHA256 09230b15c2efdf10ca7402d28e387e4cde5e1c2fa471dbd537b47c26944359fb
MD5 d93143d9241507e1feee0ba350bd06f5
BLAKE2b-256 25458a9ef188ac5dc8fe611495ef0083673fbd05eb7d8828b19d3566d6715a91

See more details on using hashes here.

File details

Details for the file pmda-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pmda-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for pmda-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c524625f99b2915d54ed54f1d155c6fe7fb7ac0d3da0ad593d63161d1e29510e
MD5 d5a7f6a554884399e878c453771c2af3
BLAKE2b-256 d8fcedd4028bb646bfd88ad21eee19cbfd3236345008dd103ff26e166dc0bb42

See more details on using hashes here.

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