Lecture 11: Linkage and Recombination#

So far in the class we have been studying the forces affecting single loci which live in isolation. This has captured much of the richness of the evolutionary forces at work shaping genetic variation. The problem though is that loci do not exist as isolated entities in the biological world. Instead genes occupy valuable real estate on chromosomes that are often packed with other genes and functional bits of DNA sequence (e.g. enhancers, promoters, RNAs, etc.). At the extreme many protein-coding genes are known from genomes to overlap other protein-coding genes entirely! So how can we go about capturing some of this richness in our population genetic models?

The answer is of course to start modeling multi-locus phenomena. Our point of entry will be the two-locus model. This will provide us a look at some of the basic problems we need to contend with and will give us the intuition to understand much of the cutting-edge world of gene mapping, modern quantitative genetics, and medical genetics.

Why does being close together on a chromosome matter?#

Before we write down any equations, let’s build some intuition. Think about one of your chromosomes. You got it from one of your parents, but it isn’t an exact copy of either of the two versions of that chromosome your parent carries. When your parent made the egg or sperm that became you, the two versions of that chromosome lined up and swapped pieces (crossing over, remember Lecture 3?). So the chromosome you got is a patchwork, some chunks from your grandmother’s copy and some chunks from your grandfather’s copy, with typically just a few crossovers along each chromosome.

Now pick two sites on that chromosome. If they’re right next to each other, the chance that one of those few crossovers landed exactly in the tiny gap between them is really small, so they almost certainly came from the same grandparent. They were inherited together, as a unit. If instead the two sites are at opposite ends of the chromosome, there’s a good chance a crossover fell somewhere between them and split them up. And sites on different chromosomes don’t travel together at all, thanks to independent assortment.

Now keep going back in time. Every generation, every meiosis is another chance for recombination to break up a molecule of DNA. Fig. 24 follows one ancestor’s copy of a chromosome down a family line. Each generation, on average half of the ancestor’s DNA gets left behind, and the chunks that do make it through get chopped up smaller and smaller. But notice that the pieces that survive are always chunks- stretches of neighboring sites that have stayed together because no recombination event has broken them up yet. That’s the whole reason proximity matters. The closer two sites are, the less likely it is that a historical recombination event has split them apart, so the more their evolutionary histories are tied together. If one of them gets swept up by selection, or drifts up in frequency, its neighbors come along for the ride.

_images/ibd_tracts.png

Fig. 24 Recombination breaks ancestry into smaller and smaller chunks. (A) A simulation of one ancestor’s copy of a chromosome (blue) being passed down a single family line for six generations. (B) The family tree that goes with it. Each generation, someone in the family line (blue) has a kid with an unrelated mate (gray). The family line member carries two copies of the chromosome, the one descended from the ancestor and one that came in from their own unrelated parent. When they make an egg or sperm, those two copies cross over, so the chromosome passed down the family line is a patchwork of the two, and gray DNA from the mates keeps getting spliced in. On average half of the ancestor’s DNA is lost each generation, and the pieces that remain get shorter. What’s left after several generations is a few short chunks of the ancestor’s chromosome, each of which has made it down intact.#

Identity by descent#

This chunky way of thinking gives us a really useful idea. Two copies of a stretch of DNA are identical by descent (IBD) if both were inherited from the very same copy in a common ancestor, without being broken up by recombination along the way. Compare that to what we used in Lecture 9, being identical by state, which just means two copies have the same DNA sequence, for whatever reason. Two copies that are IBD will almost always be identical by state too (unless a new mutation hit one of them on the way down), but two copies can also be identical by state just by chance, without sharing a recent ancestor.

IBD is all about genealogy- who inherited what from whom. And recombination tells us how IBD changes. A parent and child share an entire copy of every chromosome. Two siblings share big long chunks. Every extra meiosis on the path connecting two relatives is another chance for crossovers to chop up the DNA they share, so the more distantly related two people are, the less of their genome they share IBD, and the shorter the shared chunks get. First cousins are connected through four meioses, and on average share about an eighth of their genome, in chunks that are often millions of bases long. By the time you get out to fourth or fifth cousins, the shared chunks are short, and lots of pairs don’t share any detectable chunk at all. So long shared tracts mean close relatives, and short tracts mean distant ones.

