Search bioRxiv⌕ Search

Biology subjects

Bryc, K.

Publications and source records attributed to Bryc, K..

2 recordsLinked to original sources

Bayesian inference of population structure using identity-by-descent-based stochastic block models

Fine-scale population structure is increasingly studied by clustering identity-by-descent (IBD) haplotypes, yet most current approaches rely on heuristic, modularity-based algorithms that can over-partition noisy IBD graphs and provide no explicit measure of uncertainty. We introduce a fully Bayesian framework that models IBD sharing with a generative planted-partition stochastic block model (PPSBM). To benchmark accuracy, we simulated genomes under recent population divergence and compared PPSBM estimates with those from the widely used Leiden community-detection algorithm. The PPSBM correctly assigned 81.0% of individuals on average versus 67.0% for Leiden, outperforming Leiden in 92.0% of replicates. Posterior probabilities from the PPSBM reflected patterns of recent shared ancestry or admixture, whereas Leiden tended to merge such clusters or assign individuals deterministically. Furthermore, we applied the method to the genomes of 63,196 individuals to reveal fine-scale population structure in Mexico, including multiple indigenous communities and diasporic groups such as Lebanese Mexicans and Syrian Jewish Mexicans. Our results demonstrate that a probabilistic, IBD-based PPSBM yields more accurate and biologically interpretable population assignments than popular heuristic methods, while simultaneously quantifying uncertainty and accommodating admixed genomes. The method scales to thousands of individuals and provides a principled foundation for downstream demographic inference and association studies in the presence of subtle structure.

genetics↗

Fast and robust identity-by-descent inference with the templated positional Burrows-Wheeler transform

Estimating the genomic location and length of identical-by-descent (IBD) segments among individuals is a crucial step in many genetic analyses. However, the exponential growth in the size of biobank and direct-to-consumer (DTC) genetic data sets makes accurate IBD inference a significant computational challenge. Here we present the templated positional Burrows-Wheeler transform (TPBWT) to make fast IBD estimates robust to genotype and phasing errors. Using haplotype data simulated over pedigrees with realistic genotyping and phasing errors we show that the TPBWT outperforms other state-of-the-art IBD inference algorithms in terms of speed and accuracy. For each phase-aware method, we explore the false positive and false negative rates of inferring IBD by segment length and characterize the types of error commonly found. Our results highlight the fragility of most phased IBD inference methods; the accuracy of IBD estimates can be highly sensitive to the quality of haplotype phasing. Additionally we compare the performance of the TPBWT against a widely used phase-free IBD inference approach that is robust to phasing errors. We introduce both in-sample and out-of-sample TPBWT-based IBD inference algorithms and demonstrate their computational efficiency on massive-scale datasets with millions of samples. Furthermore we describe the binary file format for TPBWT-compressed haplotypes that results in fast and efficient out-of-sample IBD computes against very large cohort panels. Finally, we demonstrate the utility of the TPBWT in a brief empirical analysis exploring geographic patterns of haplotype sharing within Mexico. Hierarchical clustering of IBD shared across regions within Mexico reveals geographically structured haplotype sharing and a strong signal of isolation by distance. Our software implementation of the TPBWT is freely available for non-commercial use in the code repository https://github.com/23andMe/phasedibd.

bioinformatics↗