Simulation of phylogenetic trees, sequences and genomes


License
GPL-3.0
Install
pip install asymmetree==2.2.1

Documentation

AsymmeTree

Logo

license: GPL v3 pypi version

AsymmeTree is an open-source Python library for the simulation and analysis of phylogenetic scenarios. It includes a simulator for species and gene trees with heterogeneous evolution rates, nucleotide and amino acid sequences with or without indels, as well as whole genomes/proteomes.

Moreover, it includes a matplotlib-based visualization of the simulated trees as well as tools for the extraction of information from the simulated scenarios such as orthology, best matches, and xenology.

The library is primarily designed to explore and validate mathematical concepts, and to test inference methods for various steps on the way to more realistically-available data, i.e., dated gene trees, additive distances of gene sets, noisy distances and finally sequences.

Installation

AsymmeTree requires Python 3.7 or higher.

Easy installation with pip

The asymmetree package is available on PyPI:

pip install asymmetree

For details about how to install Python packages see here.

Installation with the setup file

Alternatively, you can download or clone the repo, go to the root folder of package and install it using the command:

python setup.py install

Dependencies

AsymmeTree has several dependencies (which are installed automatically when using pip):

Usage and description

A user manual with example code can be found in the Wiki. AsymmeTree is divided into several subpackages and modules, see also the following documentation generated from the source code.

Citation

If you use AsymmeTree in your project or code from it, please consider citing:

  • David Schaller, Marc Hellmuth, and Peter F. Stadler. AsymmeTree: A Flexible Python Package for the Simulation of Complex Gene Family Histories. Software 2022, 1(3), 276-298; doi: 10.3390/software1030013

Please report any bugs and questions in the Issues section. Also, feel free to make suggestions for improvement and/or new functionalities.