A Python API for interactive phylogenetics
Phylogenetics is a minimal Python API that makes phylogenetics interactive and reproducible. It's main purpose is to take you from a multiple sequence alignment to a set of ancestral sequences.
Initialize a PhylogeneticsProject
object, add your alignment, and analyze
your tree all in the Jupyter notebook.
.. code-block:: python
from phylogenetics import PhylogeneticsProject
project = PhylogeneticsProject(project_dir='project')
project.read_data(dtype='tips', path='alignment.fasta', schema='fasta')
project.compute_tree() project.compute_ancestors()
.. image:: docs/_images/jlab.png :align: center
Install from PyPi:
.. code-block::
pip install phylogenetics
To install a development version:
.. code-block::
git clone https://github.com/Zsailer/phylogenetics cd phylogenetics pip install -e .
Phylogenetics manages phylogenetics data. Currently, it doesn't do any of the phylogenetic calculations itself. For this, it uses wraps external tools like:
Phylogenetics is built on top of following python stack: