Full text
39,084 characters
· extracted from
preprint-html
· click to expand
Bayesian inference of population structure using identity-by-descent-based stochastic block models | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Bayesian inference of population structure using identity-by-descent-based stochastic block models View ORCID Profile Steven J. Micheletti , Katarzyna Bryc , Samantha G. Ancona Esselmann , Peter R. Wilton , the 23andMe Research Team , William A. Freyman doi: https://doi.org/10.1101/2025.11.26.690810 Steven J. Micheletti 1 23andMe Research Institute , Palo Alto CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Steven J. Micheletti For correspondence: stevenmicheletti{at}gmail.com Katarzyna Bryc 2 Darwin’s Ark, Broad Institute of MIT and Harvard , Cambridge, MA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Samantha G. Ancona Esselmann 1 23andMe Research Institute , Palo Alto CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Peter R. Wilton 1 23andMe Research Institute , Palo Alto CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site 1 23andMe Research Institute , Palo Alto CA, USA William A. Freyman 1 23andMe Research Institute , Palo Alto CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Abstract Full Text Info/History Metrics Supplementary material Preview PDF Abstract 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. 1 Introduction Understanding population structure is essential for studying genetic diversity, inferring evolutionary history, and avoiding confounding in association studies ( Price et al. 2006 ; Jakobsson et al. 2008 ; Li et al. 2008 ). Population structure reflects the genetic relationships among individuals, shaped by ancestry, migration, and demographic events, and can be complex—especially since genetic variation exists along gradients rather than in discrete groups. Several complementary approaches have been developed to examine population structure. Principal component analysis (PCA) is often used to identify major axes of genetic variation using single-nucleotide polymorphism (SNP) data, and can help visualize genetic structure and investigate the spatial distribution of genetic variation ( Novembre et al. 2008 ). Many model-based approaches also rely on SNP allele frequencies; for example, STRUCTURE clusters individuals into one or more latent populations, explicitly modeling admixture ( Pritchard et al. 2000 ). Approaches for detecting population structure that take advantage of haplotype data are a powerful alternative to those based on SNP data ( Browning and Weir 2010 ). By leveraging patterns of linkage disequilibrium (LD) and haplotype variation, these methods may be less biased by SNP ascertainment ( Conrad et al. 2006 ). Recently, studies have used clustering of identical-by-descent (IBD) haplotypes to identify fine-scale population structure ( Nait Saada et al. 2020 ; Dai et al. 2020 ; Han et al. 2017 ). IBD refers to segments of the genome that are shared between individuals due to inheritance from a common ancestor. Clustering individuals based on patterns of IBD sharing enables the detection of more recent and subtle structure, since long shared haplotypes reflect very recent genetic relatedness that may be missed by SNP allele frequencybased methods. Non-probabilistic clustering algorithms, such as hierarchical agglomerative clustering or the Louvain method ( Blondel et al. 2008 ), are typically used for this task due to their scalability and simplicity. However, heuristic clustering methods like Louvain that maximize modularity ( Newman and Girvan 2004 ) are prone to overfitting the data by detecting spurious structure, especially when the data is noisy or sparse ( Peixoto 2023 ). Here, we demonstrate that a probabilistic approach to clustering IBD haplotype data can accurately resolve fine-scale population structure. By applying stochastic block models (SBMs; Holland et al. 1983 ) with Bayesian inference to cluster IBD segment data, our method provides a principled framework for modeling uncertainty and capturing admixture, allowing individuals to belong to multiple genetic groups with varying degrees of membership. 2 Methods SBMs are probabilistic generative models for graphs ( Holland et al. 1983 ). They are a highly flexible approach for modeling the structure of a graph. Here we use a special case of the general SBM called the planted partition SBM (PPSBM), which identifies assortative structure within a graph ( Condon and Karp 2001 ). Assortative structure is present when the graph can be partitioned into groups in which vertices of the same group are more likely to be connected by an edge than vertices of different groups. We are interested in identifying population structure within large sets of genetic data. To do this, we first estimate the pairwise amount of IBD shared between all individuals in the dataset. The IBD may be computed using partial genomes, in which regions of the genome are masked out so that IBD segments cannot be detected within them if they are not assigned to a specific population by a local ancestry inference algorithm. This is useful when some individuals in the dataset are admixed, and we wish to detect populations structured through specific ancestry components. These IBD estimates are used to construct the IBD graph A , in which each vertex represents an individual and the number of edges A ij between vertices i and j is calculated as: In this equation, η ij is the amount of IBD shared between individuals i and j, z is a divisor that adjusts how the pairwise IBD is weighted in the IBD graph, and β is the maximum amount of IBD that will be considered for a pairwise relationship. A ii represents self IBD or runs of homozygosity (ROH). In practice, we typically ignore all ROH. We wish to infer assortative structure within the IBD graph in which genetic groups ( i . e ., populations) consist of individuals who share more IBD with one another than to individuals in other groups. Using Bayesian inference, we infer b , the vector of assignments of individuals to genetic groups, given the observed IBD graph A ): Following Zhang and Peixoto (2020) , the likelihood for the PPSBM of observing the IBD graph given the assignment of individuals to genetic groups is given by: In this likelihood, B is the number of genetic groups, E is the total number of edges in A, e in is the total number of edges within genetic groups, e out is the total number of edges between different genetic groups, e r is the number of edges for genetic group r, n r is the number of individuals in genetic group r , and k i is the degree of individual i . To perform inference we also need to calculate the prior probability on the assignment of individuals to genetic groups, where N is the total number of individuals: See Peixoto (2019) for a derivation of this prior distribution. We estimate the posterior distribution of genetic group assignments by sampling group assignments using Markov chain Monte Carlo (MCMC; Metropolis et al. 1953 ), which enables us to avoid computing the intractable normalization term P ( A ). The MCMC algorithm uses merge-split proposals as described in Zhang and Peixoto (2020) . To summarize the posterior distribution, we align the labels of the clustering partitions across MCMC samples using a modified form of the method described in Peixoto (2021) . In practice, an MCMC initialized with a random number of genetic groups and individuals randomly assigned to those groups may be slow to converge. In these cases, we combine samples from multiple independent MCMCs, where each MCMC is initialized with an estimate of the genetic group assignments that maximizes modularity. 3 Simulation study To simulate patterns of IBD sharing under recent population divergence, we used the coalescent simulator msprime ( Baumdicker et al. 2022 ). We set up a simple hierarchical demographic scenario involving six derived populations (A–F) which split from two intermediate ancestral populations (ABC and DEF) four generations in the past. ABC and DEF, in turn, split from a single ancestral population (ABCDEF) eight generations in the past ( Figure 1 ). The effective population size of ABCDEF was 1,000, and each derived population evenly split the size of the ancestral population. We simulated ancestry over a 249 Mb region (approximating human chromosome 1) with a uniform recombination rate of 1e−8 per base pair per generation. We sampled 20 diploid individuals from each of the six derived populations. To quantify IBD sharing, we extracted all pairwise IBD segments from the simulated tree sequence with length ≥ 5 Mb using tskit ( Kelleher et al. 2016 ; Wong et al. 2024 ). For each individual pair, we summed the total length of shared IBD segments. Download figure Open in new tab Figure 1: (a) Simulating recent and fine-scale population structure. Populations A-C and D–F split from ABC and DEF respectively at 4 generations in the past, and ABC and DEF split from ABCDEF at 8 generations in the past. (b) IBD shared between simulated individuals for a single simulation replicate . Chromosomes were simulated for twenty individuals from each of the six populations A-F. See the main text for details about the simulations. Cells are colored by the pairwise amount of IBD shared in megabases. For 1000 simulation replicates, pairwise IBD sharing was used to infer population structure with both the PPSBM as described above and the Leiden algorithm. The Leiden algorithm is an improved version of the Louvain algorithm that attempts to find the partition of the graph that maximizes modularity ( Traag et al. 2019 ). We used the PPSBM as implemented in the graph-tool Python library ( Peixoto 2014 ) and the Leiden algorithm as implemented in leidenalg ( Traag 2023 ). To compare estimated PPSBM population assignments with the true simulated populations, we resolved label ambiguity by aligning each estimated population with the true labels based on maximum overlap. Specifically, for individuals simulated from population A, we identified the most frequently assigned PPSBM population and relabeled it as population A. This majority-vote approach was applied to each true population to establish a consistent mapping between estimated and true population labels. We repeated this process for the Leiden population assignments. Next, we determined the accuracy of each method by counting the number of individuals in each simulation replicate that were correctly assigned to their true simulated population. For the PPSBM, we considered the maximum a posteriori (MAP) assignment of individuals to populations. In 920 out of 1000 simulation replicates, the MAP PPSBM population assignments were more accurate than the Leiden algorithm ( Figure 2a ). On average across all replicates, the PPSBM accurately assigned 14.0% more individuals to the correct population compared to the Leiden algorithm. On average, the PPSBM assigned 81.0% of individuals to the correct population, while Leiden was 67.0% accurate on average. Figure 2b shows the results for a single representative simulation replicate. In this replicate, the MAP PPSBM population assignments were correct for 90.0% of individuals, and the Leiden population assignments were correct for 76.7% of individuals. This example illustrates the different error modes of the two approaches. For this simulation replicate both methods struggled to distinguish individuals from recently diverged populations E and F. The PPSBM handled this uncertainty through lower posterior probabilities for each population assignment. The Leiden algorithm, on the other hand, simply lumped the two populations together. The posterior probabilities of the PPSBM could be interpreted biologically as a signal of admixture or recent shared ancestry. For example, the individuals in populations E and F who get significant non-zero posterior probabilities for H make up a subpopulation of individuals who have closer genetic connections across E and F than the other individuals in E and F. By allowing individuals to belong to multiple populations, the PPSBM can capture signals of admixture and genetic variation that exists along gradients; an individual is not forced into a single population. Download figure Open in new tab Figure 2: (a) Accuracy of the PPSBM compared to the Leiden algorithm in 1000 simulation replicatesx. The PPSBM assigned more individuals to the correct population than the Leiden algorithm in 92% of simulation replicates. On average, the PPSBM assigned 81.0% of individuals to the correct population on average, while Leiden was 67.0% accurate. (b) Comparison of PPSBM and Leiden estimates for a representative simulation replicate . The top panel shows the marginal population probabilities from the PPSBM for a single simulation replicate, where each column represents an individual. The next panels down show (1) the MAP assignments of individuals to populations using the PPSBM, (2) the true populations A, B, C, D, E, and F simulated under the population history shown in Figure 1 , and (3) the Leiden estimates. Each column represents the same simulated individual in all panels. The MAP PPSBM assignments were correct for 90.0% of individuals, and the Leiden population assignments were correct for 76.7% of individuals. See the main text for a discussion on these results. 4 Empirical application To demonstrate the ability of IBD-based PPSBM clustering to identify granular population structure, we applied the method to the IBD shared among 63,196 research-consented participants in the 23andMe database who reported that all four of their grandparents were born in Mexico ( Figure 3 ). Download figure Open in new tab Figure 3: Marginal assignment probabilities of individuals with all four grandparents born in Mexico. Probabilities at (a) the first-level PPSBM (all individuals), (b) second-level PPSBM (within each first-level cluster; n = 63,196), (c) third-level PPSBMs performed on individuals with maximum assignment probabilities to the Central Mexican Highlands (n = 3,408) and, (d) fourth-level PPSBMs performed on individuals with maximum assignment probabilities to Central–Isthmus Corridor (n = 124). Gray indicates probabilities of assignment to clusters that were excluded due to extremely small sample sizes ( < 20 individuals). Using the templated positional Burrows–Wheeler transform (TPBWT; Freyman et al. 2021 ), we computed IBD between all participants genotyped on a custom array (∼560,000 SNPs), applying default parameters with the exception of a minimum segment size of 7 cM. For each PPSBM run, we executed 30 independent MCMC chains with 5,000 total iterations and a burn-in of 2,000, using an edge divisor ( z ) of 7 cM and capping the maximum cM shared between close relatives ( β ) at 25 cM. Capping the maximum IBD shared between two individuals in the graph and using a divisor greater than 1 helps reduce biases introduced by close family members and endogamy within the cohort. We ensured that each independent MCMC chain converged by computing the Geweke Z-statistic and retaining samples from chains with values between −2 and 2 ( Geweke 1989 ). We then removed any cluster that included fewer than 20 individuals with maximum marginal assignment probabilities. With this approach, we identified 9 initial populations across Mexico (Supplementary Table 1, Supplementary Table 2). For each population, we queried all available geographic, language, and cultural survey responses provided by research participants and labeled each population based on the most enriched location, either a broader regional classification or a specific city, county, or state. The labels given to each cluster are mutually exclusive but the geographic representation between clusters may overlap. To identify sub-structure, we sequentially applied PPSBM clustering to estimate nested hierarchical clusters. Starting from the initial 9 populations identified above, we isolated individuals with the highest marginal probabilities to each population and applied PPSBM clustering, identifying an additional 46 populations (Supplementary Table 1). We subsequently focused on select populations in southern Mexico and continued re-running the PPSBM until sample sizes were too small to detect further structure. This process took us from a set of clusters spanning Southern Mexico (n = 14,838, k = 11), to a set of clusters more narrowly focused in Central Mexican Highlands (n = 3,408, k = 22), and finally, at the most granular level, to a set of clusters in Central–Isthmus Corridor (n = 124, k = 4). Throughout the sub-clustering process, an enrichment of cultural terms became apparent in survey responses; therefore, we labeled certain clusters by these terms if they were enriched. The terminal node of this sub-structuring hierarchy resulted in the identification of four clusters: Córdoba, Isthmus Zapotec speakers in Oaxaca, Lebanese Mexicans, and Jewish Mexicans in Mexico City ( Figure 3 ). To understand the genetic ancestry background of each identified population, we computed local genetic ancestry estimates using 23andMe’s Ancestry Composition algorithm for each research participant and aggregated the mean genetic ancestry per population ( Durand et al. 2021 , 2014 ). The most common genetic ancestry components in this cohort were Spanish & Portuguese (45.0% ± 15.2%), Indigenous American (41.1% ± 15.5%), Senegambian & Guinean (1.4% ± 0.6%), and Ashkenazi Jewish (1.0% ± 1.8%). However, these genetic ancestry proportions varied among specific populations identified by the clustering procedure. For instance, in the Northern Nuevo León population, mean Spanish and Portuguese ancestry reached its highest value at 62.3%; in the Santiago Zoochila population, Indigenous American ancestry peaked at 86.2%; in the Copala population, Senegambian & Guinean ancestry reached 6.8%; and in the Jewish Diaspora population in Mexico City, Ashkenazi Jewish ancestry reached 29.4% ( Figure 4 ). Download figure Open in new tab Figure 4: Genetic ancestry proportions of research participants who reported that all four grandparents were born in Mexico. (a) Genetic ancestry proportions of individuals in the initial clustering cohort; the x-axis reflects the mean ancestry of every five individuals with the most similar ancestry proportions (for anonymity purposes). (b) Mean genetic ancestry proportions of the nine populations identified in the initial round of PPSBM clustering, with the mean proportions of sub-population identified in subsequent sub-clustering shown to the right. (c) Genetic ancestry proportions of additional PPSBM clustering applied to the Central Mexican Highlands population, followed by the Central–Isthmus Corridor population. Genetic ancestry populations presented at very low proportions are merged into the “Trace” category. Inner circles of the wheels, when present, represent continental-level ancestry proportions. We also aggregated IBD results across all populations by calculating the mean total IBD shared between population pairs using the following formula: where and represent the sample sizes of populations p 1 and p 2 and is the total IBD shared between individuals in populations p 1 and p 2 . We also computed the mean segment size, using only segments ≥ 8 cM. Populations with the highest within-cluster IBD sharing were those with greater Jewish genetic ancestry, such as Northern Nuevo León, the Jewish Diaspora, and the Lebanon Diaspora. In contrast, populations with the lowest within-cluster IBD sharing tended to be larger clusters such as Southern Mexico and Central Mexican Highlands (Supplementary Table 3). 5 Conclusion By coupling IBD graphs with Bayesian PPSBM clustering, we introduce a principled, uncertainty-aware alternative to heuristic community detection for inferring population structure. Simulations show that the PPSBM recovers fine-scale clusters more accurately than widely used modularity-maximizing approaches, while also flagging recent divergence and admixture through posterior probabilities. Applying the PPSBM to the genomes of 63,196 individuals of Mexican descent demonstrated that this method scales effectively to large genomic cohorts and has the potential to reveal fine-scale structure. Initial PPSBM clustering identified nine broad-scale populations. However, applying PPSBM clustering recursively to these populations—while incorporating local ancestry inference and survey data—uncovered cryptic population structure shaped by more recent historical and demographic events. This combined approach enables the identification of genetic communities shaped by diverse historical processes. In northern Mexico, some populations—such as those in Nuevo León—exhibited the highest levels of Spanish & Portuguese and North African genetic ancestry, with many individuals identifying as Jewish, suggesting these individuals are likely of Sephardic Jewish descent ( Bejarano 2005 ). This is further supported by elevated within-population IBD, indicative of a founder event ( Slatkin 2004 ). In southern Mexico, further sub-structuring of the Central Mexican Highlands cluster revealed multiple populations shaped by known episodes of migration and admixture. For instance, the Copala cluster, primarily located in Acapulco, included individuals with the highest levels of Filipino & Austronesian as well as Sub-Saharan African genetic ancestry—likely reflecting the influence of the Manila Galleon trade route that connected Manila and Acapulco from the late 16th to early 19th century ( Bjork 1998 ). Sub-structure within the Central–Isthmus Corridor population highlighted multiple diasporic groups, including Lebanese Mexicans and Syrian Jews, who likely migrated to the region in the early 18th century ( Hamui-Halabe 1997 ). Finally, PPSBM clustering identified indigenous communities with very little Spanish & Portuguese admixture, such as the Isthmus Zapotec, concentrated in the Isthmus of Tehuantepec, the Zapotec of Santiago Zoochila, Maya in Mérida, Yucatán, and the Mixtec of San Juan Mixtepec. Together, these findings demonstrate that the complex history of immigration, colonialism, and slavery in Mexico can be captured and recapitulated using IBD-based PPSBM clustering. We applied recursive sub-structuring to specific populations, resulting in the identification of 81 distinct populations. However, this methodology has the potential to uncover even finer-scale structure given sufficiently large sample sizes. This approach provides a robust foundation for downstream demographic analyses and association studies where subtle population structure is critical, and can inform both genetic ancestry deconvolution and the study of health outcomes associated with specific populations. 6 Supplementary Table Captions Supplementary Table 1 . PPSBM subclustering statistics . Each row corresponds to an independent PPSBM subclustering analysis. Columns include the number of individuals included in the clustering analysis, the final estimate of the number of subclusters, the number of MCMC chains that converged and were retained, the mean estimated number of subclusters ( K ) with standard deviation across all iterations of all MCMCs, the minimum and maximum estimated K , the mean Geweke Z-statistic with standard deviation, and the mean modularity across all MCMC iterations. Supplementary Table 2 . Cluster sample sizes and marginal posterior probabilities . All identified clusters across all PPSBM runs, including their sample sizes and the mean posterior probability of assignment for individuals in each cluster, along with standard deviation. Supplementary Table 3 . IBD sharing statistics within and between all clusters in each PPSBM clustering analysis . “Mean Total IBD” refers to the total IBD shared (in cM) between two clusters divided by the number of possible pairwise comparisons between individuals. “Mean Segment Size” refers to the average size of IBD segments ≥ 8 cM shared between all individuals. “Within Population” indicates whether the comparison is within a single cluster or between two different clusters. Acknowledgements We thank Tim Do, Nate McQuay, and David Poznik for their suggestions and words of wisdom. We also thank 23andMe customers who consented to participate in research for enabling this study. Finally, we thank employees of 23andMe who contributed to the development of the infrastructure that made this research possible. References ↵ Baumdicker , F. , Bisschop , G. , Goldstein , D. , Gower , G. , Ragsdale , A. P. , Tsambos , G. , Zhu , S. , Eldon , B. , Ellerman , E. C. , Galloway , J. G. , et al. ( 2022 ). Efficient ancestry and mutation simulation with msprime 1.0 . Genetics , 220 ( 3 ): iyab229 . OpenUrl CrossRef PubMed ↵ Bejarano , M. ( 2005 ). Sephardic communities in latin america—past and present . Judaica Latinoamericana , 5 : 9 – 26 . OpenUrl ↵ Bjork , K. ( 1998 ). The link that kept the philippines spanish: Mexican merchant interests and the manila trade, 1571–1815 . Journal of World History , 9 ( 1 ): 25 – 50 . OpenUrl ↵ Blondel , V. D. , Guillaume , J.-L. , Lambiotte , R. , and Lefebvre , E. ( 2008 ). Fast unfolding of communities in large networks . Journal of Statistical Mechanics: Theory and Experiment , 2008 ( 10 ): P10008 . OpenUrl CrossRef ↵ Browning , S. R. and Weir , B. S. ( 2010 ). Population structure with localized haplotype clusters . Genetics , 185 ( 4 ): 1337 – 1344 . OpenUrl Abstract / FREE Full Text ↵ Condon , A. and Karp , R. M. ( 2001 ). Algorithms for graph partitioning on the planted partition model . Random Structures & Algorithms , 18 ( 2 ): 116 – 140 . OpenUrl ↵ Conrad , D. F. , Jakobsson , M. , Coop , G. , Wen , X. , Wall , J. D. , Rosenberg , N. A. , and Pritchard , J. K. ( 2006 ). A worldwide survey of haplotype variation and linkage disequilibrium in the human genome . Nature genetics , 38 ( 11 ): 1251 – 1260 . OpenUrl CrossRef PubMed Web of Science ↵ Dai , C. L. , Vazifeh , M. M. , Yeang , C.-H. , Tachet , R. , Wells , R. S. , Vilar , M. G. , Daly , M. J. , Ratti , C. , and Martin , A. R. ( 2020 ). Population histories of the United States revealed through fine-scale migration and haplotype analysis . The American Journal of Human Genetics , 106 ( 3 ): 371 – 388 . OpenUrl CrossRef PubMed ↵ Durand , E. Y. , Do , C. B. , Mountain , J. L. , and Macpherson , J. M. ( 2014 ). Ancestry composition: A novel, efficient pipeline for ancestry deconvolution . bioRxiv , page 010512 . ↵ Durand , E. Y. , Do , C. B. , Wilton , P. R. , Mountain , J. L. , Auton , A. , Poznik , G. D. , and Macpherson , J. M. ( 2021 ). A scalable pipeline for local ancestry inference using tens of thousands of reference haplotypes . bioRxiv , pages 2021 – 01 . ↵ Freyman , W. A. , McManus , K. F. , Shringarpure , S. S. , Jewett , E. M. , Bryc , K. , 23 andMe Research Team , and Auton , A. ( 2021 ). Fast and robust identity-by-descent inference with the templated positional Burrows– Wheeler transform . Molecular Biology and Evolution , 38 ( 5 ): 2131 – 2151 . OpenUrl CrossRef PubMed ↵ Geweke , J. ( 1989 ). Bayesian inference in econometric models using monte carlo integration . Econometrica , 57 ( 6 ): 1317 – 1339 . OpenUrl CrossRef Web of Science ↵ Hamui-Halabe , L. ( 1997 ). Re-creating community: Christians from lebanon and jews from syria in mexico, 1900–1938 . Immigrants & Minorities , 16 ( 1–2 ): 125 – 145 . OpenUrl ↵ Han , E. , Carbonetto , P. , Curtis , R. E. , Wang , Y. , Granka , J. M. , Byrnes , J. , Noto , K. , Kermany , A. R. , Myres , N. M. , Barber , M. J. , et al. ( 2017 ). Clustering of 770,000 genomes reveals post-colonial population structure of North America . Nature Communications , 8 ( 1 ): 14238 . OpenUrl PubMed ↵ Holland , P. W. , Laskey , K. B. , and Leinhardt , S. ( 1983 ). Stochastic blockmodels: First steps . Social Networks , 5 ( 2 ): 109 – 137 . OpenUrl CrossRef Web of Science ↵ Jakobsson , M. , Scholz , S. W. , Scheet , P. , Gibbs , J. R. , VanLiere , J. M. , Fung , H.-C. , Szpiech , Z. A. , Degnan , J. H. , Wang , K. , Guerreiro , R. , et al. ( 2008 ). Genotype, haplotype and copy-number variation in worldwide human populations . Nature , 451 ( 7181 ): 998 – 1003 . OpenUrl CrossRef PubMed Web of Science ↵ Kelleher , J. , Etheridge , A. M. , and McVean , G. ( 2016 ). Efficient coalescent simulation and genealogical analysis for large sample sizes . PLoS Computational Biology , 12 ( 5 ): e1004842 . OpenUrl PubMed ↵ Li , J. Z. , Absher , D. M. , Tang , H. , Southwick , A. M. , Casto , A. M. , Ramachandran , S. , Cann , H. M. , Barsh , G. S. , Feldman , M. , Cavalli-Sforza , L. L. , et al. ( 2008 ). Worldwide human relationships inferred from genome-wide patterns of variation . Science , 319 ( 5866 ): 1100 – 1104 . OpenUrl Abstract / FREE Full Text ↵ Metropolis , N. , Rosenbluth , A. W. , Rosenbluth , M. N. , Teller , A. H. , and Teller , E. ( 1953 ). Equation of state calculations by fast computing machines . The Journal of Chemical Physics , 21 ( 6 ): 1087 – 1092 . OpenUrl CrossRef Web of Science ↵ Nait Saada , J. , Kalantzis , G. , Shyr , D. , Cooper , F. , Robinson , M. , Gusev , A. , and Palamara , P. F. ( 2020 ). Identity-by-descent detection across 487,409 British samples reveals fine scale population structure and ultra-rare variant associations . Nature Communications , 11 ( 1 ): 6130 . OpenUrl PubMed ↵ Newman , M. E. and Girvan , M. ( 2004 ). Finding and evaluating community structure in networks . Physical Review E , 69 ( 2 ): 026113 . OpenUrl CrossRef ↵ Novembre , J. , Johnson , T. , Bryc , K. , Kutalik , Z. , Boyko , A. R. , Auton , A. , Indap , A. , King , K. S. , Bergmann , S. , Nelson , M. R. , et al. ( 2008 ). Genes mirror geography within Europe . Nature , 456 ( 7218 ): 98 – 101 . OpenUrl CrossRef PubMed Web of Science ↵ Peixoto , T. P. ( 2014 ). The graph-tool Python library . figshare . ↵ Peixoto , T. P. ( 2019 ). Bayesian stochastic blockmodeling . In Advances in network clustering and blockmodeling , pages 289 – 332 . Wiley . ↵ Peixoto , T. P. ( 2021 ). Revealing consensus and dissensus between network partitions . Physical Review X , 11 ( 2 ): 021003 . OpenUrl ↵ Peixoto , T. P. ( 2023 ). Descriptive vs. inferential community detection in networks: Pitfalls, myths and half-truths . Cambridge University Press . ↵ Price , A. L. , Patterson , N. J. , Plenge , R. M. , Weinblatt , M. E. , Shadick , N. A. , and Reich , D. ( 2006 ). Principal components analysis corrects for stratification in genome-wide association studies . Nature Genetics , 38 ( 8 ): 904 – 909 . OpenUrl CrossRef PubMed Web of Science ↵ Pritchard , J. K. , Stephens , M. , and Donnelly , P. ( 2000 ). Inference of population structure using multilocus genotype data . Genetics , 155 ( 2 ): 945 – 959 . OpenUrl Abstract / FREE Full Text ↵ Slatkin , M. ( 2004 ). A population-genetic test of founder effects and implications for ashkenazi jewish diseases . The American Journal of Human Genetics , 75 ( 2 ): 282 – 293 . OpenUrl CrossRef PubMed Web of Science ↵ Traag , V. A. ( 2023 ). leidenalg: Python package implementing the Leiden algorithm. v0.10.2 . ↵ Traag , V. A. , Waltman , L. , and Van Eck , N. J. ( 2019 ). From Louvain to Leiden: guaranteeing well-connected communities . Scientific Reports , 9 ( 1 ): 1 – 12 . OpenUrl CrossRef PubMed ↵ Wong , Y. , Ignatieva , A. , Koskela , J. , Gorjanc , G. , Wohns , A. W. , and Kelleher , J. ( 2024 ). A general and efficient representation of ancestral recombination graphs . Genetics , 228 ( 1 ): iyae100 . OpenUrl CrossRef PubMed ↵ Zhang , L. and Peixoto , T. P. ( 2020 ). Statistical inference of assortative community structures . Physical Review Research , 2 ( 4 ): 043271 . OpenUrl View the discussion thread. Back to top Previous Next Posted November 30, 2025. Download PDF Supplementary Material Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Bayesian inference of population structure using identity-by-descent-based stochastic block models Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Bayesian inference of population structure using identity-by-descent-based stochastic block models Steven J. Micheletti , Katarzyna Bryc , Samantha G. Ancona Esselmann , Peter R. Wilton , the 23andMe Research Team , William A. Freyman bioRxiv 2025.11.26.690810; doi: https://doi.org/10.1101/2025.11.26.690810 Share This Article: Copy Citation Tools Bayesian inference of population structure using identity-by-descent-based stochastic block models Steven J. Micheletti , Katarzyna Bryc , Samantha G. Ancona Esselmann , Peter R. Wilton , the 23andMe Research Team , William A. Freyman bioRxiv 2025.11.26.690810; doi: https://doi.org/10.1101/2025.11.26.690810 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Genetics Subject Areas All Articles Animal Behavior and Cognition (7618) Biochemistry (17633) Bioengineering (13856) Bioinformatics (41841) Biophysics (21399) Cancer Biology (18529) Cell Biology (25422) Clinical Trials (138) Developmental Biology (13352) Ecology (19860) Epidemiology (2067) Evolutionary Biology (24282) Genetics (15582) Genomics (22462) Immunology (17700) Microbiology (40295) Molecular Biology (17140) Neuroscience (88419) Paleontology (666) Pathology (2823) Pharmacology and Toxicology (4813) Physiology (7632) Plant Biology (15107) Scientific Communication and Education (2042) Synthetic Biology (4284) Systems Biology (9808) Zoology (2267)
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.