Ancestral recombination graphs (ARGs) capture the full genetic history of samples from a recombining species. Although ARGs have been a central theoretical object in population genetics for decades, their practical use was constrained by the lack of scalable inference methods, standard interchange formats, and software infrastructure. Recent breakthroughs in simulation and inference have substantially changed this landscape, leading to renewed interest in ARG-based analyses across population and statistical genetics (Brandt et al., 2024; Lewanski et al., 2024; Nielsen et al., 2024). The tskit library has played a key enabling role in this shift and has become foundational infrastructure for working with ARGs. This paper marks the release of tskit 1.0, which formalises long-term stability guarantees for its data formats and APIs.
At the core of tskit is the succinct tree sequence data model which defines a set of nodes (genomes at particular times) and edges (inheritance relationships between nodes spanning genomic intervals) in a simple tabular form (Kelleher et al., 2018). This encoding provides a lossless representation of a general class of ARGs, establishing a precise and machine-readable definition suitable for large-scale computation (Wong et al., 2024). The data model also incorporates site, mutation, population, and pedigree information and supports arbitrary metadata associated with each of these components of the ARG. Provenance information is recorded natively, enhancing reproducibility and transparency. Together, these features make the tskit data model a semantically complete and interoperable representation of ARGs that serves as a common foundation across diverse analytical workflows (Figure 1).
Figure 1:

Tskit enables an interoperable ARG software ecosystem. ARGs produced by simulation or inference tools can be analysed by diverse downstream applications via tskit’s well-defined tabular data model, C library and Python/Rust/R bindings. Tools shown are representative examples from Table S1 (three per category; ordered by citation count).
Simulation is a fundamental tool in population genomics, and was the first domain in which the tskit data model demonstrated its impact. Introduced initially as part of the msprime simulator, the tskit data model enabled performance improvements of several orders of magnitude over previous coalescent simulation approaches (Kelleher et al., 2016). The same representation later enabled efficient forward-time simulation of ARGs and yielded substantial speedups by avoiding explicit simulation of neutral mutations (Kelleher et al., 2018). Because these forward-time and coalescent simulators share a common underlying representation, their complementary strengths can be combined within a single workflow. This has made it possible to simulate ARGs under complex demographic scenarios involving geography and selection that were previously infeasible, providing essential ground truth for method evaluation. Simulation capabilities have continued to expand, including whole-autosome ARG simulations for nearly 1.5 million individuals based on a large human pedigree (Anderson-Trocmé et al., 2023). A growing ecosystem of forward-time, coalescent, and hybrid simulation tools builds directly on tskit (Table S1).
The lack of scalable inference methods has been a major obstacle to practical application of ARGs. Although there are many inference methods (see Wong et al. (2024) for a review), tsinfer was the first to scale to hundreds of thousands of samples, directly leveraging the tskit data model (Kelleher et al., 2019). Many recent ARG inference methods have chosen to support tskit as an output format in addition to their own native representations (Table S1). This shared output layer enables inferred ARGs to interoperate directly with simulators, facilitating systematic evaluation and benchmarking against known ground truth. It also shifts the burden of format conversion away from downstream users, who can instead rely on inference tools to emit results in a common, well-defined representation. The scalability and flexibility of this approach are illustrated by the recent inference of an ARG for 2.48 million SARS-CoV-2 whole genomes, which occupies 32 MiB of storage and can be loaded into memory in under a second (Zhan et al., 2025).
Efficient storage and analysis of large genetic datasets is a central design goal of tskit, and the data model has enabled substantial performance gains in downstream analyses. For example, single-site population genetic statistics can be computed orders of magnitude faster than from genotype matrices while using far less memory by operating on the underlying ARG structure (Ralph et al., 2020). Tskit exposes a large API with a performance-critical core implemented in C and bindings available for Python, Rust, and R. Its vectorised, table-first design allows zero-copy access to underlying arrays, supporting high-performance analysis pipelines. As a result, downstream tools inherit performance and correctness properties from a shared, well-tested core.
The goal of tskit is to provide a shared technical foundation, centred on efficient, well-tested, and thoroughly documented primitive operations on ARGs, rather than to directly implement end-user workflows. This design principle has enabled a broad ecosystem of downstream software—spanning simulation, ARG inference, population and statistical genetic inference, analysis, and visualisation—with 64 published tools now using tskit as a core dependency (Table S1). With the release of tskit 1.0, long-term stability of the data model and APIs is explicitly guaranteed, reflecting a commitment to maintain this minimal and composable core as the project evolves. By focusing on stable primitives rather than prescribing analytical pipelines, tskit enables methodological innovation to concentrate on modelling, inference, and interpretation rather than bespoke data formats and tooling. In this way, tskit 1.0 provides a common and extensible foundation that supports the continued expansion of ARG-based analyses as datasets, methods, and applications continue to grow. Extensive documentation, tutorials, and other information are available at https://tskit.dev.
Supplementary Material
Acknowledgements
We gratefully acknowledge funding from the Robertson Foundation, the NIH (research grants HG011395 and HG012473), and the NSF (research grant OAC-2104115), supporting core tskit development.
References
- Anderson-Trocmé Luke, Nelson Dominic, Zabad Shadi, Diaz-Papkovich Alex, Kryukov Ivan, Baya Nikolas, Touvier Mathilde, Jeffery Ben, Dina Christian, Vézina Hélène, Kelleher Jerome, and Gravel Simon. On the genes, genealogies, and geographies of Quebec. Science, 380(6647):849–855, 2023. [DOI] [PubMed] [Google Scholar]
- Brandt Débora Y C, Huber Christian D, Chiang Charleston W K, and Ortega-Del Vecchyo Diego. The promise of inferring the past using the Ancestral Recombination Graph (ARG). Genome Biology and Evolution, 16(2):evae005, 2024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kelleher Jerome, Etheridge Alison M., and McVean Gilean. Efficient coalescent simulation and genealogical analysis for large sample sizes. PLOS Computational Biology, 12(5):e1004842, 2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kelleher Jerome, Thornton Kevin R., Ashander Jaime, and Ralph Peter L.. Efficient pedigree recording for fast population genetics simulation. PLoS Computational Biology, 14(11):1–21, November 2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kelleher Jerome, Wong Yan, Wohns Anthony W., Fadil Chaimaa, Albers Patrick K., and McVean Gil. Inferring whole-genome histories in large population datasets. Nature Genetics, 51:1330–1338, 2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lewanski Alexander L., Grundler Michael C., and Bradburd Gideon S.. The era of the ARG: An introduction to ancestral recombination graphs and their significance in empirical evolutionary genomics. PLOS Genetics, 20(1):1–24, 2024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nielsen Rasmus, Vaughn Andrew H., and Deng Yun. Inference and applications of ancestral recombination graphs. Nature Reviews Genetics, 26:47–58, 2024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ralph Peter, Thornton Kevin, and Kelleher Jerome. Efficiently summarizing relationships in large samples: A general duality between statistics of genealogies and genomes. Genetics, 215 (3):779–797, 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wong Yan, Ignatieva Anastasia, Koskela Jere, Gorjanc Gregor, Wohns Anthony W, and Kelleher Jerome. A general and efficient representation of ancestral recombination graphs. Genetics, 228(1):iyae100, July 2024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhan Shing H., Wong Yan, Ignatieva Anastasia, Eaton Katherine, Guthrie Isobel, Jeffery Benjamin, Palmer Duncan S., Carmen Lia Murall Sarah P. Otto, and Kelleher Jerome. A pandemic-scale ancestral recombination graph for SARS-CoV-2. bioRxiv, 2025. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
