Skip to main content

the simple alchemistry library

Project description

alchemlyb: the simple alchemistry library
=========================================

|doi| |docs| |build| |cov| |anaconda|

**alchemlyb** makes alchemical free energy calculations easier to do
by leveraging the full power and flexibility of the PyData stack. It
includes:

1. Parsers for extracting raw data from output files of common
molecular dynamics engines such as `GROMACS`_, `AMBER`_, `NAMD`_
and `other simulation codes`_.

2. Subsamplers for obtaining uncorrelated samples from timeseries data
(including extracting independent, equilibrated samples
[Chodera2016]_ as implemented in the pymbar_ package).

3. Estimators for obtaining free energies directly from this data, using
best-practices approaches for multistate Bennett acceptance ratio (MBAR)
[Shirts2008]_ and BAR (from pymbar_) and thermodynamic integration (TI).

.. _GROMACS: http://www.gromacs.org/
.. _AMBER: http://ambermd.org/
.. _NAMD: http://www.ks.uiuc.edu/Research/namd/
.. _`other simulation codes`: https://alchemlyb.readthedocs.io/en/latest/parsing.html
.. _`pymbar`: http://pymbar.readthedocs.io/


Installation
------------

**Install** via ``pip`` from `PyPi (alchemlyb)`_ ::

pip install alchemlyb

or as a `conda`_ package from the `conda-forge (alchemlyb)`_ channel
::

conda install -c conda-forge alchemlyb


**Update** with ``pip`` ::

pip install --update alchemlyb

or with ``conda`` run ::

conda update -c conda-forge alchemlyb

to get the latest released version.

.. _`PyPi (alchemlyb)`: https://pypi-hypernode.com/project/alchemlyb/
.. _`conda`: https://conda.io/
.. _`conda-forge (alchemlyb)`: https://anaconda.org/conda-forge/alchemlyb

Getting involved
----------------

Contributions of all kinds are very welcome.

If you have questions or want to discuss alchemlyb please post in the `alchemlyb Discussions`_.

If you have bug reports or feature requests then please get in touch with us through the `Issue Tracker`_.

We also welcome code contributions: have a look at our `Developer Guide`_. Open an issue with the proposed fix or change in the `Issue Tracker`_ and submit a pull request against the `alchemistry/alchemlyb`_ GitHub repository.

.. _`alchemlyb Discussions`: https://github.com/alchemistry/alchemlyb/discussions
.. _`Developer Guide`: https://github.com/alchemistry/alchemlyb/wiki/Developer-Guide
.. _`Issue Tracker`: https://github.com/alchemistry/alchemlyb/issues
.. _`alchemistry/alchemlyb`: https://github.com/alchemistry/alchemlyb



References
----------

.. [Shirts2008] Shirts, M.R., and Chodera, J.D. (2008). Statistically optimal
analysis of samples from multiple equilibrium states. The Journal of Chemical
Physics 129, 124105.

.. [Chodera2016] Chodera, J.D. (2016). A Simple Method for Automated
Equilibration Detection in Molecular Simulations. Journal of Chemical Theory
and Computation 12, 1799–1805.


.. |doi| image:: https://zenodo.org/badge/68669096.svg
:alt: Zenodo DOI
:scale: 100%
:target: https://zenodo.org/badge/latestdoi/68669096

.. |docs| image:: https://readthedocs.org/projects/alchemlyb/badge/?version=latest
:alt: Documentation
:scale: 100%
:target: http://alchemlyb.readthedocs.io/en/latest/

.. |build| image:: https://github.com/alchemistry/alchemlyb/actions/workflows/ci.yaml/badge.svg?branch=master
:alt: Build Status
:scale: 100%
:target: https://github.com/alchemistry/alchemlyb/actions/workflows/ci.yaml

.. |cov| image:: https://codecov.io/gh/alchemistry/alchemlyb/branch/master/graph/badge.svg
:alt: Code coverage
:scale: 100%
:target: https://codecov.io/gh/alchemistry/alchemlyb


.. |anaconda| image:: https://anaconda.org/conda-forge/alchemlyb/badges/version.svg
:alt: anaconda package
:scale: 100%
:target: https://anaconda.org/conda-forge/alchemlyb

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

alchemlyb-2.0.1.tar.gz (84.8 kB view details)

Uploaded Source

Built Distribution

alchemlyb-2.0.1-py3-none-any.whl (86.0 kB view details)

Uploaded Python 3

File details

Details for the file alchemlyb-2.0.1.tar.gz.

File metadata

  • Download URL: alchemlyb-2.0.1.tar.gz
  • Upload date:
  • Size: 84.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for alchemlyb-2.0.1.tar.gz
Algorithm Hash digest
SHA256 1f40e38f9075771d087f4f48ae5d11dd44a91d480f8c82b49ac51ad5cca1c7b3
MD5 295e4af0346aeb81ac3b1f7e34a1c661
BLAKE2b-256 12f06dac6fdefc5a6146cb6833a3b8e532e49acc29edfab392b6e8c083364d2b

See more details on using hashes here.

File details

Details for the file alchemlyb-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: alchemlyb-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 86.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for alchemlyb-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01c9b353c33465f85b64ffd807665fd09699b26e8748de7396107d0f551c0b0d
MD5 39c1e9fd8a26bef62db6d2d949852abe
BLAKE2b-256 7e558242c282a3e6c2f8b9f85a82a3bedef3483a441d830288327719c8ca477d

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