PytrimAl
#
Cython bindings and Python interface to trimAl, a tool for automated alignment trimming.
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:
Just add pytrimal as a pip or conda dependency, no need
for the trimAl binary or any external dependency.
Create input Alignment objects programmatically through
the Python API.
Use the full power of your CPU with SIMD instructions to compute alignment statistics, selected with dynamic dispatch on the runtime platform.
Get the same results as the most recent trimAl version
(2.0, unreleased), tested on a set of gold-standard alignments.
Access all the features of the original CLI through the Python API.
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
Installation page to find other ways to install pytrimal.
Library#
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.