PT - JOURNAL ARTICLE
AU - Ralph, Peter
AU - Thornton, Kevin
AU - Kelleher, Jerome
TI - Efficiently Summarizing Relationships in Large Samples: A General Duality Between Statistics of Genealogies and Genomes
AID - 10.1534/genetics.120.303253
DP - 2020 Jul 01
TA - Genetics
PG - 779--797
VI - 215
IP - 3
4099 - http://www.genetics.org/content/215/3/779.short
4100 - http://www.genetics.org/content/215/3/779.full
SO - Genetics2020 Jul 01; 215
AB - As a genetic mutation is passed down across generations, it distinguishes those genomes that have inherited it from those that have not, providing a glimpse of the genealogical tree relating the genomes to each other at that site. Statistical summaries of genetic variation therefore also describe the underlying genealogies. We use this correspondence to define a general framework that efficiently computes single-site population genetic statistics using the succinct tree sequence encoding of genealogies and genome sequence. The general approach accumulates sample weights within the genealogical tree at each position on the genome, which are then combined using a summary function; different statistics result from different choices of weight and function. Results can be reported in three ways: by site, which corresponds to statistics calculated as usual from genome sequence; by branch, which gives the expected value of the dual site statistic under the infinite sites model of mutation, and by node, which summarizes the contribution of each ancestor to these statistics. We use the framework to implement many currently defined statistics of genome sequence (making the statisticsâ€™ relationship to the underlying genealogical trees concrete and explicit), as well as the corresponding branch statistics of tree shape. We evaluate computational performance using simulated data, and show that calculating statistics from tree sequences using this general framework is several orders of magnitude more efficient than optimized matrix-based methods in terms of both run time and memory requirements. We also explore how well the duality between site and branch statistics holds in practice on trees inferred from the 1000 Genomes Project data set, and discuss ways in which deviations may encode interesting biological signals.