Skip to content
forked from 4ment/torchtree

Phylogenetic inference using PyTorch

License

Notifications You must be signed in to change notification settings

mattapow/torchtree

 
 

Repository files navigation

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

About

Phylogenetic inference using PyTorch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 63.5%
  • Python 36.5%