PytrimAl |Stars|
================
.. |Stars| image:: https://img.shields.io/github/stars/althonos/pytrimal.svg?style=social&maxAge=3600&label=Star
:target: https://github.com/althonos/pytrimal/stargazers
`Cython `_ *bindings and Python interface to* `trimAl `_,
*a tool for automated alignment trimming.*
|Actions| |Coverage| |PyPI| |Bioconda| |AUR| |Wheel| |Versions| |Implementations| |License| |Source| |Mirror| |Issues| |Docs| |Changelog| |Downloads|
.. |Actions| image:: https://img.shields.io/github/actions/workflow/status/althonos/pytrimal/test.yml?branch=main&logo=github&style=flat-square&maxAge=300
:target: https://github.com/althonos/pytrimal/actions
.. |Coverage| image:: https://img.shields.io/codecov/c/gh/althonos/pytrimal?style=flat-square&maxAge=600
:target: https://codecov.io/gh/althonos/pytrimal/
.. |PyPI| image:: https://img.shields.io/pypi/v/pytrimal.svg?style=flat-square&maxAge=3600
:target: https://pypi.python.org/pypi/pytrimal
.. |Bioconda| image:: https://img.shields.io/conda/vn/bioconda/pytrimal?style=flat-square&maxAge=3600
:target: https://anaconda.org/bioconda/pytrimal
.. |AUR| image:: https://img.shields.io/aur/version/python-pytrimal?logo=archlinux&style=flat-square&maxAge=3600
:target: https://aur.archlinux.org/packages/python-pytrimal
.. |Wheel| image:: https://img.shields.io/pypi/wheel/pytrimal?style=flat-square&maxAge=3600
:target: https://pypi.org/project/pytrimal/#files
.. |Versions| image:: https://img.shields.io/pypi/pyversions/pytrimal.svg?style=flat-square&maxAge=3600
:target: https://pypi.org/project/pytrimal/#files
.. |Implementations| image:: https://img.shields.io/pypi/implementation/pytrimal.svg?style=flat-square&maxAge=3600&label=impl
:target: https://pypi.org/project/pytrimal/#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/pytrimal/
.. |Mirror| image:: https://img.shields.io/badge/mirror-EMBL-009f4d?style=flat-square&maxAge=2678400
:target: https://git.embl.de/larralde/pytrimal/
.. |Issues| image:: https://img.shields.io/github/issues/althonos/pytrimal.svg?style=flat-square&maxAge=600
:target: https://github.com/althonos/pytrimal/issues
.. |Docs| image:: https://img.shields.io/readthedocs/pytrimal?style=flat-square&maxAge=3600
:target: http://pytrimal.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/pytrimal/blob/main/CHANGELOG.md
.. |Downloads| image:: https://img.shields.io/pypi/dm/pytrimal?style=flat-square&color=303f9f&maxAge=86400&label=downloads
:target: https://pepy.tech/project/pytrimal
Overview
--------
PytrimAl is a Python module that provides bindings to trimAl using
`Cython `_. It directly interacts with the trimAl
internals, which has the following advantages:
.. grid:: 1 2 3 3
:gutter: 1
.. grid-item-card:: :fas:`battery-full` Batteries-included
Just add ``pytrimal`` as a ``pip`` or ``conda`` dependency, no need
for the trimAl binary or any external dependency.
.. grid-item-card:: :fas:`screwdriver-wrench` Flexible
Create input `~pytrimal.Alignment` objects programmatically through
the :doc:`Python API `.
.. grid-item-card:: :fas:`microchip` Efficient
Use the full power of your CPU with :wiki:`SIMD` instructions to
compute alignment statistics, selected with dynamic dispatch
on the runtime platform.
.. grid-item-card:: :fas:`check` Consistent
Get the same results as the most recent trimAl version
(``2.0``, unreleased), tested on a set of gold-standard alignments.
.. grid-item-card:: :fas:`toolbox` Feature-complete
Access all the features of the :doc:`original CLI `
through the :doc:`Python API `.
.. grid-item-card:: :fas:`circle-exclamation` Fault-tolerant
Recover errors occuring in trimAl as Python exceptions, including
an informative error message.
Setup
-----
Run ``pip install pytrimal`` 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 ``pytrimal``.
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 `GNU General Public License v3.0 `_.
trimAl is developed by the `trimAl team `_ and is distributed under the
terms of the GPLv3 as well.
*This project is in no way not affiliated, sponsored, or otherwise endorsed by
the original* `trimAl`_ *authors. It was developed by* `Martin Larralde `_ *during his
PhD project at the* `European Molecular Biology Laboratory `_
*in the* `Zeller team `_.