Utilities for comparing Ancestral Recombination Graphs (ARGs) represented as tree sequences. Provides tooling to quantify similarities and differences between ARG topologies, haplotype paths, and related structures. At present, this repository implements the methods described in Fritze et al., "A forest is more than its trees: haplotypes and ancestral recombination graphs".
Documentation: https://tskit.dev/tscompare/docs/stable/ (latest: https://tskit.dev/tscompare/docs/latest/)
Install from PyPI:
python -m pip install tscompare
See documentation for usage and examples: https://tskit.dev/tscompare/docs/stable/