Abstract
Analysis of population structures and genome local ancestry has become increasingly important in population and disease genetics. With the advance of next generation sequencing technologies, complete genetic variants in individuals' genomes are quickly generated, providing unprecedented opportunities for learning population evolution histories and identifying local genetic signatures at the SNP resolution. The successes of those studies critically rely on accurate and powerful computational tools that can fully utilize the sequencing information. Although many algorithms have been developed for population structure inference and admixture mapping, many of them only work for independent SNPs in genotype or haplotype format, and require a large panel of reference individuals. In this paper, we propose a novel probabilistic method for detecting population structure and local admixture. The method takes input of sequencing data, genotype data and haplotype data. The method characterizes the dependence of genetic variants via haplotype segmentation, such that all variants detected in a sequencing study can be fully utilized for inference. The method further utilizes a infinite-state Bayesian Markov model to perform de novo stratification and admixture inference. Using simulated datasets from HapMapII and 1000Genomes, we show that our method performs superior than several existing algorithms, particularly when limited or no reference individuals are available. Our method is applicable to not only human studies but also studies of other species of interests, for which little reference information is available.
Software Availability: http://stat.psu.edu/~yuzhang/software/dbm.tar
Introduction
Recent advance in high-throughput sequencing technologies [1-3] has enabled genome-wide identification of genetic variants at the individual level. Particularly, single nucleosome polymorphism (SNP) is the most common and the easiest genetic information detected by sequencing. SNPs not only contain rich information about the evolution of individuals, but also can be used as markers to pinpoint phenotype-causative loci in phenotype-ascertained samples. Sequencing technologies can detect all mutations genome-wide. The complete genetic landscape thus provides us with unprecedented opportunities to learn the evolution history of individuals and identify functional regions with phenotypic consequences at the SNP resolution. The complexity and the scale of sequencing data, however, impose new computational and statistical challenges that require development of new methodologies.
In this paper, we introduce a new method for identifying population stratification (or population structure) and local admixture for sequencing studies. Sensitive population structure detection and high-resolution inference of local ancestry have wide applications in disease genetics [4-8]. Population stratification refers to non-random mating between groups of individuals (often due to physical separation), such that there is a systematic difference in the SNP allele frequencies between groups. One can detect population stratification by clustering analysis, where individuals within clusters have similar allele frequencies across SNPs, and individuals between groups have different allele frequencies. STRUCTURE [9] is based on this idea, yet STRUCTURE and many other approaches [10-13] require independent SNPs for de novo structure detection, i.e., identifying unknown numbers of populations in a sample. To analyze all SNPs from sequencing studies, methods that can handle linkage disequilibrium (LD) among SNPs are needed.
Population admixture is a reverse process of stratification, where two or more previously separated populations begin interbreeding. The genomes of admixed individuals therefore contain genetic information from multiple lineages as a mosaic combination. If the history of admixing is relatively recent, we can trace back the ancestry of each genomic region in admixed individuals by comparing the region to that of non-admixed individuals with known ancestry. Many methods [14-22] have been developed for local ancestry inference in admixed populations, but again many of them require independent SNPs and thus cannot be applied to sequencing data. In addition, ancestry information is hard to obtain except for human studies, such that existing methods cannot be used.
We introduce a new method called DBM-Admix (Dynamic Bayesian Markov model for Admixture mapping) for detecting population stratification and mapping local admixtures in sequencing studies. Compared to existing methods, DBM-Admix has several advantages. 1) The method can perform de novo inference of stratification and admixture, i.e., without requiring reference ancestry information. 2) The method can accommodate switching errors in haplotype phasing. Several existing methods infer admixture in each haplotype separately, assuming that the input haplotypes have no switch errors, which is unrealistic and can loose power. 3) As opposed to modeling individuals separately and/or utilizing sliding windows, our method makes inference of all individuals simultaneously, and uses Markov chains to infer local admixture at the SNP resolution.
DBM-Admix is the first algorithm for de novo mapping of local admixtures using all SNPs without pre-screening independent and/or ancestry informative (AIM) SNPs. The main difficulty of de novo mapping lies in that, without knowing the dependence structure of SNPs, there are no standard criteria to determine the number of populations and admixtures. Our method tackles this problem by first learning the SNP dependence structure using an infinite-state hidden Markov model. It then uses the learned SNP dependence and combines all individuals to detect unknown population structures and local admixtures via a Bayesian probabilistic model. An advantage of Bayesian approaches is that model uncertainties and regularization are naturally taken into account by Bayesian priors. As a result, DBM-Admix works well even if little and possibly unreliable reference information is available.
Our method dynamically partitions individuals' genomes into states (the number of states is unknown if ancestral information is unavailable). Our approach has two layers of hierarchies: 1) one layer of hidden Markov model (HMM) for characterizing SNP dependence in haplotypes, where sequencing data are converted into haplotype segments; and then 2) another layer of HMM for population admixture, where the haplotype segments are clustered into populations. Transitions between haplotype segments and populations are allowed to represent haplotype recombination and population admixture, respectively. For computational efficiency and also for practical interests, we separate the two layers of HMMs into two programs. We first infer haplotype structures (haplotypes and their segmentations) from sequencing data using our previously developed method DBM-Hap [23], and then we run DBM-Admix to further identify population stratification and local admixture.
For de novo mapping of stratification, we compare DBM-Admix to fineSTRUCTURE [24], which is currently the only other program that can do de novo stratification detection on dependent SNPs. For local admixture mapping, we compare DBM-Admix to three benchmark methods: HAPMIX [18], PCADMIX [21], and LAMP-LD [22]. These methods have very different mechanisms for admixture inference and can all handle LD between SNPs (PCADMIX automatically filters SNPs in strong LD and thus serves as a benchmark of independent SNP method). None of the above methods directly take sequencing data as inputs, but they can be applied after converting sequencing reads into genotypes/haplotypes.
Results
Simulated datasets
We downloaded the phased haplotypes of individuals from the HapMap project [25] and the 1000 Genomes project [26], respectively. Using these haplotypes, we simulated new individuals by randomly recombining haplotypes within and across populations (while the latter is admixing) according to pre-specified proportions. The frequency of recombing haplotypes within a population is 1 per 200 kb. The probability of admixing across populations at each SNP j is 1-exp(-λdj), where λdenotes the number of generations of admixture, and dj denotes probability of crossover between SNPs (j-1) and j in one generation. For HapMapII samples, dj is given by the HapMap genetic map in centimorgan (1% probability of recombination per generation). For 1000Genome samples, we used linear interpolation to calculate dj from the HapMap genetic map. We further simulated stratified individuals as a special case when λ = 0. The benchmarking programs fineSTRUCTURE, HAPMIX, LAMPLD and PCADMIX require input of either haplotypes (PCADMIX) or genotypes (HAPMIX and LAMPLD), and if reference individuals are used, they all require haplotype format of reference individuals. Although genotypes and haplotypes are already given in the simulated sample, they serve as the "truth" in this study and thus cannot be directly used as the input to each program. Instead, we simulated sequencing data (with a Poisson distribution) at 8× coverage from the true genotypes and re-called genotypes and re-phased haplotypes from the simulated sequencing data by DBM-Hap [23]. We then removed "non-polymorphic" SNPs from the reconstructed data and input the inferred genotypes and haplotypes to each program. The simulated sequencing coverage is large enough so that the genotyping error rate is <1% and the haplotype phasing error rate is <5%, representing realistic errors encountered in practice. Some previous methods did not do this additional step and thus their results are over-optimistic.
De novo inference of population stratification
We first evaluated DBM-Admix for de novo inference of population stratification. Because of the strong LD among SNPs, the only method we can compare to is fineSTRUCTURE [24], while all other de novo stratification algorithms work for independent SNPs only, and cannot identify the correct number of populations on dependent SNPs. We simulated datasets containing K = 2, 3 and 4 populations from the HapMapII data and the 1000Genomes data, respectively. Particularly, for the HapMapII data, the populations are (CEU, YRI), (CEU, YRI, JPT+CHB), and (CEU, YRI, JPT+CHB, GIH), respectively. For the 1000Genomes data, the populations are (CEU, YRI), (CEU, YRI, JPT), and (CEU, YRI, JPT, MXL), respectively. In each dataset, we simulated 20 diploid individuals per population, and each individual contained 10,000 HapMapII SNPs and 30,000 1000Genomes SNPs, respectively, which covered ~8 Mb region randomly chosen in the genome. We ran DBM-Admix and fineSTRUCTURE on these datasets in default settings. Figure 1 shows the results of the HapMapII datasets, where DBM-Admix identified all individuals' origins perfectly and also inferred the correct number of populations in each dataset. In contrast, fineSTRUCTURE consistently over-estimated the true number of populations in all datasets, and the detected population structures were inaccurate. We measured the accuracy of the inferred population structures by the adjusted rand index (aRI) [27], by which aRI = 1 means 100% correct and aRI = 0 means random guessing. The adjusted rand index can measure consistency between two clustering results even if their numbers of clusters are different. It is seen that fineSTRUCTURE split the individuals within the same populations into subpopulations. This appeared to be positively correlated with the total number of individuals in each dataset (40, 60, and 80 for K = 2, 3, and 4, respectively), and was not due to real subpopulations in the data, because we randomly recombined haplotypes to generate new individuals in each population. The over-estimation of fineSTRUCTURE is likely due to its ad hoc use of the tuning parameter c, which failed to correctly adjust for the effective number of independent SNPs.
Figure 2 shows the results of the 1000Genomes datasets. Again, DBM-Admix performed very well with only one mistake at K = 4. In contrast, the results of fineSTRUCTURE were much worse than those obtained in the HapMapII data, both in the adjusted rand index and in the estimated number of populations. It is seen from the principal component projection that the individuals in HapMapII were more separated than individuals in 1000Genomes. The 1000Genomes data contained many SNPs not in HapMapII, the haplotype configurations of which were relatively similar across populations. As a result, it is harder to analyze the 1000Genomes data, for which fineSTRUCTURE performed unsatisfactorily.
Local admixture mapping with references
We next evaluated DBM-Admix for local admixture inference using ancestral references. We first simulated 2-way admixture datasets containing 20 individuals with equal proportions of CEU and YRI origins at 40,000 HapMapII and 120,000 1000Genome SNPs, respectively. The number of SNPs was chosen such that each dataset covered ~30 Mb region in the genome. Figure 3 shows the percentage of incorrect local ancestry inferred by DBM-Admix, HAPMIX, LAMPLD, and PCADMIX in samples admixed by λ = 8, 24, 72, 216 generations, using n = 2, 4, 8, 16 ancestral references per population, respectively. We did not use the adjusted rand index here, because each admixed individual may carry haplotypes from multiple origins. The percentage of incorrect local ancestry is calculated at each SNP separately and then averaged over all SNPs. We observed that DBM-Admix performed consistently and substantially better than the other methods when only n = 2 reference individuals per ancestral population were available. At n = 4, DBM-Admix still performed better than the other methods in all cases. At n = 8, DBM-Admix performed the second best after LAMPLD for the HapMapII data, but performed the best for the 1000Genomes data. At n = 16, DBM-Admix still performed the 2nd best in all cases. In addition, the errors for all methods increased as λ increased, i.e., more ancient admixtures are harder to identify. The 1000Genomes data were again harder to analyze and had much higher error rates than the HapMapII data..
We next simulated datasets of 3-way admixtures containing 20 individuals admixed with equal proportions of CEU, YRI and JPT (+CHB) origins at 40,000 HapMapII SNPs and 120,000 1000Genome SNPs, respectively. We dropped HAPMIX from this study as it only works for 2 populations. Figure 4 shows the proportion of incorrect local ancestry inferred by the three programs. Similar to the results of 2-way admixture, and more evidently, DBM-Admix performed substantially better than the other methods when the number of reference individuals was small (at n = 2 and 4). With more references used, LAMPLD began to perform similar (n = 8) or better (n = 16 1000Genomes data) than our method, while PCADMIX performed the worst in most scenarios (at n = 2, PCADMIX failed to produce any results for the HapMapII data due to singularity problems). This suggests that selecting independent and/or AIM SNPs is not desirable and is less powerful than using all SNPs.
We show in Figure 5 two examples of 3-way admixture inference results using n = 4 references per ancestral population, for HapMapII and 1000Genomes, respectively. The results inferred by DBM-Admix, LAMPLD and PCADMIX for only one individual are shown. We observed that the results for HapMapII were much cleaner than the results for 1000Genomes. Although the error rates for the 1000Genomes data (right panel in Figure 5) were large (>20%), our method still produced good agreement between the inferred and the true local ancestries in most regions. Comparing the results of the 3 methods, DBM-Admix produced the most accurate and the cleanest inference, whereas PCADMIX produced the noisiest results with spurious spikes, which is probably due to its inefficient selection of AIMs from limited references. Finally, although we only showed the results of equal proportions of admixtures in this study, we have further tested all methods on datasets with unequal proportions of admixtures (e.g., 80% CEU and 20% YRI, data not shown), where we obtained almost the same results and conclusions.
De novo local admixture mapping
Our method can in principle identify unknown numbers of populations admixed in a sample using a dynamic Bayesian Markov process. We have already shown its performance in de novo identification of population structures. For admixture mapping, however, de novo inference is much more difficult, because not only the number of populations is unknown, the locations and the frequency of local admixtures are also unknown. We tested DBM-Admix without using references in two ways: 1) "0 ref": no reference data but specify the population number; and 2) "de novo": no reference data and no population number. We tested the method on the datasets simulated in the 2-way and 3-way admixture studies with 2 references, and we call the previous results of DBM-Admix "2 ref" as a benchmark. Without reference information, it is not guaranteed for the method to yield the correct population labels and/or identify the correct number of populations at all SNPs. When comparing the results, therefore, we performed label mapping at each SNP. In particular, we ran DBM-Admix on the admixed individuals along with 2 reference individuals per population, without telling the program the origins of the references. We then mapped the inferred population labels to the true labels of the references to maximize their correlation. Finally, we computed the percentage of incorrect local ancestries using the mapped labels on the admixed individuals.
Table 1 shows the result of DBM-Admix for de novo admixture mapping. For the HapMapII datasets, our method performed similarly among the three input types, with "2 ref" slightly better than "0 ref", and "0 ref" slightly better than "de novo", which were consistent with the amount of information we provided to the program. For the 1000Genomes datasets, we observed similar results but with larger error rates. The results of "0 ref" and "de novo" were almost identical in the 1000Genomes data, suggesting that using references are more critical when analyzing individuals admixed between similar populations or when the data are noisier.
Table 1.
2-way admix | 3-way admix | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HapMapII | 1000Genomes | HapMapII | 1000Genomes | |||||||||||||
λ | 8 | 24 | 72 | 216 | 8 | 24 | 72 | 216 | 8 | 24 | 72 | 216 | 8 | 24 | 72 | 216 |
2 ref | 0.7 | 1.1 | 1.6 | 4.3 | 9.5 | 12.1 | 15.8 | 20.3 | 1.7 | 2.6 | 4.1 | 8.7 | 20.8 | 23.8 | 27.7 | 30.9 |
0 ref | 1.0 | 1.7 | 2.9 | 5.5 | 14.8 | 17.9 | 22.1 | 25.6 | 3.0 | 4.2 | 7.7 | 15.1 | 26.0 | 31.6 | 36.5 | 35.2 |
denovo | 2.0 | 2.4 | 3.5 | 8.4 | 15.2 | 20.6 | 21.6 | 25.6 | 2.9 | 5.4 | 9.0 | 18.1 | 25.1 | 31.8 | 38.3 | 35.3 |
"λ": # of admix generations; "2 ref": 2 references per population; "0 ref": no reference but specify # of populations; "denovo": no reference and no # of populations.
We further evaluated the performance of de novo admixture mapping of DBM-Admix with respect to sample size. We simulated datasets of 5, 10, 20, 40 and 80 individuals (at λ = 24 and two references per population for label mapping) with 2-way and 3-way admixtures from HapMapII and 1000Genomes data, respectively, following the same simulation procedures as described above. As shown in Figure 6 (top), the error rates of local admixture decreased as sample size increased, because our method combined multiple individuals for joint admixture inference. The error rates of de novo inference were greater than the error rates of "2 ref" (using 2 references per population) in most cases, but the differences were not substantial. We further show in Figure 6 (bottom) the number of admixing populations per SNP inferred by DBM-Admix. It is very challenging to identify the correct number of admixing populations (dash lines) at all SNPs, particularly for the 1000Genomes data, but our method performed satisfactorily. These results suggested that de novo local admixture mapping is indeed feasible in certain scenarios.
Discussion
We have presented a novel method DBM-Admix for detecting population stratification and admixture requiring little information about ancestral populations. One motivation of this work is that in many sequencing studies, particularly exploratory studies, it is very expensive to obtain samples with known ancestry from a species of interest. Particularly ancestral populations may have been extinct in many species. In such cases, existing methods will perform poorly or fail to produce results. DBM-Admix can take input of sequencing data, genotype data, and haplotype data. The method incorporates LD information through haplotype segmentation, which is internally inferred by a method called DBM-Hap (paper submitted), such that all SNPs are jointly utilized without requiring pre-screening of independent and/or AIM SNPs.
Compared to existing methods, DBM-Admix is advantageous in that it infers structures of all individuals simultaneously, such that information is borrowed across individuals to help detecting subtle structures. DBM-Admix is also robust to switch errors in haplotype phasing. Switching pieces of haplotypes within an individual can hamper the power of admixture mapping. This is seen from the fact that more frequent admixture is harder to infer, whereas switching errors due to computational phasing algorithms can artificially create extra "admixtures". DBM-Admix is built on a Bayesian framework so that inference uncertainty is accounted for in the model. Particularly, when there are few reference individuals, the uncertainty (or reliability) of the reference information, such as the ancestral allele frequencies, can be automatically taken into account by the model. As a result, DBM-Admix avoids over fitting the data. Finally, DBM-Admix learns the dependence structure of SNPs in a sample and utilizes the dependence to perform de novo detection of stratification and local admixture. The idea is to use a Bayesian Markov process to find a proper number of states to fit the data. With SNP dependence captured by haplotype segments, DBM-Admix is able to estimate the number of populations stratified or admixed in a sample. Using simulated datasets from two very different reference panels, HapMapII and 1000Genomes, we demonstrated the superior performance of our method compared to existing approaches, with and without using ancestral references.
In term of computing speed, DBM-Admix runs linearly with respect to the sample size and the number of SNPs if the number of populations is fixed. For de novo inference, DBM-Admix runs proportional to the square of the number of populations inferred by the program. For example, DBM-Admix took ~5 minutes to infer each of the 1000Genomes results in Figure 3 and 4, which contained 20 individuals and 120,000 SNPs per individual. For the de novo mapping results in Figure 6, without knowing the true number of populations, our method took ~10 minutes. About the same amount of time is further required to run DBM-HAP to obtain haplotype segmentation, but this time can be reduced if haplotypes are given.
The current DBM-Admix model can be improved in several ways. One drawback in the current model is that the method makes a bona fide use of haplotype segmentation. If the segmentation is inaccurate, the power of DBM-Admix will suffer. A simple solution is to run the method multiple times independently and then summarize results from all runs. Alternatively, we may merge DBM-Hap and DBM-Admix together into a joint hierarchical model and simultaneously infer haplotypes and population structures. We avoided this approach not only because of its obvious computational burdens, but also because haplotype inference by itself is of interest in many studies (e.g., disease association studies). The users may also want to use haplotypes obtained by other means to infer population structure and admixture. Another weakness of the current model is that, although haplotype segmentation captures SNP dependence, haplotype segments are not equally similar or dissimilar in allele composition. A population is more likely to carry similar haplotype segments, yet the current model does not take this information into account. A possible extension of DBM-Admix is thus to introduce a hierarchical relationship between haplotype segments, such that a population carrying one haplotype segment is more likely to carry another haplotype segment with similar genetic contents. This idea has been previously used in haplotype inference [28], which is straightforward to implement.
Methods
Haplotype segmentation
We first use DBM-Hap [23] to infer haplotype structures from sequencing data. Note that haplotype structures are not equivalent to haplotypes. Haplotypes are just allele compositions across SNPs, whereas haplotype structures further include allele dependence information and the locations of recombination events. We infer haplotype structures by DBM-Hap [23], which is briefly described below.
The input of DBM-Hap is sequencing read counts of two alternative alleles per SNP per individual, denoted by D={dij}, for i = 1,...,N individuals and j = 1,...,L SNPs, where dij = (Aij,aij) denotes the read counts for alleles A and a, respectively. We assume that all individuals are unrelated. We introduce a 2NL binary matrix H = {hij1, hij2}, for i = 1,...,N, j = 1,...,L, denoting the haplotypes of N individuals at L SNPs, where (hi•1, hi•2) denotes the haplotype pair for individual i, and hijl = 0,1 indicates the absence and presence of minor alleles, respectively. To learn haplotype structures, we introduce a latent variable S = {sij1, sij2}, for i = 1,...,N, j = 1,...,L, denoting the haplotype states for N individuals at L SNPs. S represents 2N Markov chains, where (si•1, si•2) represents a pair of Markov chains for individual i, and sijl takes any positive integer values, i.e., infinite number of states, denoting the index of haplotype state of the lth haplotype at SNP j in individual i. At each SNP, we assume that haplotypes in the same state have a common allele frequency. Individuals' haplotype states at nearby SNPs tend to be identical due to its Markov nature. As a result, similar haplotypes will be assigned into the same states. Our intuition is to capture the "ancestral" haplotypes by S, the diversity of which is much lower than that of haplotypes (H) in the current sample. To identify recombination events, we further introduce an indicator variable Φ = {φij1,φij2} denoting the transition between states in the 2N Markov chains across L SNPs. The joint model of DBM-Hap is therefore written as Pr(D,H,S,Φ ) = Pr(D|H)Pr(H|S,Φ )Pr(S,Φ ). In this model, Pr(D|H) denotes the probability of read counts given haplotypes, which we model by Poisson distributions. Pr(H|S,Φ) denotes the emission probability of alleles given states, which we model by independent Bernoulli events at each SNP. Pr(S,Φ ) denotes the Markov chains of haplotype states, which we model by a dynamic infinite state Bayesian Markov process. The output of DBM-Hap includes the posterior inference of haplotype states S, recombination events Φ , and recombination probabilities {rj}j = 1,...,L at each SNP. These yield haplotype segmentation at the individual level and are used as the input to DBM-Admix.
DBM-Admix model
A haplotype segment contains an interval of SNPs that belong to the same haplotype state in S, and the segment is bounded by two recombination events specified by Φ . Conceptually, each haplotype segment represents a piece of ancestral haplotypes, within which alleles are inherited together to the current population. The haplotype segments therefore capture the allele dependence across SNPs. We directly use the segmentation results from DBM-Hap to infer population structure and local admixture. The idea is to introduce another layer of HMMs representing population ancestries, where individuals from the same population, in a region, have the same distribution of haplotype segments.
Let X = {Xik1,Xik2}, for i = 1,...N and k = 1,2,..., denote the haplotype segments in N individuals, with Xikl = {sijl}, for j = (1≤)aikl,aikl+1,...,bikl-1,bikl (≤L) and l = 1 or 2, denoting the kth haplotype segment of the lth haplotype in individual i. The interval [aikl, bikl] is given by Φ from DBM-Hap and is treated as fixed. Also, haplotype segments are consecutive, i.e., bi(k-1)l +1 = aikl. We next introduce 2N Markov chains to model population ancestry. Let Q = {qij1,qij2} denote the population states, for i = 1,...,N, j = 1,...,L, where qijl takes any positive integer values denoting indices of population origins. Again, we allow infinite number of populations. Further let I = {Iij1,Iij2}denote the indicators of population admix events in individual i at SNP j. We write the joint probability function of (X, Q, I) in the form of
(1) |
where Pr(X|Q,I) denotes the emission probability of haplotype segments given population states and admix events, and Pr(Q,I) denotes the HMM distribution of population origins.
To model Pr(X|Q,I), we first identify double haplotype recombination sites in all individuals. The double recombination sites are the SNPs at which both haplotypes in an individual recombine. These are the sites of potential haplotype switch errors. For convenience, we further denote the two ending SNPs (SNP 1 and SNP L) as double recombination sites. Let {Eim} denote the collection of haplotype segments lie between the mth and the (m+1)th double recombination sites in individual i. Let δim denote an indicator of whether or not a haplotype switch error occurs at the double recombination site m in individual i, we write
(2) |
In formula (2), Pr(sijl|qijl) denotes how frequent a haplotype state sijl occurs in population qijl, which is a parameter estimated iteratively as described in the Model Fitting section. Pr(sij(3-l)|qijl) denotes the similar parameter but with the haplotype pair switched (when δim = 1, population qijl on the lth strand emits haplotype state sij(3-l) on the (3-l)th strand, for l = 1 or 2). We assign a small weight wijl to the power of Pr(sijl|qijl) and Pr(sij(3-l)|qijl) to adjust for the fact that haplotype states within a segment are redundant information. By default, , for aikl≤j≤bikl, where rj' is the haplotype recombination probability at SNP j' provided by DBM-HAP. The numerator of the weight equals to the expected number of haplotype recombination events within segment [aikl, bikl], and the denominator equals to the total number of SNPs within the segment. As a result, in formula (2) equals to the geometric mean of {Pr(sijl|qijl)} over all SNPs in the segment to the power of the expected number of haplotype recombination events. Another possible choice of weight is to let wijl = 1 at j = aikl, i.e., the first SNP in each segment, and wijl = rj otherwise, which produces similar results. In formula (2), we also sum over all possible haplotype switch errors at all double recombination sites, and we let the switch error probability ε = 0.5.
We next model the HMM distribution Pr(Q,I) of population ancestries. To detect an unknown number of stratification and admixtures, we use an infinite state Markov model that automatically determines the number of states at each SNP. Let {vq} denote an infinite dimensional vector of probabilities that sum to 1, and is used as the "ancestral" distribution of population states. We model the prior distribution of {vq} by a stick-breaking process [29]. Let {Vq} denote an infinite set of independent Beta random variables, with Vq~Beta(1,1), we express vq = Vq∏t < q(1-Vt). Using this prior, DBM-Admix essentially allows an infinite number of populations to be fitted to the data. Simultaneously, vq is regularized, because it tends to 0 with probability approaching to 1 as q increases to infinity, and hence avoids over-fitting the data. Let {γj} denote the population admix probability between SNPs j-1 and j. We write
subject to the constraint that, if qi(j-1)l≠qijl (i.e., an admix event between SNPs (j-1) and j), the admix indicator Iijl must be 1 (and vise versa, if Iijl = 1, then qi(j-1)l = qijl), otherwise the probability equals to 0. Note that our model has heterogeneous transition probabilities across SNPs. Let v = {vq} denote an infinite-dim column vector of population distribution, 1 denote an infinite-dim column vector of 1s, our transition probability matrix at SNP j is given by diag(1-γj, ∞)+γj1v'.
Without knowing {γj}, we assign a Dirichlet prior Dir(αrj,1-αrj) to {γj}, where rj is the haplotype recombination probability output by DBM-Hap, and α denotes a small constant (by default 0.2). Let ξj = ∑i∑lIijl denote the total number of admix events at SNP j in all Markov chains, we integrate out {γj} and obtain the marginalized probability function
(3) |
Derivation of formula (3) is almost identical to the derivation of formula (4) in [23], from which more details can be found.
Putting formulas (2) and (3) together, along with the prior distribution of {vq}, we obtain the full probability function in the form of Pr(X|Q,I)Pr(Q,I|{vs})Pr({vq}). The unknown parameters in our model include population origins Q, population admix events I, distribution of population origin {vq}, and haplotype segment emission probability Pr(sijl|qijl). All these parameters are inferred iteratively as described below.
Model fitting
Starting from a random initialization of parameters Q, I, {vq}, we first update the population-specific haplotype state distribution Pr(sijl|qijl) = (yijl + 1)/(nijl+Kj), where yijl denotes the number occurrences of haplotype sijl and population qijl, nijl denotes the total number of haplotypes in population qijl, and Kj denotes the number of distinct haplotype states at SNP j.
Given Pr(sijl|qijl), we next update Q and I from the full model, iteratively for one individual at a time conditioning on the parameters of the other individuals. For each individual i, we update {qi.1,qi.2} and {Ii.1,Ii.2} using a forward-summation and backward-sampling (or maximization) algorithm. In the forward-summation step, we calculate the marginal probability of a specific configuration of population origins ending at SNP j of individual i, where the population origins and the admix events at SNPs 1,...,j-1 are marginalized out. This is done recursively at SNPs j = 1,...,L in ascending order. To handle infinite number of states, we collapse all origins with indices >q* into a "super" state, where q* denotes the maximum index in Q in the current iteration. The number of distinct population origins therefore becomes finite in computation. In the backward-sampling (or maximization) step, we use the calculated marginal probabilities to update {qi•1,qi•2} and {Iij1,Iij2} at SNPs j = L,...,1 sequentially in descending order. In particular, we first determine {qiL1,qiL2} by sampling from (or maximizing) the marginal probability at SNP L, and we let IiL1 = IiL2 = 0. If a "super" state is chosen, indicating a new population, we further determine the label of the new population from the prior distribution. Next, at each SNP j < L in descending order, we first determine the admix events {Iij1,Iij2} according to the marginal probability at SNP j and conditioning on the origins {qi(j+1)1,qi(j+1)2} obtained at SNP (j+1). We then determine {qij1,qij2} based on {Iij1,Iij2} and {qi(j+1)1,qi(j+1)2}. If admix does not occur at SNP j in the lth haplotype (Iijl = 0), then qijl = qi(j+1)l. Otherwise, a new population is sampled in the same way as described for SNP L. In practice, either backward sampling or maximization works well, but sampling can help alleviating local mode problems and thus is used by default. We further restrict that admix can only occur at the boundaries of haplotype segments.
Finally, we update the distribution of population origins {vq}. Let {cq} denote the total occurrence of population q at either admix sites (Iijl = 1) or the start of Markov chains. We sample Vq from Vq~Beta(cq+1, ∑t>qct+2), which is the posterior distribution of Vq. We then calculate vq by vq = Vq∏t < q(1-Vt). Note that we only need to calculate {vq} for a finite number of origins up to q*, because we collapse all unoccupied origins with indices >q* into a "super" state, the posterior probability of which is 1-∑q≤q* vq.
We repeat the above model fitting procedures iteratively and we allow a few iterations of burn-in before we collect posterior samples of parameters of interest. To avoid local mode problems, we also randomly split population origins a few times during burn-in, such that the algorithm has a chance to detect more subtle population structures. Finally, we infer population structure and admixture by maximum a posteriori from the posterior samples, at each SNP separately. If reference individuals with known ancestries are available, say, from C ancestries (C = 2,3,...), then DBM-Admix reduces to a heterogeneous (with respect to transition probabilities) Markov model with fixed number of states, and it fits both the sample and the reference individuals together.
Competing interests
The author declare that he has no competing interests.
Authors' contributions
YZ designed and carried out the entire study and wrote the manuscript.
Declarations
Publication of this article was supported by NIH R01HG004718 and NIH 1UL1RR033184.
This article has been published as part of BMC Bioinformatics Volume 14 Supplement 5, 2013: Proceedings of the Third Annual RECOMB Satellite Workshop on Massively Parallel Sequencing (RECOMB-seq 2013). The full contents of the supplement are available online at http://www.biomedcentral.com/bmcbioinformatics/supplements/14/S5.
References
- Church GM. Genomes for all. Sci Am. 2006;294:46–54. doi: 10.1038/scientificamerican0106-46. [DOI] [PubMed] [Google Scholar]
- Hall N. Advanced sequencing technologies and their wider impact in microbiology. J Exp Biol. 2007;210:1518–25. doi: 10.1242/jeb.001370. [DOI] [PubMed] [Google Scholar]
- Schuster SC. Next-generation sequencing transforms today's biology. Nat Methods. 2008;5:16–8. doi: 10.1038/nmeth1156. [DOI] [PubMed] [Google Scholar]
- Hoggart C, Shriver MD, Kittles RA, Clayton DG, McKeigue PM. Design and analysis of admixture mapping studies. Am J Hum Genet. 2004;74:965–978. doi: 10.1086/420855. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhu X, Cooper RS, Elston RC. Linkage analysis of a complex disease through use of admixed populations. Am J Hum Genet. 2004;74:1136–1153. doi: 10.1086/421329. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Reich D, Patterson N, De Jager PL, McDonald GJ, Waliszewska A, Tandon A, Lincoln RR, DeLoa C, Fruhan SA, Cabre P, Bera O, Semana G, Kelly MA, Francis DA, Ardlie K, Khan O, Cree BA, Hauser SL, Oksenberg JR, Hafler DA. A whole-genome admixture scan finds a candidate locus for multiple sclerosis susceptibility. Nat Genet. 2005;37:1113–1118. doi: 10.1038/ng1646. [DOI] [PubMed] [Google Scholar]
- Seldin M, Pasaniuc B, Price AL. New approaches to disease mapping in admixed populations. Nat Rev Genet. 2011;12:523–528. doi: 10.1038/nrg3002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Pasaniuc B, Zaitlen N, Lettre G, Chen GK, Tandon A, Kao WH, Ruczinski I, Fornage M, Siscovick DS, Zhu X, Larkin E, Lange LA, Cupples LA, Yang Q, Akylbekova EL, Musani SK, Divers J, Mychaleckyj J, Li M, Papanicolaou GJ, Millikan RC, Ambrosone CB, John EM, Bernstein L, Zheng W, Hu JJ, Ziegler RG, Nyante SJ, Bandera EV, Ingles SA, Press MF, Chanock SJ, Deming SL, Rodriguez-Gil JL, Palmer CD, Buxbaum S, Ekunwe L, Hirschhorn JN, Henderson BE, Myers S, Haiman CA, Reich D, Patterson N, Wilson JG, Price AL. Enhanced statistical tests for GWAS in admixed populations: assessment using African Americans from CARe and a Breast Cancer Consortium. PLoS Genet. 2011;7:e1001371. doi: 10.1371/journal.pgen.1001371. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Pritchard JK, Stephens M, Donnelly P. Inference of population structure using multilocus genotype data. Genetics. 2000;155:945–958. doi: 10.1093/genetics/155.2.945. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Falush D, Stephens M, Pritchard JK. Inference of population structure using multi-locus genotype data, linked loci, and correlated allele frequencies. Genetics. 2003;164:1567–1587. doi: 10.1093/genetics/164.4.1567. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Patterson N, Price A, Reich D. Population structure and eigenanalysis. PLoS Genet. 2006;2:e190. doi: 10.1371/journal.pgen.0020190. doi: 10.1371/journal.pgen.0020190. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhang Y. Tree-guided Bayesian inference of population structures. Bioinformatics. 2008;24:965–971. doi: 10.1093/bioinformatics/btn070. [DOI] [PubMed] [Google Scholar]
- Alexander DH, Novembre J, Lange K. Fast model-based estimation of ancestry in unrelated individuals. Genome Res. 2009;19:1655–1664. doi: 10.1101/gr.094052.109. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tang H, Coram M, Wang P, Zhu X, Risch N. Reconstructing genetic ancestry blocks in admixed individuals. Am J Hum Genet. 2006;79:1–12. doi: 10.1086/504302. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sundquist A, Fratkin E, Do CB, Batzoglou S. Effect of genetic divergence in identifying ancestral origin using HAPAA. Genome Res. 2008;18:676–682. doi: 10.1101/gr.072850.107. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sankararaman S, Kimmel G, Halperin E, Jordan M. On the inference of ancestries in admixed populations. Genome Res. 2008a;18:668–675. doi: 10.1101/gr.072751.107. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sankararaman S, Sridhar S, Kimmel G, Halperin E. Estimating local ancestry in admixed populations. Am J Hum Genet. 2008b;82:290–303. doi: 10.1016/j.ajhg.2007.09.022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Price A, Tandon A, Patterson N, Barnes KC, Rafaels N, Ruczinski I, Beaty TH, Mathias R, Reich D, Myers S. Sensitive detection of chromosomal segments of distinct ancestry in admixed populations. PLoS Genet. 2009;5:e1000519. doi: 10.1371/journal.pgen.1000519. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Pasaniuc B, Kennedy J, Mandoiu I. Imputation-based local ancestry inference in admixed populations. Proceedings of the 5th International Symposium on Bioinformatics Research and Applications (ISBRA) 2009a;5542:221–233. doi: 10.1007/978-3-642-01551-9_22. [DOI] [Google Scholar]
- Pasaniuc B, Sankararaman S, Kimmel G, Halperin E. Inference of locus-specific ancestry in closely related populations. Bioinformatics. 2009b;25:i213–i221. doi: 10.1093/bioinformatics/btp197. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Brisbin A. Doctoral Dissertation. Cornell University, Ithaca, New York; 2010. Linkage analysis for categorical traits and ancestry assignment in admixed individuals. [Google Scholar]
- Baran Y, Pasaniuc B, Sankararaman S, Torgerson DG, Gignoux C, Eng C, Rodriguez-Cintron W, Chapela R, Ford JG, Avila PC, Rodriguez-Santana J, Burchard EG, Halperin E. Fast and accurate inference of local ancestry in Latino populations. Bioinformatics. 2012;28:1359–67. doi: 10.1093/bioinformatics/bts144. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhang Y. A dynamic Bayesian Markov model for phasing and characterizing haplotypes in next generation sequencing. Bioinformatics. 2003. in press doi:10.1093/bioinformatics/btt065. [DOI] [PMC free article] [PubMed]
- Lawson DJ, Hellenthal G, Myers S, Falush D. Inference of population structure using dense haplotype data. PLoS Genetics. 2012;8(e1002453) doi: 10.1371/journal.pgen.1002453. [DOI] [PMC free article] [PubMed] [Google Scholar]
- The International HapMap Consortium. A second generation human haplotype map of over 3.1 million SNPs. Nature. 2007;449:851–861. doi: 10.1038/nature06258. [DOI] [PMC free article] [PubMed] [Google Scholar]
- The 1000 Genomes Project Consortium. A map of human genome variation from population-scale sequencing. Nature. 2010;467:1061–1073. doi: 10.1038/nature09534. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hubert L, Arabie P. Comparing partitions. Journal of Classification. 1985;2:193–218. doi: 10.1007/BF01908075. [DOI] [Google Scholar]
- Zhang Y, Niu T, Liu J. A coalescence-guided hierarchical Bayesian method for haplotype inference. Am J Hum Genet. 2006;79:313–322. doi: 10.1086/506276. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sethuraman J. A Constructive Definition of Dirichlet Priors. Statistica Sinica. 1994;4:639–650. [Google Scholar]