This is a python implementation for conditional clade distributions. This package uses a simple map (dict) based implementation, presented by Larget.
Implemented versions are:
- regular CCD0 and CCD1
- phylogeography CCD1 (assuming fixed leaf labels)
- transmission tree CCD0 and CCD1 using BREATH like trees
Currently in development:
- SRanges implementation for sampled ancestors and fossil ranges
Caution
If you want to use a specific functionality but can not find documentation please let me know.
The commandline tool for phylogeography trees is called geography and you can use the help to
learn more about the input options.
geography --helpThis package provide a command line interface to compute the tCCD MAP tree.
The tool is called transcope and for more information install the package and run
transcope --helpThese can be computed with the tool ccdMAP, use --help to find out how to use it.
Use the tool mrc to compute a majority rule consensus tree.
This is available for different verions of extended trees, see help.
A commandline tool to extract date information about who-infected-whom. After installation, you can get more information by running
breath-helper --helpThere is a GUI wrapper with more details on this tool available at Lars-B/brokilon_transmission_app.
Install the latest version directly from Github:
pip install brokilon@git+https://github.com/Lars-B/pyccd.gitClone the repository and install locally:
git clone https://github.com/Lars-B/pyccd.git
cd pyccd
pip install -e .
If you really want to build the wheel yourself:
python -m build
pip install dist/*.whl
Note that this requires additional packages build and hatchling.