Presentation is loading. Please wait.

Presentation is loading. Please wait.

Gil McVean Department of Statistics, Oxford Approximate genealogical inference.

Similar presentations


Presentation on theme: "Gil McVean Department of Statistics, Oxford Approximate genealogical inference."— Presentation transcript:

1 Gil McVean Department of Statistics, Oxford Approximate genealogical inference

2 Motivation We have a genome’s worth of data on genetic variation We would like to use these data to make inferences about multiple processes: recombination, mutation, natural selection, demographic history

3 Example I: Recombination In humans, the recombination rate varies along a chromosome Recombination has characteristic influences on patterns of genetic variation We would like to estimate the profile of recombination from the variation data – and learn about the factors influencing rate

4 Example II: Genealogical inference The genealogical relationships between sequences are highly informative about underlying processes We would like to estimate these relationships from DNA sequences We could use these to learn about history, selection and the location of disease- associated mutations

5 Modelling genetic variation We have a probabilistic model that can describe the effects of diverse processes on genetic variation: The coalescent Coalescent modelling describes the distribution of genealogical relationships between sequences sampled from idealised populations Patterns of genetic variation result from mapping mutations on the genealogy

6

7 Where do these trees come from? Present day

8 Ancestry of current population Present day

9 Ancestry of sample Present day

10 The coalescent: a model of genealogies time coalescence Most recent common ancestor (MRCA) Ancestral lineages Present day

11 Coalescent modelling describes the distribution of genealogies

12 …and data

13 Generalising the coalescent The impact of many different forces can readily be incorporated into coalescent modelling With recombination, the history of the sample is described by a complex graph in which local genealogical trees are embedded – called the ancestral recombination graph or ARG Ancestral chromosome recombines

14 Genealogical trees vary along a chromosome

15 Coalescent-based inference We would like to use the coalescent model to drive inference about underlying processes Generally, we would like to calculate the likelihood function However, there is a many-to-one mapping of ARGs (and genealogies) to data Consequently, we have to integrate out the ‘missing-data’ of the ARG This can only be done using Monte Carlo methods (except in trivial examples)

16 time

17 A problem and a possible solution Efficient exploration of the space of ARGs is a difficult problem The difficulties of performing efficient exact genealogical inference (at least within a coalescent framework) currently seem insurmountable There are several possible solutions –Dimension-reduction –Approximate the model –Approximate the likelihood function One approach that has proved useful is to combine information from subsets of data for which the likelihood function can be estimated –Composite likelihood

18 Example I: Recombination rate estimation We can estimate the likelihood function for the recombination fraction separating two SNPs To approximate the likelihood for the whole data set, we simply multiply the marginal likelihoods (Hudson 2001) The method performs well in point-estimation

19 15 7 1 2 7 2 4 2 3 1 Full likelihood Composite- likelihood approximation R  lnL R R

20 Good and bad things about CL Good things –Estimation using CL can be made very efficient –It performs well in simulations –It can generalise to variable recombination rates Bad things –It throws away information –It is NOT a true likelihood –It typically underestimates uncertainty because of ‘double-counting’

21 Fitting a variable recombination rate Use a reversible-jump MCMC approach (Green 1995) Merge blocksChange block size Change block rate Cold Hot SNP positions Split blocks

22 Composite likelihood ratio Hastings ratio Ratio of priors Jacobian of partial derivatives relating changes in parameters to sampled random numbers Acceptance rates Include a prior on the number of change points that encourages smoothing

23 rjMCMC in action 200kb of the HLA region – strong evidence of LD breakdown

24 How do you validate the method? Concordance with rate estimates from sperm-typing experiments at fine scale Concordance with pedigree-based genetic maps at broad scales

25 Strong concordance between fine-scale rate estimates from sperm and genetic variation Rates estimated from sperm Jeffreys et al (2001) Rates estimated from genetic variation McVean et al (2004)

26 We have generated a map of hotspots across the human genome Myers et al (2005)

27 We have identified DNA sequence motifs that explain 40% of all hotspots Myers et al (2008)

28 ? Age of mutation Date of population founding Migration and admixture Example II: Estimating local genealogies

29 The decay of a tree by recombination

30 0 100 The decay of a tree by recombination

31 Two sequence case Any pair of haplotypes will have regions of high and low divergence We can combine HMM structures with numerical techniques (Gaussian quadrature) to estimate the marginal likelihood surface at a given position, x We can further approximate the likelihood surface by fitting a scaled gamma distribution –This massively reduces the computational load of subsequent steps –In the case of no recombination the truth is a scaled gamma distribution 010111000000000000000000000000000111001110000 001001010000000000000000000000000101000100010

32 Combining surfaces Suppose we have a partially-reconstructed tree We can approximate the probability of any further step in the tree using the composite-likelihood Pr( ) 0 t   } (assumes un-coalesced ancestors are independent draws from stationary distribution)

33 An important detail Actually, don’t use exactly this construction Use a ‘nearest-neighbour’ construction –Each lineage chooses a nearest neighbour –Choose which nearest-neighbour event to occur –Choose a time for the nearest-neighbour event Still uses composite likelihood

34 Building the tree We can use these functions to choose (e.g. maximise or sample) the next event The gamma approximation leads to an efficient algorithm for estimating the local genealogy that has the same time and memory complexity of neighbour-joining This mean it can be applied to large data sets

35 Desirable properties of the algorithm It can be fully stochastic (unlike NJ, UPGMA, ML) It returns the prior in the absence of data: It returns the truth in the limit of infinite data: It is correct for a single SNP: It is close to the optimal proposal distribution (as defined by Stephens and Donnelly 2000) in the case of no recombination It uses much of the available information It is fast – time complexity in n the same as for NJ

36 Example: mutation rate = recombination rate The true tree at 0.5 Simulations = 10, R = 10

37 How to evaluate tree accuracy? Specific applications will require different aspects of the estimated trees to be more or less accurate Nevertheless, a general approach is to compare the representation of bi-partitions in the true tree to estimated ones Rather than require 100% accuracy in predicting a bi-partition, we can (for every observed bi-partition) find the ‘most similar’ bi- partition in the estimated tree We should also weight by the branch length associated with each bi-partition

38 Simple distance weighting (UPGMA) Single sample from posterior Average weighted max r 2 = 0.59Average weighted max r 2 = 0.96 n = 100,  = 20, R = 30 (hotspots)

39 Open questions Obtaining useful estimates of uncertainty –Power transformations of composite likelihood function Using larger subsets of the data –E.g. quartets

40 Acknowledgements Many thanks to Oxford statistics –Simon Myers, Chris Hallsworth, Adam Auton, Colin Freeman, Peter Donnelly Lancaster –Paul Fearnhead International HapMap Project


Download ppt "Gil McVean Department of Statistics, Oxford Approximate genealogical inference."

Similar presentations


Ads by Google