|Logo| PyHMMER |Stars| ====================== .. |Logo| image:: /_images/logo.png :scale: 40% :class: dark-light .. |Stars| image:: https://img.shields.io/github/stars/althonos/pyhmmer.svg?style=social&maxAge=3600&label=Star :target: https://github.com/althonos/pyhmmer/stargazers :class: dark-light *Cython bindings and Python interface to* `HMMER3 `_. |Actions| |Coverage| |PyPI| |Bioconda| |AUR| |Wheel| |Versions| |Implementations| |License| |Source| |Mirror| |Issues| |Docs| |Changelog| |Downloads| |Paper| |Citations| .. |Actions| image:: https://img.shields.io/github/actions/workflow/status/althonos/pyhmmer/test.yml?branch=master&logo=github&style=flat-square&maxAge=300 :target: https://github.com/althonos/pyhmmer/actions .. |GitLabCI| image:: https://img.shields.io/gitlab/pipeline/larralde/pyhmmer/master?gitlab_url=https%3A%2F%2Fgit.embl.de&logo=gitlab&style=flat-square&maxAge=600 :target: https://git.embl.de/larralde/pyhmmer/-/pipelines .. |Coverage| image:: https://img.shields.io/codecov/c/gh/althonos/pyhmmer?logo=codecov&style=flat-square&maxAge=600 :target: https://codecov.io/gh/althonos/pyhmmer/ .. |PyPI| image:: https://img.shields.io/pypi/v/pyhmmer.svg?style=flat-square&maxAge=3600 :target: https://pypi.python.org/pypi/pyhmmer .. |Bioconda| image:: https://img.shields.io/conda/vn/bioconda/pyhmmer?ogo=anaconda&style=flat-square&maxAge=3600 :target: https://anaconda.org/bioconda/pyhmmer .. |AUR| image:: https://img.shields.io/aur/version/python-pyhmmer?logo=archlinux&style=flat-square&maxAge=3600 :target: https://aur.archlinux.org/packages/python-pyhmmer .. |Wheel| image:: https://img.shields.io/pypi/wheel/pyhmmer?style=flat-square&maxAge=3600 :target: https://pypi.org/project/pyhmmer/#files .. |Versions| image:: https://img.shields.io/pypi/pyversions/pyhmmer.svg?logo=python&style=flat-square&maxAge=3600 :target: https://pypi.org/project/pyhmmer/#files .. |Implementations| image:: https://img.shields.io/pypi/implementation/pyhmmer.svg?logo=python&style=flat-square&maxAge=3600&label=impl :target: https://pypi.org/project/pyhmmer/#files .. |License| image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square&maxAge=3600 :target: https://choosealicense.com/licenses/mit/ .. |Source| image:: https://img.shields.io/badge/source-GitHub-303030.svg?maxAge=2678400&style=flat-square :target: https://github.com/althonos/pyhmmer/ .. |Mirror| image:: https://img.shields.io/badge/mirror-EMBL-009f4d?style=flat-square&maxAge=2678400 :target: https://git.embl.de/larralde/pyhmmer/ .. |Issues| image:: https://img.shields.io/github/issues/althonos/pyhmmer.svg?style=flat-square&maxAge=600 :target: https://github.com/althonos/pyhmmer/issues .. |Docs| image:: https://img.shields.io/readthedocs/pyhmmer?style=flat-square&maxAge=3600 :target: http://pyhmmer.readthedocs.io/en/stable/?badge=stable .. |Changelog| image:: https://img.shields.io/badge/keep%20a-changelog-8A0707.svg?maxAge=2678400&style=flat-square :target: https://github.com/althonos/pyhmmer/blob/master/CHANGELOG.md .. |Downloads| image:: https://img.shields.io/badge/dynamic/regex?url=https%3A%2F%2Fpepy.tech%2Fprojects%2Fpyhmmer&search=downloaded%20(%5B0-9%2C.%20kM%5D%2B)%20times&replace=%241&style=flat-square&label=downloads&color=303f9f&cacheSeconds=86400 :target: https://pepy.tech/project/pyhmmer .. |Paper| image:: https://img.shields.io/badge/paper-Bioinformatics-teal.svg?style=flat-square&maxAge=3600 :target: https://doi.org/10.1093/bioinformatics/btad214 .. |Citations| image:: https://img.shields.io/badge/dynamic/regex?url=https%3A%2F%2Fbadge.dimensions.ai%2Fdetails%2Fid%2Fpub.1157360482&search=%3Cdiv%20class%3D%22count%22%3E(%5Cd*)%3C%2Fdiv%3E&replace=%241&style=flat-square&label=citations&cacheSeconds=3600 :target: https://badge.dimensions.ai/details/id/pub.1157360482 Overview -------- HMMER is a biological sequence analysis tool that uses profile hidden Markov models to search for sequence homologs. HMMER3 is maintained by members of the the `Eddy/Rivas Laboratory `_ at Harvard University. ``pyhmmer`` is a Python module, implemented using the `Cython `_ language, that provides bindings to HMMER3. It directly interacts with the HMMER internals, which has the following advantages over CLI wrappers: .. grid:: 1 2 3 3 :gutter: 1 .. grid-item-card:: :fas:`battery-full` Batteries-included Just add ``pyhmmer`` as a ``pip`` or ``conda`` dependency, no need for the HMMER binaries or any external dependency. .. grid-item-card:: :fas:`screwdriver-wrench` Flexible Create input `~pyhmmer.easel.Sequence` and `~pyhmmer.plan7.HMM` objects with the :doc:`API `, or load them from a file. .. grid-item-card:: :fas:`gears` Practical Retrieve nested results as dedicated `~pyhmmer.plan7.TopHits` objects, write them to a file, or use them for further Python analysis. .. grid-item-card:: :fas:`gauge-high` Fast Run `hmmsearch` in parallel using an efficient threading model, which :doc:`outperforms ` HMMER in some typical usecases. .. grid-item-card:: :fas:`dolly` Shareable :doc:`Distribute and load ` `~pyhmmer.plan7.HMM` objects from inside a Python package to facilitate sharing analyses. .. grid-item-card:: :fas:`eye` Transparent Access the internals of a `~pyhmmer.plan7.HMM`, inspect the attributes and manually edit transitions or emissions scores. Setup ----- Run ``pip install pyhmmer`` in a shell to download the latest release and all its dependencies from PyPi, or have a look at the :doc:`Installation page ` to find other ways to install ``pyhmmer``. Citation -------- PyHMMER is scientific software, with a `published paper `_ in the `Bioinformatics `_ journal. Check the :doc:`Publications page ` to see how to cite PyHMMER. Library ------- .. toctree:: :maxdepth: 2 User Guide Examples API Reference Related Projects ---------------- The following Python libraries may be of interest for bioinformaticians. .. include:: related.rst License ------- This library is provided under the `MIT License `_. The Easel and HMMER3 codes are available under the `BSD `_ and `BSD 3-clause `_ licenses respectively, which both allow redistribution of the sources in the ``pyhmmer`` distribution. See the :doc:`Copyright Notice ` section for more information. *This project is in no way not affiliated, sponsored, or otherwise endorsed by the original* `HMMER `_ *authors. It was developed by* `Martin Larralde `_ *during his PhD project at the* `European Molecular Biology Laboratory `_ *in the* `Zeller team `_.