conda env create -f environment.yml
conda activate torchtree
To install the latest stable version, run
pip install torchtree
git clone https://github.com/4ment/torchtree
cd torchtree
pip install .
torchtree --help
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