Python package and CLI for processing phylogenetic tree
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file evotree-0.0.0.3.tar.gz.
File metadata
- Download URL: evotree-0.0.0.3.tar.gz
- Upload date:
- Size: 54.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fdb74452c778107e967c42f28df13c7ba400590d9ec132e643fbf8f06d069ef
|
|
| MD5 |
c541a6ab040f5cef96a530f17d07a2ad
|
|
| BLAKE2b-256 |
6613d9b683e0990a3daeee18a8367e5eeb4e3034b65df263843c41c84448d993
|