This is exactly how consumer DNA testing companies find your relatives. They compare your genome to everyone else in their database, look for long stretches where two people match exactly, and use how many shared stretches there are, and how long they are, to guess how you’re related (Browning and Browning 2012).

Now zoom out from a family to a whole population. If you go back far enough, everyone in a population is related to everyone else, so any two people share lots of tiny IBD chunks from some ancient common ancestor, chopped up by thousands of generations of recombination. Sites that are close together tend to sit on the same inherited chunk, so the alleles at nearby sites tend to travel together through the population’s family tree. That leaves a statistical footprint- alleles at nearby sites end up associated with each other. That association is what we’ll measure next.

Linkage Disequilibrium#

Linkage disequilibrium (LD), with its awkward name, is a measure of the association between alleles on a chromosome. This is the fundamental unit of observation for a whole avenue of medical research today- association mapping, which we’ll get to in the quantitative genetics lectures. What’s neat is that we will watch the mathematical definition of LD just fall right out of our analysis. Our basic model is a two-locus model, an \(A\) and a \(B\) locus each of which have two alleles \(A_1\), \(A_2\), and \(B_1\) and \(B_2\) respectively. The probability per meiosis of a recombination event between the \(A\) and \(B\) locus we will define to be \(r\). Fig. 25 outlines the model graphically.

_images/twoLocus.png

Fig. 25 Two-locus model. The \(A\) locus and the \(B\) locus have a probability of recombination between them per meiosis of \(r\). On the right are given the possible gametes and their associated frequencies#

With 2 di-allelic loci (2-alleles at each locus) there are 4 possible gametes, \(A_1B_1\), \(A_1B_2\), \(A_2B_1\), and \(A_2B_2\). We will call their frequencies \(x_1, x_2, x_3,\) and \(x_4\) respectively. Sometimes people draw a distinction between coupling (\(A_1B_1\) and \(A_2B_2\)) and repulsion (\(A_1B_2\) and \(A_2B_1\)) gametes. To my taste this is pretty arbitrary so we’ll try to avoid that terminology although you should know it to be fluent in the language of meiosis. Note that we can write down the frequency of the \(A_1\) allele as a function of the gamete frequencies, \(p_1 = x_1 + x_2\) (the two gametes that carry \(A_1\)). It follows then that the frequency of the \(B_1\) allele is \(p_2 = x_1 + x_3\).

