On ARGs, pedigrees, and genetic relatedness matrices
Brieuc LehmanniD, Hanbin LeeiD, Luke Anderson-TrocméiD, Jerome KelleheriD, Gregor GorjanciD, Peter L. RalphiD
Abstract
Genetic relatedness is a central concept in genetics, underpinning studies of population and quantitative genetics in human, animal, and plant settings. It is typically stored as a genetic relatedness matrix (GRM), whose elements are pairwise relatedness values between individuals. This relatedness has been defined in various contexts based on pedigree, genotype, phylogeny, coalescent times, and, recently, ancestral recombination graph (ARG). ARG-based GRMs have been found to better capture the structure of a population and improve association studies relative to the genotype GRM. However, calculating GRMs and further operations with them is fundamentally challenging due to inherent quadratic time and space complexity. Here, we first discuss the different definitions of relatedness in a unifying context, making use of the additive model of a quantitative trait to provide a definition of "branch relatedness" and the corresponding "branch GRM". We explore the relationship between branch relatedness and pedigree relatedness through a case study of French-Canadian individuals that have a known pedigree. Through the tree sequence encoding of an ARG, we then derive an efficient algorithm for computing products between the branch GRM and a general vector, without explicitly forming the branch GRM. This algorithm leverages the sparse encoding of genomes with the tree sequence and hence enables large-scale computations with the branch GRM. We demonstrate the power of this algorithm by developing a randomized principal components algorithm for tree sequences that easily scales to millions of genomes. All algorithms are implemented in the open source tskit Python package. Taken together, this work consolidates the different notions of relatedness as branch relatedness and by leveraging the tree sequence encoding of an ARG it provides efficient algorithms that enable computations with the branch GRM that scale to mega-scale genomic datasets.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 9
- FWCI
- 5.30
- Field percentile
- top 3%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- A genealogical estimate of genetic relationships
Caoqi Fan, Nicholas Mancuso, Charleston W. K. Chiang·The American Journal of Human GeneticsPeer-reviewed·Apr 12, 2022
- Highly efficient genotype compression leveraging genealogical relatedness
Amber Z. Shen, Xinran Wang, … Luke Jen O’Connor·bioRxiv·May 5, 2026
- Efficient Calculation of the Genomic Relationship Matrix
Martin Schlather·bioRxiv·Jan 12, 2020
- Genetic prediction with ARG-powered linear algebra
Hanbin Lee, Nathaniel S. Pope, … Peter L. Ralph·GeneticsPeer-reviewed·Mar 27, 2026
- Tree-based QTL mapping with expected local geneticrelatedness matrices
Vivian Link, Joshua G. Schraiber, … Michael D. Edge·The American Journal of Human GeneticsPeer-reviewed·Dec 1, 2023
- Fast variance component analysis using large-scale ancestral recombination graphs
Jiazheng Zhu, Georgios Kalantzis, … Pier Francesco Palamara·Cell GenomicsPeer-reviewed·Dec 10, 2025