An open API service indexing awesome lists of open source software.

https://github.com/tskit-dev/tscompare

Utilities for comparing tree sequences
https://github.com/tskit-dev/tscompare

Last synced: 3 months ago
JSON representation

Utilities for comparing tree sequences

Awesome Lists containing this project

README

          

# tscompare

[![License](https://img.shields.io/github/license/tskit-dev/tscompare)](https://github.com/tskit-dev/tscompare/blob/main/LICENSE) [![PyPI version](https://img.shields.io/pypi/v/tscompare.svg)](https://pypi.org/project/tscompare/) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/tscompare.svg)](https://pypi.org/project/tscompare/) [![Docs Build](https://github.com/tskit-dev/tscompare/actions/workflows/docs.yml/badge.svg)](https://github.com/tskit-dev/tscompare/actions/workflows/docs.yml) [![Tests](https://github.com/tskit-dev/tscompare/actions/workflows/tests.yml/badge.svg)](https://github.com/tskit-dev/tscompare/actions/workflows/tests.yml)

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"](https://doi.org/10.1101/2024.11.30.626138).

Documentation: https://tskit.dev/tscompare/docs/stable/ (latest: https://tskit.dev/tscompare/docs/latest/)

## Installation

Install from PyPI:

```
python -m pip install tscompare
```

See documentation for usage and examples: https://tskit.dev/tscompare/docs/stable/