Now let’s watch how gamete frequencies change generation to generation as a result of recombination. It’s good to note at the outset of this analysis that recombination only changes gamete frequencies; it does not change allele frequencies. If this point isn’t clear, prove it to yourself by doing a simple cross. After one round of meiosis the frequency of the \(A_1B_1\) gamete, \(x_1'\) is

\[\begin{aligned} x_1' = (1-r)x_1 + rp_1p_2. \end{aligned}\]

There are two ways to get an \(A_1B_1\) gamete in the next generation, either it was a recombinant or it was not. The probability that our chosen gamete was not a recombinant is \((1-r)\), so the joint probability of selecting a gamete that was not a recombinant and it being an \(A_1B_1\) gamete is simply \((1-r)x_1\). The second way to get an \(A_1B_1\) gamete is if it were a recombinant between a gamete carrying an \(A_1\) allele (probability \(p_1\)) and a gamete carrying \(B_1\) allele (probability \(p_2\)). The total probability of this event is \(rp_1p_2\) because through recombination we can treat the two loci as independent. These are the two terms of our equation.

Now let’s do what comes naturally. The change in frequency of the \(A_1B_1\) gamete due to recombination, \(\Delta_rx_1\) is

\[\begin{split}\begin{aligned} \Delta_rx_1 &= x_1' - x_1 \\ &= -r(x_1-p_1p_2) \end{aligned}\end{split}\]

The coefficient of \(r\) here leads us to the definition of linkage disequilibrium

\[\begin{aligned} D = x_1 - p_1p_2. \end{aligned}\]

\(D\) is a measure of the difference in the frequency of the \(A_1B_1\) gamete, \(x_1\), and what you would expect its frequency to be if alleles at the two loci were independent (i.e. followed Mendel’s second law). That is to say that if there were no association between the alleles at the \(A\) and \(B\) loci, we would expect \(x_1\) to equal the product of the frequencies of \(A_1\) and \(B_1\). We can then re-write the change in \(x_1\) as a function of \(D\),

\[\begin{aligned} \Delta_rx_1= -rD. \end{aligned}\]

Setting \(\Delta_rx_1 = 0\) we can find the equilibrium gamete frequency \(\hat{x_1}\)

\[\begin{aligned} \hat{x_1} = p_1p_2. \end{aligned}\]

This means that at equilibrium there is no linkage disequilibrium between loci, so that gamete frequencies can be predicted from allele frequencies. Thus recombination acts to destroy LD at a rate proportional to the recombination rate between loci.

Now be careful here, because the names are really confusing. Linkage means two loci sit near each other on the same chromosome. Linkage disequilibrium means the alleles at two loci are statistically associated in the population. They are not the same thing! Our result says that even tightly linked loci will eventually reach linkage equilibrium (\(D = 0\)) as long as \(r > 0\). It just takes them a lot longer to get there. And loci that aren’t linked at all can still be in linkage disequilibrium for a while, for instance right after two populations with different allele frequencies mix together. Now step back and think about this- should I see more or less LD between loci that are on distant portions of chromosomes?

Next let’s turn our attention to how \(D\) itself changes generation to generation. All we are going to do is plugin our \(p_1p_2 + D = x_1\) and recognize that allele frequencies don’t change between generations. This yields

\[\begin{split}\begin{aligned} p'_1p'_2 + D' &= (1-r)(p_1p_2+D) +rp_1p_2 \\ D' &= (1-r)D \end{aligned}\end{split}\]

Iterating this one generation after another leads intuitively to an expression which captures the decay in LD due to recombination over \(t\) generations, starting from some initial value \(D_0\)

\[\begin{aligned} D_t = (1-r)^tD_0 \end{aligned}\]

and the change in D in any generation due to recombination is

\[\begin{aligned} \Delta_rD=-rD. \end{aligned}\]

So recombination whittles away at allelic associations until there are none left. This decay occurs both across generations (i.e. time) and across what we call genetic distance. Genetic distance refers to the amount of recombination between any two loci- so loci that have more recombination between them should have less allelic association (i.e. lower levels of LD).

Linked Selection#

We now know a little bit about the dynamics of linked loci under the influence of recombination. What happens when other forces operate? In particular let’s ask the question, how should selection at a linked locus be felt by a neutral locus nearby? We are going to look at the effect of linked selection from two perspectives- its deterministic influence on linked variation (genetic hitchhiking), and its stochastic influence on allele frequencies (genetic draft).

Genetic Hitchhiking#

Adaptation at the molecular level is characterized by beneficial mutations rising to high frequency and eventually fixing in a population. We call a single iteration of this process a selective sweep. As our beneficial mutation is rising in frequency in the population, it will carry with it its linked genetic background. This process means that variation will be reduced surrounding our beneficial mutation. In the case of no recombination, all variation on the chromosome will be removed from the population. In the case of intermediate levels of recombination, genetic hitchhiking will lead to a local reduction in polymorphism surrounding the beneficial mutation. Thus genetic hitchhiking can be considered to deterministically decrease variation linked to a selective sweep. This idea goes back to John Maynard Smith and John Haigh, who first worked out the math of the hitchhiking effect (Maynard Smith and Haigh 1974).

Fig. 26 shows what a sweep leaves behind. Right at the selected site all the variation is gone, and as you move away along the chromosome, recombination has had more and more chances to rescue neutral variation from being dragged along, so diversity recovers. The result is a valley of low diversity centered on the beneficial mutation. Notice that the valley is wider when selection is stronger. A strongly favored allele sweeps through so fast that recombination has less time to break up its association with its neighbors.

_images/hitchhiking_valley.png

Fig. 26 The footprint of a selective sweep. Expected neutral diversity just after a sweep, relative to what it was before, as a function of distance from the selected site. This uses a simple approximation, \(1 - (2N)^{-2r/s}\), where \(r\) is the recombination rate between the neutral site and the selected site, for a population of \(N=10{,}000\) and a recombination rate of \(10^{-8}\) per base pair.#

What do you think this would mean for regions of the genome with lower versus higher levels of recombination? Think about it for a second before reading on…

In regions with low recombination each sweep should wipe out diversity over a much bigger stretch of chromosome, so those regions should have less diversity overall. That’s exactly what David Begun and Chip Aquadro found when they looked at fruit flies. Levels of DNA polymorphism were lowest in the parts of the genome with the least recombination (Begun and Aquadro 1992), and we now see the same pattern in lots of species.

Background selection#

Sweeps aren’t the only way that selection messes with linked variation. Remember from Lecture 8 that new harmful mutations are showing up all the time, and selection is constantly removing them. Every time selection gets rid of a chromosome carrying a harmful mutation, it also gets rid of all the neutral variation that happened to be sitting on that chromosome. So even with no beneficial mutations around at all, selection against bad mutations steadily shrinks the pool of chromosomes that get to contribute to future generations. This is called background selection, and just like hitchhiking it reduces diversity most where recombination is low (Charlesworth, Morgan and Charlesworth 1993). Hitchhiking and background selection are the two main flavors of what we call linked selection.

Genetic Draft#

In Gillespie’s genetic draft model we focus attention away from the full two locus dynamics of our system and instead concentrate on what happens at a neutral locus linked to a locus undergoing occasional selective sweeps. In this way we can collapse down the dynamics of a two locus system to a one locus perspective.

We begin by following allele frequency change at a neutral locus that is linked to a locus which is undergoing a selective sweep. To keep things simple we’ll assume the neutral locus is completely linked to the selected site (no recombination between them), so whatever neutral allele the beneficial mutation happened to arise next to gets carried all the way to fixation. If sweeps are the only force changing allele frequencies in our population (i.e. an infinite population size) then after a sweep occurs, the frequency of the \(A_1\) allele at the neutral locus is

\[\begin{split}\begin{aligned} p' = \left\{ \begin{array}{ll} 1 & \quad \mbox{with probability $p$}\\ 0 & \quad \mbox{with probability $1 - p$}\\ \end{array} \right. \end{aligned}\end{split}\]

where \(p'\) goes to 1 if it is linked to the beneficial mutation (i.e. it fixes) or 0 if it is not so lucky. The probability of each of those events is simply the chance the beneficial allele falls on each of the backgrounds.

Note

An important quantity in probability is the expected value of a random variable. The expected value (sometimes called the expectation), tells us what the average outcome of our probabilistic event should be. Formally, if we have a discrete random variable \(x\) (e.g. the outcome of throwing a 6-sided die), then we write the expected value of \(x\) as

\[\begin{aligned} E\{x\} = \sum_i x_i \times p_i \end{aligned}\]

where the \(x_i\)s are the possible outcomes of the probability experiment (e.g. 1, 2, 3, etc in our dice toss) and the \(p_i\)s are the probabilities associated with each event.

Let’s write down the expected value of a random variable which represents one toss of a 6-sided die next. First we will make a table of the possible outcomes and their associated probabilities

outcome (\(x_i\))

probability of outcome (\(p_i\))

\(1\)

\(\frac{1}{6}\)

\(2\)

\(\frac{1}{6}\)

\(3\)

\(\frac{1}{6}\)

\(4\)

\(\frac{1}{6}\)

\(5\)

\(\frac{1}{6}\)

\(6\)

\(\frac{1}{6}\)

So we can see that each of the possible outcomes of tossing our die is equally likely. Okay, next let’s compute the expected value of \(x\), our random variable that will represent a toss of the die

\[\begin{aligned} E\{x\} = \sum_i x_i \times p_i = (1 \times \frac{1}{6}) + (2 \times \frac{1}{6}) + (3 \times \frac{1}{6}) + (4 \times \frac{1}{6}) + (5 \times \frac{1}{6}) + (6 \times \frac{1}{6}) = 3.5 \end{aligned}\]

so the expected value of a single die roll is 3.5. Does this make sense to you? We will be applying this idea to our study of population genetics when allele frequency itself is stochastic.

Another example that is fun to do– winning a big lottery like Mega Millions. The odds of winning the jackpot in games like that are roughly \(1\) in \(300\) million, or approximately \(3.3 \times 10^{-9}\). Let’s imagine the jackpot is worth $100 million dollars (\(10^8\) USD) and that a ticket costs $1. What’s the expected value of playing the lottery?

outcome (\(x_i\))

probability of outcome (\(p_i\))

\(10^8\) dollars (I win!)

\( 3.3 \times 10^{-9} \)

\(-1\) dollars (I lose)

\( 1 - (3.3 \times 10^{-9}) \)

Okay so that’s the table, and the expected value is

\[\begin{aligned} E\{x\} = \sum_i x_i \times p_i = (10^8 \times 3.3 \times 10^{-9}) + (-1 \times (1-(3.3 \times 10^{-9}))) = -0.67 \end{aligned}\]

So your expected value from playing the lottery is negative. This means that you should expect to lose money!!

Next let’s find the expected value of the allele frequency in the next generation,

\[\begin{aligned} E\{p'\} = ( 1 \times p) + ( 0 \times (1-p)) = p \end{aligned}\]

so on average we expect no change in allele frequency due to genetic draft (i.e. linked selected sweeps).

We can do exactly the same thing but now allow there to be a probability of no sweep occurring in a generation. Call the probability of a sweep per generation

\[\begin{aligned} Prob(sweep) = \rho \end{aligned}\]

now let’s fix up our model below to allow for the possibility of no sweep in a given generation.

\[\begin{split}\begin{aligned} p' = \left\{ \begin{array}{ll} p & \quad \mbox{with probability $(1-\rho)$}\\ 1 & \quad \mbox{with probability $\rho p$}\\ 0 & \quad \mbox{with probability $\rho(1 - p)$}\\ \end{array} \right. \end{aligned}\end{split}\]

In words, we are saying that there are three possibilities under this model for the new allele frequency– if there is no sweep it remains unchanged, if there is a sweep and our allele is the one that fixes then \(p\) goes to \(1\), or the last possibility is that there is a sweep and the other allele fixes so \(p\) goes to 0.

So now let’s write down the expected value of \(p'\) in this new model

\[\begin{split}\begin{aligned} E\{p'\} &= (p \times (1-\rho)) + (1 \times \rho p) + (0 \times \rho (1-p))\\ &= p \end{aligned}\end{split}\]

So again we end up in a situation where on average there is no change in allele frequency. Just like drift! Sweeps randomly push the allele frequency at our neutral locus up or down, with no preferred direction. That’s why Gillespie called this genetic draft. It’s a random force that acts a lot like drift, but it comes from selection at linked sites rather than from finite population size.

Heterozygosity with drift and draft#

So how much variation should a population hold onto when mutation, drift, and draft are all going on at the same time? We can figure this out using exactly the same approach we used in Lecture 9, following \(G\), the probability that two alleles we sample from the population are identical by state. Back then there were two ways our two alleles could end up identical: they could share a parent in the last generation (probability \(\frac{1}{2N}\)), or they could come from two different parents that were themselves identical (probability \((1-\frac{1}{2N})G\)). Now there’s a third way. If a sweep happened in the last generation (probability \(\rho\)), then because our neutral locus is completely linked to the sweep, every copy in the population is descended from the one chromosome the beneficial mutation arose on. So our two alleles are identical for sure. Ignoring the tiny chance that a sweep and a shared parent both happen, and remembering that neither allele can have mutated, we get

\[\begin{aligned} G' = (1-u)^2\left[\frac{1}{2N} + \rho + \left(1 - \frac{1}{2N} - \rho\right)G\right]. \end{aligned}\]

Compare this to Lecture 9. All we’ve done is add \(\rho\) to the chance that two alleles share an ancestor in the last generation! Now we do exactly what we did before. Approximate \((1-u)^2 \approx 1-2u\), drop terms with \(u\) multiplied by the other small numbers, and switch to \(H = 1-G\) to get

\[\begin{aligned} H' \approx \left(1 - \frac{1}{2N} - \rho\right)H + 2u(1-H). \end{aligned}\]

Setting \(H' = H\) at equilibrium and doing a tiny bit of algebra (try it!) gives Gillespie’s result

(6)#\[\begin{aligned} \hat{H}_{draft} = \frac{4Nu}{1+4Nu+2N\rho}. \end{aligned}\]

If there are no sweeps, \(\rho = 0\), and we get right back to our old friend \(\hat{H} = 4Nu/(1+4Nu)\) from Lecture 9. Nice right?

Draft and Lewontin’s paradox#

Now here’s the really cool part. Remember Lewontin’s paradox from Lecture 9? Genetic diversity barely changes across species even though population sizes vary over something like 12 orders of magnitude. Let’s see what equation (6) says happens in a really big population. Divide the top and bottom by \(N\)

\[\begin{aligned} \hat{H}_{draft} = \frac{4u}{\frac{1}{N}+4u+2\rho}, \end{aligned}\]

and now let \(N\) get huge. The \(\frac{1}{N}\) term disappears and we’re left with

\[\begin{aligned} \hat{H}_{draft} \rightarrow \frac{4u}{4u + 2\rho} = \frac{2u}{2u+\rho}. \end{aligned}\]

Population size has dropped out completely! When a population gets big enough, drift basically stops mattering and draft takes over, and draft doesn’t care how big the population is. So diversity should go up with \(N\) in small populations, but then level off. Fig. 27 shows this. Under drift alone, heterozygosity keeps climbing as \(N\) goes up, but add in a little draft and it flattens right out. That looks an awful lot like the pattern in Vince Buffalo’s figure from Lecture 9, and it’s exactly why Gillespie proposed draft in the first place (Gillespie 2000). In fact it might be even more extreme than this in real life. Bigger populations get more new beneficial mutations every generation, so \(\rho\) might go up with \(N\), which would flatten diversity out even more.

_images/draft_vs_drift.png

Fig. 27 Draft puts a ceiling on diversity. Equilibrium heterozygosity as a function of population size under drift alone (\(\hat{H} = 4Nu/(1+4Nu)\), gray) and under drift plus draft (equation (6)) for two different sweep rates \(\rho\), with a mutation rate of \(u = 10^{-8}\) per site. Both axes are on a log scale. With draft, diversity levels off at \(2u/(2u+\rho)\) no matter how big the population gets.#

So is that the answer to Lewontin’s paradox? Maybe not all of it. Remember that when Vince Buffalo put together that big dataset, what he was really trying to test was exactly this idea. He took realistic estimates of how much hitchhiking and background selection there is (from fruit flies, which are about the best studied case) and asked whether linked selection could flatten out diversity as much as we see across species. His answer was that it couldn’t, not on its own, even when he cranked the amount of selection way up (Buffalo 2021). So people are still working on the other ideas too. The big one is population history. As we saw with effective population size in Lecture 9, \(N_e\) is a harmonic average, so any time a species spent at small size drags \(N_e\) way down. A species that is huge today might carry the diversity of a much smaller population from its past. Graham Coop made this point really nicely, arguing that the ups and downs in population size that species go through over long stretches of time could by themselves squash the range of diversity a lot, maybe more than linked selection does (Coop 2016). There have also been suggestions that mutation rates might evolve to be lower in bigger populations, which would keep their diversity down too (Lynch et al. 2016), but the evidence for that is pretty weak and most folks in the field aren’t convinced it matters much here. Most likely it’s some combination of demography and linked selection, and figuring out how much each one matters is still a hot topic. My lab works on exactly these kinds of questions!