Abstract
Accurate knowledge of haplotypes, the combination of alleles co-residing on a single copy of a chromosome, enables powerful gene mapping and sequence imputation methods. Since humans are diploid, haplotypes must be derived from genotypes by a phasing process. In this study, we present a new computational model for haplotype phasing based on pairwise sharing of haplotypes inferred to be Identical-By-Descent (IBD). We apply the Bayesian network based model in a new phasing algorithm, called systematic long-range phasing (SLRP), that can capitalize on the close genetic relationships in isolated founder populations, and show with simulated and real genome-wide genotype data that SLRP substantially reduces the rate of phasing errors compared to previous phasing algorithms. Furthermore, the method accurately identifies regions of IBD, enabling linkage-like studies without pedigrees, and can be used to impute most genotypes with very low error rate. Genet. Epidemiol. 2011. © 2011 Wiley Periodicals, Inc.35:853-860, 2011
Keywords: haplotype, population isolate, long-range phasing, Bayesian network
INTRODUCTION
The haplotype phase, the co-occurrence of alleles on a chromosome, is a vital piece of information underlying many powerful gene mapping methods including haplotype association, linkage, and genotype imputation [de Bakker et al., 2005]. While high-density genotyping arrays provide accurate genotypes on the order of a million single nucleotide polymorphisms (SNPs) from a single individual, they do not reveal which alleles of heterozygous sites reside in the same DNA molecule.
If samples are appropriately related in a known pedigree, phase can be inferred by segregation, but often samples are not closely related. In the absence of efficient experimental methods for haplotype inference [Fan et al., 2010; Kitzman et al., 2010], the past decade has seen the development of several computational approaches for estimating the haplotype phase. These include imperfect phylogeny [Halperin and Eskin, 2004], haplotype copying [Li and Stephens, 2003], and localized clustering methods [Browning and Browning, 2007; Koivisto et al., 2003; Scheet and Stephens, 2006]. All these assume that one is analyzing a relatively small, homogenous sample of individuals from a large outbred population. In such a case, the individuals are assumed to be distantly related, descending from a small set of founders hundreds or thousands of generations ago and possibly having undergone observed mutations since their most recent common ancestor. These assumptions hold to a large extent in many well-studied populations and sample sets, such as 120 “Utah residents with ancestry from northern and western Europe” [Frazer et al., 2007] or 3,000 people “born in England, Wales or Scotland” [The Wellcome Trust Case Control Consortium, 2007]. In contrast, these assumptions are not met when a large enough proportion of the population has been genotyped, as is increasingly the case for isolated founder populations such as Iceland [Kong et al., 2008] or Finland [Jakkula et al., 2008]. As attention shifts back from common to rare variants [Manolio et al., 2009] isolates with founder effects have revived potential for genetic research, because rare variants can more readily drift to higher frequencies hence facilitating phenotype mapping [Holm et al., 2011; Kenny et al., 2009].
Recently, Kong et al. [2008] introduced a “long-range phasing” approach for inferring the haplotype phase in sample sets that cover a relatively large proportion of the population. Their key insight was that, while it is improbable for a distantly related pair of individuals, say third or fourth cousins, to share a genomic locus identical-by-descent (IBD) from this recent common ancestor, if they do share such a locus, they are likely to share quite a long stretch of neighboring loci, 10–12.5 cM on average. This long segment of DNA is likely to contain a thousand or more SNP markers on a commercial genotyping array making it possible to deduce IBD from the identity-by-state (IBS) of the observed markers.
Kong et al. demonstrated the method on genotype data which covered more than 10% of the census population of Iceland where they estimated that on average 19 genotyped individuals share a genomic locus IBD from a historical common ancestor. This large sample from the relatively small population of Iceland allowed them to implement the long-range phasing with a fairly straightforward rule-based method which does not take full use of the data but disregards partly inconsistent information [Hickey et al., 2011; Kong et al., 2008]. Their method phases a fixed segment of a chromosome at a time, making it hard to locate recombination sites and phase markers around them.
Recently, Genovese et al. [2010] presented a Hidden Markov Model (HMM) for IBD detection between a pair of diploid individuals. For phasing multiple individuals, they formulate a combinatorial problem which again is a break from probabilistic framework, with similar issues as with the Kong et al. method.
These observations prompt the development of a fully probabilistic model for accurate haplotype phasing and IBD inference in a large, densely genotyped and relatively closely related set of individuals. Others have recently described methods for IBD inference in such sample sets [Browning and Browning, 2010, 2011; Gusev et al., 2009]. Here, we introduce a new model for haplotype phasing, which is inspired by the long-range phasing approach of Kong et al. [2008] and by Gallager codes [1962] from coding theory.
We demonstrate that our method is able to provide accurate genome-wide haplotype phase and IBD relationship information, both in a simulated founder population and in real data from the Orkney islands. We also contribute an open-source software implementing the described method. Our main contribution is the model-based approach for long-range phasing, which has intuitive parameterization, probabilistic output, and clear structure, which can provide insights to distribution of haplotypes and lends itself to further methods development.
MATERIAL AND METHODS
A GRAPHICAL MODEL FOR IBD AND HAPLOTYPE PHASE
Following the long-range phasing approach [Kong et al., 2008], we compare pairs of individuals to locate genomic segments likely to descend from a recent common ancestor without internal recombination events. Starting from this information, we infer the phase of the heterozygous markers and refine IBD constraints between the haplotypes of all pairs of individuals. More technically, we use the HMM to approximate the IBD process along each pair of diploid genomes [Genovese et al., 2010] and combine all pairwise HMMs to form a Bayesian network. The most probable haplotype phases and IBD relationships are inferred from the unobserved variables of the network with the Min-Sum (also known as Max-Product or Viterbi) algorithm [Kschischang et al., 2001].
We approximate the IBD process along a pair of diploid genomes with a five state continuous time Markov model running along the chromosome. The states of the model capture a subset of the possible IBD relationships between the chromosomes; there is one state for the case when the two individuals do not share a haplotype IBD, and one for each of the four cases when the two individuals share exactly one haplotype IBD. While there are 15 different ways for a subset of four haplotypes to be IBD [Thompson, 2008], the others either involve the two haplotypes within an individual being IBD, in which case the phasing is trivial, or contain one of our four cases as a subcase that contains all the phasing information. The five-state model therefore allows substantial computational simplification while preserving sufficient detail for our main goal of long-range haplotype phasing.
The IBD process is parameterized with rate g, of moving from the non-IBD state to an IBD-state, and with rate l, of moving from an IBD state to the non-IBD state. The rates g and l also define the expected lengths of IBD and non-IBD segments given IBS. Since the IBD process is continuous time along the chromosome, it is possible for the IBD relationship to “flip” to a different pair of haplotypes between adjacent pairs of markers. The transition probabilities are calculated as exp(tQ), where Q is the rate matrix and t is the genetic distance between adjacent markers estimated from the fine scale genetic map [Myers et al., 2005].
We limit the probability of moving to an IBD state between adjacent markers to the unconditional probability of IBD in the population, i.e. the kinship coefficient. For isolated populations with high kinship and dense genotyping arrays, this limit only affects a small portion of distantly positioned markers.
On each SNP marker, the hidden state of the HMM emits a pair of diplotypes, that is ordered pairs of alleles, one diplotype for each individual. The emission probabilities follow the allele frequencies observed in the sample and Hardy-Weinberg equilibrium, given the IBS constraint imposed by the IBD status of the hidden state. For example, take one individual who is homozygous for the minor allele and another one who is heterozygous. If they are IBD on one chromosome, they must share the minor allele and the emission probability for the pair of diplotypes is f2(1 − f) with minor allele frequency of f. If they are not IBD, the probability is f3(1 − f).
To use the model for phasing, we combine the HMMs for all pairs of individuals into a Bayesian network. The network illustrated in Figure 1, includes observed variables g for the genotypes and hidden variables h for the diplotypes and p for the IBD relationship between pairs of individuals. A variable encodes the diplotype for individual a on marker j. The distribution of the observed genotype depends essentially deterministically on the underlying diplotype but allowing for some noise from the genotyping assay. The network also includes an IBD variable for each SNP j and pair of individuals a and b. This variable encodes the IBD relationship between the two individuals at marker j.
The conditional probability of given the diplotypes on current marker and the IBD state on the previous marker is calculated by inverting the emission probabilities of the HMM described above via a version of Bayes rule that also incorporates the transition probabilities
To complete the model, the diplotypes are given an uniform prior. A more sophisticated prior for the diplotypes might help with imputation of missing data, but choice of the correct prior is not obvious as the trivial allele frequency based prior was empirically found to lead to strong overcalling of the major alleles when genotype observations are missing. It is likely that the uniform prior acts as a counter balance for overcounting the alleles in the case where more than two individuals share a single allele IBD, a known problem of pairwise methods in pedigree analysis.
IMPLEMENTATION
We implemented the SLRP program to find the approximate Maximum-A-Posteriori (MAP) estimates of the hidden variables in the Bayesian network of Figure 1, that is the phased diplotypes h and the IBD assignments p. While in principle it is possible to find the exact MAP values either deterministically, with the Junction Tree algorithm, or stochastically with Monte Carlo methods, we see that the deterministic Min-Sum algorithm provides sufficiently accurate approximations quickly and reliably.
The Min-Sum algorithm is a variant of a general class of message passing algorithms similar to e.g. Cluster Variation Method, LDPC and Turbo Code decoding, Forward-Backward, Viterbi and Loopy Belief Propagation algorithms [Durbin et al., 1998; Gallager, 1962; Kikuchi, 1951; Kschischang et al., 2001; Pearl, 1988]. The algorithm works by sending vector-valued messages along the edges of the graphical model until convergence. Intuitively, the message along an edge describes the source node's belief about the MAP value of the target node. After the message updates have converged, the incoming messages for each value x at each node j approximate the max-marginal value Mj(x) = maxP(y1,y2,…)|yj = x. We therefore find the MAP setting by selecting the value at each node that maximize Mj(x). The general message update rules along with the specific formulas for all the messages in the SLRP model are given in the supplementary material.
The messages must be updated on every step of the algorithm for all sites and pairs of individuals. This is extremely demanding even for a modest number of individuals and sites. To decrease the computational demand, we do one initial scan over all pairs of individuals to find the segments that can plausibly harbor IBD haplotypes. This initial scan is essentially a Forward–Backward [Kschischang et al., 2001] pass over each pair after which sites with more than a 50% probability of being IBD are called plausible IBD segments. The full-message passing is executed only over the plausible IBD segments which decreases the computational and memory requirements to a small fraction at the cost of not being able to call phase on sites without a recent ancestor common with someone else in the data set.
One potential issue with the Min-Sum algorithm is ensuring convergence. With appropriately dampened message updates [Murphy et al., 1999], we have not experienced these problems. In our experience, with an expected non-IBD segment length of 1 cM and an expected IBD segment length of 10 cM, the SLRP message updates converge within our default of 30 iterations.
SIMULATED TEST DATA
To test the accuracy of SLRP, we simulated genotype data with a model resembling isolated human populations genotyped with current commercial genotyping arrays. The simulation used SimuPOP [Peng and Amos, 2008] to follow a panmictic population founded by 100 individuals growing exponentially to 18,000 in 12 generations. Recombinations were added during each mating according to the published genetic map [Myers et al., 2005] and the alleles were transmitted perfectly without mutation. We assume lack of mutations because the expected number of mutations on the observed sites during the time of the simulation is negligible (less than one observed mutation during the simulated time on all genotypes in the sample).
The simulation followed the genealogy of 7,505 SNP markers spanning the whole of chromosome 20 of length 1.09 M or 62 Mbp. The mean SNP density is thus 6,885 per Morgan. The tracked markers were chosen to be those present both in HapMap [Frazer et al., 2007] and on Illumina 370k genotyping arrays. The founding genotypes were taken from HapMap using 100 unrelated Utah residents with Northern and Western European ancestry. For each of 10 independent simulation runs, we sample a set of 190 individuals and store the identity of the founding ancestors for each tracked marker. From this information, we produce the genotypes, the true phase, and the true IBD relationships needed for the accuracy estimates.
REAL TEST DATA
We estimate the accuracy of SLRP on real data by phasing a set of individuals recruited and genotyped as a part of the Orkney Complex Disease Study (ORCADES). ORCADES is an ongoing family-based study in the isolated Scottish archipelago of Orkney. Orkney comprises 17 inhabited islands with “Mainland” being the largest with 15,000 current inhabitants out of a total of 19,900. The genetic history of Orkney is characterized by a fairly stable population size for the last 1,000 years and by strong endogamy within different islands and villages. Most of the present day chromosomes are thought to have come to Orkney either with the Norse Viking conquest after AD 800 or via Scottish immigration in the centuries around the transfer of Orkney to Scottish rule in AD 1468. The participants recruited to the ORCADES study have a minimum of two grandparents of Orcadian ancestry, with ∼93% having three or four Orcadian grandparents [McQuillan et al., 2008; Wilson et al., 2001]. The samples were geneotyped for on Illumina HumanHap300v2 array with 310,844 markers passing QC. The average SNP density is 8,817 SNPs per Morgan.
The data set used for the evaluation consists of 599 individuals, out of whom 169 have at least one genotyped parent. We used the genotyped parents to phase the offspring on sites where the offspring was heterozygous and at least one of the parents was homozygous. None of the parents was included in the 599 individuals used for phasing so as to avoid the trivial case where SLRP is expected to excel.
We evaluate the phasing accuracy of the method on simulated and real genotyping data by comparison to Beagle [Browning and Browning, 2007] and Mach [Li et al., 2010]. We also compare accuracy of IBD detection to Beagle IBD and fastIBD and GERMLINE [Gusev et al., 2009].
RESULTS
The described model results in significantly better phasing in isolate populations than the state of the art general purpose phasing algorithms. Simultaneously SLRP provides both the phased haplotypes and accurate IBD relationships between the phased chromosomal fragments. When comparing the different programs, one should remember that the other methods have been designed for general outbred populations and usually make a phasing and imputation call on every site, unlike SLRP which refuses to make a call when faced with too much uncertainty. If a phase call is required on every site, the SLRP output can be post processed with a general purpose phasing tool, such as IMPUTE2 [Howie et al., 2009], which can take partly phased haplotypes as input.
PHASING ACCURACY
Table I shows the mean switch error rates and phasing yield on the simulated data for SLRP, Beagle and Mach. For complete, error free genotypes SLRP produces a full order of magnitude fewer switch errors than Beagle. Approximately 10–30% of the switch errors occur in locations where SLRP is uncertain about the phase and has left the marker unphased.
I.
Perfect | 1% Missing | 5% Missing | 0.2% Errors | 2% Errors | |
---|---|---|---|---|---|
Beagle 3.0.4 | 63.5 | 68.3 | 98.5 | 73.1 | 182.0 |
Mach1 | 11.9 | 11.8 | 12.4 | 13.3 | 29.0 |
SLRP | 2.7 | 2.8 | 3.4 | 5.1 | 28.8 |
SLRP yield (%) | 92.8 | 92.7 | 91.9 | 87.8 | 45.3 |
SLRP within phased segments | 1.7 | 1.7 | 2.1 | 3.6 | 21.0 |
SLRP, systematic long-range phasing.
SLRP retains most of its accuracy also when faced with noisy or missing data. Even with up to 5% missing genotypes or 0.2% genotyping error rate, SLRP results in several fold fewer switch errors than the general purpose methods. Only when the error rate becomes exceedingly high at 2% does SLRP result in a high switch error rate and low phasing yield. This feature remains also when most of the errors are on a subset of markers (20% with 10% error rate, 80% with 0.1% rate). As with other phasing and imputation methods, stringent QC of the input data is vital before applying SLRP.
Mach performs well on phasing the isolate sample, especially when faced with missing or erroneous input. While the switch error rate is typically two to three times as much as with SLRP, it is still moderate and stable over the realistic span of data missingness and error. This performance is likely due to the limited variability in our simulated sample, which can be wholly captured with the Mach model.
The SLRP model disregards the event when an individual is Homozygous By Descent (HBD), which is individuals whose two chromosomes are IBD to each other. This could result in loss of power in IBD detection and in phasing of individuals IBD to the HBD segment. We studied this by calculating the switch error rate and phasing yield on sites IBD to HBD regions. To estimate the significance of the result, we permuted the individuals 1,000 times for each independent simulation and calculated the yield and phasing error on the used sites. We observed that HBD does not have effect on phasing accuracy (P = 0.24) and the phasing yield is slightly better on IBD to HBD regions (93% vs. 96%, P = 0.04). It seems likely that the certainty of phase on homozygous regions overcomes the potential power loss due to modeling inaccuracy of HBD.
Running SLRP on an outbred population with low levels of long-range IBD does not produce useful results. When we phased 5,484 individuals from outbred European populations (WTCCC NBS and 58BC sets and HapMap CEU children using 7,293 SNP markers on chromosome 20. Density of 6,748 SNPs per Morgan), the phase was called for only 15% of the heterozygous sites.
IBD ACCURACY
The core of the long-range phasing methods is the identification of IBD stretches from the dense genotyping data. As a by-product of phasing, SLRP outputs the inferred IBD relationships between the phased haplotypes. This information can be used further for mapping disease loci with population-based linkage analysis or IBD-mapping methods [George et al., 2000; Purcell et al., 2007].
We compare our method to three other recently published IBD detection methods, GERMLINE, Beagle IBD, and Beagle fastIBD [Browning and Browning, 2011, 2010; Gusev et al., 2009]. All of them define IBD similarly to us, as a segment of chromosome inherited in one piece from a common ancestor without internal recombinations. We use the simulated chromosome 20 data to estimate the sensitivity and the false discovery rate (FDR) for each of the methods. The results of the comparison are presented in Table II.
II.
Perfect (%) | 1% Missing (%) | 5% Missing (%) | 0.2% Errors (%) | 2% Errors (%) | ||
---|---|---|---|---|---|---|
Beagle | FDR | 1.0 | 1.1 | 1.3 | 1.1 | 1.5 |
Beagle fastIBD | FDR | 8.4 | 8.4 | 8.7 | 8.3 | 6.7 |
Germline | FDR | 10.0 | 9.9 | 9.5 | 9.5 | 6.0 |
SLRP | FDR | 1.5 | 1.5 | 1.5 | 1.3 | 1.7 |
Beagle | Sensitivity | 12.1 | 13.2 | 22.0 | 19.3 | 13.4 |
Beagle fastIBD | Sensitivity | 87.1 | 87.0 | 87.0 | 85.8 | 71.6 |
Germline | Sensitivity | 69.8 | 68.7 | 62.6 | 65.4 | 10.1 |
SLRP | Sensitivity | 68.5 | 68.3 | 67.6 | 55.0 | 17.6 |
SLRP, systematic long-range phasing; FDR, false-discovery rate; IBD, identity-by-descent.
The two notable features of the comparison are the high accuracy of SLRP compared to greedy pairwise methods GERMLINE and fastIBD and high sensitivity compared to Beagle IBD, which integrates over phase uncertainty. What is somewhat surprising is the poor performance of Beagle IBD on this data set. Our view is that this is because Beagle estimates background LD and haplotype frequencies from the same data that are used for IBD detection. This background estimation works when there is a negligible amount of true IBD in the data but falls apart in cases like ours, where most individuals have at least one, often many, other individuals IBD on most of the markers. In this situation, the background LD and haplotype frequencies are overestimated and accordingly the IBD probabilities are underestimated. This discrepancy highlights the difference between isolated populations and the outbred populations for which Beagle was designed.
Beagle fastIBD and to some extent GERMLINE provide good sensitivity but with a cost of FDR. The FDR advantage of SLRP is probably due to the additional power gained by requiring consistency between the haplotype phase and the IBD relationships.
IMPUTATION ACCURACY
Most modern phasing methods are able to impute genotypes missing at random from the input data. We compared the imputation accuracy of our method to Beagle and Mach on simulated data with some genotypes set as missing. We set either 1% or 5% of the input genotypes to missing at random and ran the phasing/imputation as previously. SLRP only imputes haplotypes for which it has found a long shared segment with another individual; hence we can often only impute one allele for a missing genotype. Table III provides the error rates for the three phasing tools. The errors are counted as discordances with the observed genotype at sites that SLRP imputes fully.
III.
1% Missing (%) | 5% Missing (%) | |
---|---|---|
Beagle 3.0.4 | 4.04 | 5.34 |
Mach1 | 1.65 | 1.85 |
SLRP | 0.09 | 0.11 |
Yield for alleles | 76 | 74 |
SLRP, systematic long-range phasing.
SLRP excels in imputation accuracy over Beagle and Mach. While SLRP refuses to make an imputation call on about a quarter of the missing alleles, the error rate of the calls is an order of magnitude lower than with Mach, which in turn has error rate one third of that of Beagle. This accuracy is as expected given the high-phasing accuracy of SLRP as demonstrated above.
PHASING REAL DATA
With the real data, the performance of the different methods, shown in Table IV, was similar to the results on the simulated data. SLRP performed the best by a large margin, with 3.6 switch errors on average per Morgan, followed by Mach with 17 errors per Morgan and Beagle with 23 errors per Morgan. SLRP called phase for 92% of the heterozygous sites. None of the methods showed excessive error rate biases on any chromosome.
IV.
Full data | Distantly related | |
---|---|---|
Beagle 3.0.4 | 23.5 | 62.5 |
Mach1 | 17.2 | 23.3 |
SLRP | 3.6 | 3.8 |
SLRP yield (%) | 92 | 74 |
SLRP, systematic long-range phasing; ORCADES, Orkney Complex Disease Study.
Because of the family-based sampling in the ORCADES study, the phased set includes fairly closely related individuals even after excluding the parents. To test how the methods behave with fewer more distantly related samples, we rephased a subset of 327 individuals such that no two individuals share more than 20% of their genome as estimated by plink [Purcell et al., 2007]. This limit is equal to the expected IBD sharing of first cousins. The selected subset still includes 102 individuals with genotyped parents enabling accuracy estimation.
All the phasing methods perform worser with fewer more distantly related samples than with the closely related data set. Somewhat surprisingly, the phasing accuracy of SLRP did not drop significantly but instead the performance loss manifested as a drop in yield. While SLRP could phase 92% of the heterozygous sites with the full data, it would only phase 74% in the more distantly related data set. Of the other phasing algorithms, Mach makes a third more switch errors on the distantly related set of individuals but Beagle seems to suffer by more than doubling its error rate. While removing the closely related individuals makes the sample set conform more to the models used by Mach and Beagle, their increased error rate is likely due to decreased statistical power provided by the smaller input.
In SLRP, the expected length of the non-IBD IBS segment allows trading of the phasing accuracy for phasing yield. We tried to improve the yield by halving this value to 0.5 cM, which did improve the yield on the distantly related data set to 81% with the cost of one more switch error per Morgan. The relatively low yield in the distantly related data set as compared to our simulation is consolidated by observing that Orkney has had a stable population size for an extended period of time, resulting in well-mixed recombinant haplotypes. This is in contrast with our simulation, which has a rapidly expanding population resulting in long shared haplotype segments. It is also possible that the ORCADES data set contains an unappreciated amount of migrant haplotypes.
COMPUTATIONAL COMPLEXITY
The complexity of the SLRP model scales linearly in the number of markers and quadratically in the number of individuals. The quadratic scaling causes the program to be quite slow on inputs with large numbers of individuals. For phasing and IBD detection in the set of 190 simulated test individuals used here, SLRP is the second fastest of the four programs after Beagle FastIBD. SLRP used 65 CPU minutes for IBD detection and phasing on average while Beagle fastIBD used 18 CPU minutes and Beagle IBD used 11 CPU minutes for phasing and 87 CPU minutes for IBD detection. The most time consuming program was Mach, which took 17 CPU hours to phase each test set. For phasing the larger ORCADES set with 599 individuals, Beagle the fastest, using one CPU hour to phase chromosome 20, followed by SLRP using 7.5 CPU hours and Mach taking 37 CPU hours.
The time and memory requirements of SLRP can be traded with the yield and accuracy by altering the model parameters, most importantly the expected non-IBD IBS segment length. Depending on the amount of IBD in the data set, SLRP spends much of the total time in message passing within the plausible IBD segments. With longer expected non-IBD segment length, the initial scan finds fewer plausible IBD segments hence there is less work to be done in the actual phasing part of the process.
Several technical tricks, such as limiting the depth of coverage of the plausible IBD segments and careful windowing of the message passing, can be used to improve the efficiency of the SLRP algorithm (see supplementary methods). Together these options have enabled us to process a large Finnish data set of more than 13,000 individuals genotyped on more than 300,000 SNP markers in 2,700 CPU hours using at most 67GB of memory.
DISCUSSION
Inspired by the long-range phasing approach of Kong et al. [2008], we have developed a new genotype phasing model that explicitly considers IBD segments, and have shown that our implementation of the model, SLRP, gives excellent performance on simulated and real data for isolated founder populations.
It is interesting to compare the underlying model used by SLRP to that used by haplotype copying methods, such as Mach, PHASE, and IMPUTE [Howie et al., 2009]. SLRP has a quadratic number of loading variables each with a small fixed size state space and number of connections, whereas Mach etc. have a linear number of loading variables, each of which can be connected to any other haplotype. The overall time complexity is similar, but SLRP explicitly models several individuals sharing a haplotype, whereas the copying methods model, at any one place, each haplotype being related to just one other.
The SLRP dependency structure is distantly inspired by the Low Density Parity Checking codes (Gallager codes) from coding theory [Gallager, 1962; Kschischang et al., 2001]. In Figure 1, the diplotypes can be seen as the received message and the IBD indicators as the parity constraints, resulting in a MAP decoding algorithm similar to our Min-Sum algorithm.
In the Bayesian network of Figure 1, it might be argued that the dependencies between the diplotypes h and the IBD indicators p should be reversed such that the diplotypes would depend on IBD status and not vice versa. While the reversal would make intuitive sense, with n individuals it would result in each diplotype h having a massive conditional probability table (CPT) with entries. In the current formulation the CPT for each h has only four entries. Since the size of the CPT for the IBD indicators would differ only by a constant factor (16 in fact), the formulation in Figure 1 is much more compact and hence more time and memory efficient than the alternative.
We have shown that the SLRP software and the associated probability model results in more than twofold improvement in switch error rate over general purpose phasing algorithms on samples from isolated founder populations. The IBD relations between the chromosomes are an explicit and integral part of the model and it might be possible to use those in disease gene mapping in isolate populations [George et al., 2000; Purcell et al., 2007].
WEB RESOURCES
Software implementation of Systematic Long Range Phasing https://github.com/kpalin/SLRP
Acknowledgments
K.P. and R.D. were supported by the Wellcome Trust grant WT077192. ORCADES was supported by the Chief Scientist Office of the Scottish Government, the Royal Society and the European Union framework program 6 EUROSPAN project (contract no. LSHG-CT-2006-018947). DNA extractions were performed at the Wellcome Trust Clinical Research Facility in Edinburgh. We acknowledge the invaluable contributions of Lorraine Anderson and the research nurses in Orkney, the administrative team in Edinburgh and the people of Orkney. This study makes use of data generated by the Wellcome Trust Case-Control Consortium. A full list of the investigators who contributed to the generation of the data is available from http://www.wtccc.org.uk. Funding for the project was provided by the Wellcome Trust under award 076113 and 085475.
Supplementary material
Additional Supporting Information may be found in the online version of this article
REFERENCES
- de Bakker PIW, Yelensky R, Pe'er I, Gabriel SB, Daly MJ, Altshuler D. Efficiency and power in genetic association studies. Nat Genet. 2005;37:1217–1223. doi: 10.1038/ng1669. [DOI] [PubMed] [Google Scholar]
- Browning BL, Browning SR. A fast, powerful method for detecting identity by descent. Am J Hum Genet. 2011;88:173–182. doi: 10.1016/j.ajhg.2011.01.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Browning SR, Browning BL. Rapid and accurate haplotype phasing and missing-data inference for whole-genome association studies by use of localized haplotype clustering. Am J Hum Genet. 2007;81:1084–1097. doi: 10.1086/521987. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Browning SR, Browning BL. High-resolution detection of identity by descent in unrelated individuals. Am J Hum Genet. 2010;86:526–539. doi: 10.1016/j.ajhg.2010.02.021. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Durbin R, Eddy S, Krogh A, Mitchison G. Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids. Cambridge: Cambridge University Press; 1998. [Google Scholar]
- Fan HC, Wang J, Potanina A, Quake SR. Whole-genome molecular haplotyping of single cells. Nat Biotechnol. 2010;29:51–57. doi: 10.1038/nbt.1739. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Frazer KA, Ballinger DG, Cox DR, Hinds DA, Stuve LL, Gibbs RA, Belmont JW, Boudreau A, Hardenbol P, Leal SM, Pasternak S, Wheeler DA, Willis TD, Yu F, Yang H, Zeng C, Gao Y, Hu H, Hu W, Li C, Lin W, Liu S, Pan H, Tang X, Wang Jian, Wang W, Yu J, Zhang B, Zhang Q, Zhao Hongbin, Zhao Hui, Zhou J, Gabriel SB, Barry R, Blumenstiel B, Camargo A, Defelice M, Faggart M, Goyette M, Gupta S, Moore J, Nguyen H, Onofrio RC, Parkin M, Roy J, Stahl E, Winchester E, Ziaugra L, Altshuler D, Shen Yan, Yao Z, Huang W, Chu X, He Y, Jin L, Liu Y, Shen Yayun, Sun W, Wang Haifeng, Wang Yi, Wang Ying, Xiong X, Xu L, Waye MMY, Tsui SKW, Xue H, Wong JT-F, Galver LM, Fan J-B, Gunderson K, Murray SS, Oliphant AR, Chee MS, Montpetit A, Chagnon F, Ferretti V, Leboeuf M, Olivier J-F, Phillips MS, Roumy S, Sallée C, Verner A, Hudson TJ, Kwok P-Y, Cai D, Koboldt DC, Miller RD, Pawlikowska L, Taillon-Miller P, Xiao M, Tsui L-C, Mak W, Song YQ, Tam PKH, Nakamura Y, Kawaguchi T, Kitamoto T, Morizono T, Nagashima A, Ohnishi Y, Sekine A, Tanaka T, Tsunoda T, Deloukas P, Bird CP, Delgado M, Dermitzakis ET, Gwilliam R, Hunt S, Morrison J, Powell D, Stranger BE, Whittaker P, Bentley DR, Daly MJ, de Bakker PIW, Barrett J, Chretien YR, Maller Julian, McCarroll Steve, Patterson N, Pe'er I, Price A, Purcell Shaun, Richter DJ, Sabeti P, Saxena R, Schaffner SF, Sham PC, Varilly P, Stein LD, Krishnan L, Smith AV, Tello-Ruiz MK, Thorisson GA, Chakravarti A, Chen PE, Cutler DJ, Kashuk CS, Lin S, Abecasis GR, Guan W, Li Y, Munro HM, Qin ZS, Thomas DJ, McVean Gilean, Auton A, Bottolo L, Cardin N, Eyheramendy S, Freeman C, Marchini J, Myers S, Spencer C, Stephens Matthew, Donnelly P, Cardon LR, Clarke G, Evans DM, Morris AP, Weir BS, Mullikin JC, Sherry ST, Feolo M, Skol A, Zhang H, Matsuda I, Fukushima Y, Macer DR, Suda E, Rotimi CN, Adebamowo CA, Ajayi I, Aniagwu T, Marshall PA, Nkwodimmah C, Royal CDM, Leppert MF, Dixon M, Peiffer A, Qiu Renzong, Kent A, Kato K, Niikawa N, Adewole IF, Knoppers BM, Foster MW, Clayton EW, Watkin J, Muzny D, Nazareth L, Sodergren E, Weinstock GM, Yakub I, Birren BW, Wilson RK, Fulton LL, Rogers J, Burton J, Carter NP, Clee CM, Griffiths M, Jones MC, McLay K, Plumb RW, Ross MT, Sims SK, Willey DL, Chen Z, Han H, Kang L, Godbout M, Wallenburg JC, L'Archevõque P, Bellemare G, Saeki K, Wang Hongguang, An D, Fu H, Li Q, Wang Z, Wang R, Holden AL, Brooks LD, McEwen JE, Guyer MS, Wang VO, Peterson JL, Shi M, Spiegel J, Sung LM, Zacharia LF, Collins FS, Kennedy K, Jamieson R, Stewart J. 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]
- Gallager R. Low-density parity-check codes. IRE Trans Inf Theory. 1962;8:21–28. [Google Scholar]
- Genovese G, Leibon G, Pollak MR, Rockmore DN. Improved IBD detection using incomplete haplotype information. BMC Genet. 2010;11:58. doi: 10.1186/1471-2156-11-58. [DOI] [PMC free article] [PubMed] [Google Scholar]
- George AW, Visscher PM, Haley CS. Mapping quantitative trait loci in complex pedigrees: a two-step variance component approach. Genetics. 2000;156:2081–2092. doi: 10.1093/genetics/156.4.2081. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Gusev A, Lowe JK, Stoffel M, Daly MJ, Altshuler D, Breslow JL, Friedman JM, Pe'er I. Whole population, genome-wide mapping of hidden relatedness. Genome Res. 2009;19:318–326. doi: 10.1101/gr.081398.108. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Halperin E, Eskin E. Haplotype reconstruction from genotype data using Imperfect Phylogeny. Bioinformatics (Oxford, England) 2004;20:1842–1849. doi: 10.1093/bioinformatics/bth149. [DOI] [PubMed] [Google Scholar]
- Hickey JM, Kinhorn BP, Tier B, Wilson JF, Dunstan N, van der Werf JHJ. A combined long-range phasing and long haplotype imputation method to impute phase for SNP genotypes. Genet Sel Evol. 2011;43:12. doi: 10.1186/1297-9686-43-12. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Holm H, Gudbjartsson DF, Sulem P, Masson G, Helgadottir HT, Zanon C, Magnusson OT, Helgason A, Saemundsdottir J, Gylfason A, Stefansdottir H, Gretarsdottir S, Matthiasson SE, Thorgeirsson GM, Jonasdottir A, Sigurdsson A, Stefansson H, Werge T, Rafnar T, Kiemeney LA, Parvez B, Muhammad R, Roden DM, Darbar D, Thorleifsson G, Walters GB, Kong A, Thorsteinsdottir U, Arnar DO, Stefansson K. A rare variant in MYH6 is associated with high risk of sick sinus syndrome. Nat Genet. 2011;43:316–320. doi: 10.1038/ng.781. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Howie BN, Donnelly P, Marchini J. A flexible and accurate genotype imputation method for the next generation of genome-wide association studies (N. J. Schork, Ed.) PLoS Genet. 2009;5:e1000529. doi: 10.1371/journal.pgen.1000529. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Jakkula E, Rehnström K, Varilo T, Pietiläinen OPH, Paunio T, Pedersen NL, DeFaire N, Järvelin M-R, Saharinen J, Freimer N, Ripatti S, Purcell Shaun, Collins A, Daly MJ, Palotie A, Peltonen Leena. The genome-wide patterns of variation expose significant substructure in a founder population. Am J Hum Genet. 2008;83:787–794. doi: 10.1016/j.ajhg.2008.11.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kenny EE, Gusev A, Riegel K, Lütjohann D, Lowe JK, Salit J, Maller JB, Stoffel M, Daly MJ, Altshuler DM, Friedman JM, Breslow JL, Pe'er I, Sehayek N. Systematic haplotype analysis resolves a complex plasma plant sterol locus on the micronesian Island of Kosrae. Proc Natl Acad Sci USA. 2009;106:13886–13891. doi: 10.1073/pnas.0907336106. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kikuchi R. A theory of cooperative phenomena. Phys Rev. 1951;81:988–1003. [Google Scholar]
- Kitzman JO, MacKenzie AP, Adey A, Hiatt JB, Patwardhan RP, Sudmant PH, Ng SB, Alkan C, Qiu Ruolan, Eichler EE, Shendure J. Haplotype-resolved genome sequencing of a Gujarati Indian individual. Nat Biotechnol. 2010;29:59–63. doi: 10.1038/nbt.1740. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Koivisto M, Perola M, Varilo T, Hennah W, Ekelund J, Lukk M, Peltonen L, Ukkonen E, Mannila H. An MDL method for finding haplotype blocks and for estimating the strength of haplotype block boundaries. Pac Symp Biocomput. 2003:502–513. doi: 10.1142/9789812776303_0047. [DOI] [PubMed] [Google Scholar]
- Kong A, Masson G, Frigge M, Gylfason A. Detection of sharing by descent, long-range phasing and haplotype imputation. Nat Genet. 2008;40:1068–1075. doi: 10.1038/ng.216. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kschischang FRR, Frey BJJ, Loeliger HAA. Factor graphs and the sum-product algorithm. IEEE Trans Inf Theory. 2001;47:498–519. [Google Scholar]
- Li N, Stephens M. Modeling linkage disequilibrium and identifying recombination hotspots using single-nucleotide polymorphism data. Genetics. 2003;165:2213–2233. doi: 10.1093/genetics/165.4.2213. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li Y, Willer CJ, Ding J, Scheet P, Abecasis G. MaCH: using sequence and genotype data to estimate haplotypes and unobserved genotypes. Genet Epidemiol. 2010 doi: 10.1002/gepi.20533. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Manolio Ta, Collins FS, Cox NJ, Goldstein DB, Hindorff La, Hunter DJ, McCarthy MI, Ramos EM, Cardon LR, Chakravarti A, Cho JH, Guttmacher AE, Kong A, Kruglyak L, Mardis E, Rotimi CN, Slatkin M, Valle D, Whittemore AS, Boehnke M, Clark AG, Eichler EE, Gibson G, Haines JL, Mackay TFC, McCarroll Stevena, Visscher PM. Finding the missing heritability of complex diseases. Nature. 2009;461:747–753. doi: 10.1038/nature08494. [DOI] [PMC free article] [PubMed] [Google Scholar]
- McQuillan R, Leutenegger AL, Abdel-Rahman R, Franklin CS, Pericic M, Barac-Lauc L, et al. Runs of homozygosity in European populations. Am J Hum Genet. 2008;83:359–372. doi: 10.1016/j.ajhg.2008.08.007. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Murphy K, Weiss Y, Jordan MI. 1999. pp. 467–475. Loopy belief propagation for approximate inference: an empirical study. Proceedings of Uncertainty in AI. Stockholm, Sweden: Morgan Kaufmann.
- Myers S, Bottolo L, Freeman C, McVean G, Donnelly P. A fine-scale map of recombination rates and hotspots across the human genome. Science (New York, NY) 2005;310:321–324. doi: 10.1126/science.1117196. [DOI] [PubMed] [Google Scholar]
- Pearl J. Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Stockholm, Sweden: Morgan Kaufmann; 1988. [Google Scholar]
- Peng B, Amos CI. Forward-time simulations of non-random mating populations using simuPOP. Bioinformatics. 2008;24:1408–1409. doi: 10.1093/bioinformatics/btn179. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Purcell S, Neale B, Toddbrown K, Thomas L, Ferreira M, Bender D, Maller J, Sklar P, Debakker P, Daly M. PLINK: a tool set for whole-genome association and population-based linkage analyses. Am J Hum Genet. 2007;81:559–575. doi: 10.1086/519795. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Scheet P, Stephens M. A fast and flexible statistical model for large-scale population genotype data: applications to inferring missing genotypes and haplotypic phase. Am J Hum Genet. 2006;78:629–644. doi: 10.1086/502802. [DOI] [PMC free article] [PubMed] [Google Scholar]
- The Wellcome Trust Case Control Consortium. Genome-wide association study of 14,000 cases of seven common diseases and 3,000 shared controls. Nature. 2007;447:661–678. doi: 10.1038/nature05911. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Thompson E. The IBD process along four chromosomes. Theor Popul Biol. 2008;73:369–373. doi: 10.1016/j.tpb.2007.11.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wilson JF, Weiss DA, Richards M, Thomas MG, Bradman N, Goldstein DB. Genetic evidence for different male and female roles during cultural transitions in the British Isles. Proc Natl Acad Sci USA. 2001;98:5078–5083. doi: 10.1073/pnas.071036898. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.