Skip to main content

Python package and CLI for processing phylogenetic tree

Project description

evotree : a python library of processing phylogenetic tree

Hengchi Chen

Installation | Illustration

Installation

The evotree package can be readily installed via PYPI. An example command is given below.

virtualenv -p=python3 ENV (or python3/python -m venv ENV)
source ENV/bin/activate
pip install evotree

Note that if users want to get the latest update, it's suggested to install from the source because the update on PYPI will be later than here of source. To install from source, the following command can be used.

git clone https://github.com/heche-psb/evotree
cd evotree
virtualenv -p=python3 ENV (or python3 -m venv ENV)
source ENV/bin/activate
pip install -r requirements.txt
pip install .

If there is permission problem in the installation, please try the following command.

pip install -e .

Illustration

Continuous-time birth-death Markov Chain Monte Carlo (MCMC) simulation

evotree simulatepbdmage

This figure shows the gene age distributions under a simple continuous-time birth-death Markov Chain Monte Carlo (MCMC) simulation of 10,000 gene families. Panel a shows the simulation with the duplication and loss rates as 1.5 and 1. Panel b shows the simulation with the duplication and loss rates as 1 and 1. Panel c shows the simulation with the duplication and loss rates as 1 and 1.5.

evotree simulatepbdmagewithwgd

This figure shows the gene age distributions under a simple continuous-time birth-death MCMC simulation of 10,000 gene families with a WGD event aged at 1. The gene duplication and loss rates are both 1. Panel a shows the simulation with the retention rate as 0.8. Panel b shows the simulation with the retention rate as 0.4. Panel c shows the simulation with the retention rate as 0.2.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evotree-0.0.0.2.tar.gz (39.4 kB view details)

Uploaded Source

File details

Details for the file evotree-0.0.0.2.tar.gz.

File metadata

  • Download URL: evotree-0.0.0.2.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.9.6 requests/2.31.0 setuptools/49.2.0.post20200714 requests-toolbelt/1.0.0 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for evotree-0.0.0.2.tar.gz
Algorithm Hash digest
SHA256 81bce84c747dbcb67a41004fb3d2b3cccdb00c283ac4e8140885db0747ccd185
MD5 2f39a9eff808040d17d8e05af5f620a8
BLAKE2b-256 8fbebf45af437faf93ca80b21898eaf7cc6d0169eb60b91e213ad19126810b8a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page