Skip to main content

Phylogenetic inference with pytorch

Project description

torchtree

Python package

Installation

Use an Anaconda environment (Optional)

conda env create -f environment.yml
conda activate torchtree

The easy way

To install the latest stable version, run

pip install torchtree

Using the source code

git clone https://github.com/4ment/torchtree
cd torchtree
pip install .

Check install

torchtree --help

Quick start

torchtree will approximate the posterior distribution of an unrooted tree with a JC69 substitution model using variational inference

torchtree examples/advi/fluA.json

The JSON file can be generated using the torchtree CLI

torchtree-cli advi -i data/fluA.fa -t data/fluA.tree > fluA.json

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

torchtree-1.0.1.tar.gz (109.8 kB view hashes)

Uploaded Source

Built Distribution

torchtree-1.0.1-py3-none-any.whl (130.3 kB view hashes)

Uploaded Python 3

Supported by

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