Genome evolution: a sequence

Download Report

Transcript Genome evolution: a sequence

Genome Evolution © Amos Tanay, The Weizmann Institute
Genome evolution
Lecture 2:
population genetics I: models and drift
Genome Evolution © Amos Tanay, The Weizmann Institute
Reading
• Course slides on the web
• Hartl and Clark, Principle of population genetics
• Rick Durret – Probability models for DNA sequence
evolution
• Gillespie – Pop. Genetics, A concise guide
• Hein et al. - Gene Genealogies, Variation and Evolution:
A Primer in Coalescent Theory
• Wakeley: Coalescent Theory, an introduction
• Graur and Li: Intro to molecular evolution
• Classics: Kimura, Dobzhanski..
Genome Evolution © Amos Tanay, The Weizmann Institute
Studying Populations
Models
A set of individuals, genomes
Ancestry relations or hierarchies
Experiments
mtDNA human migration patterns
Fields studies, diversity/genotyping
Experimental evolution
Åland Islands, Glanville fritillary population
Genome Evolution © Amos Tanay, The Weizmann Institute
Human population
Growth:
Year
-10,000
0
1750
1950
2010
Estimate
(Millions)
6
252
771
2521
6055
Genome Evolution © Amos Tanay, The Weizmann Institute
The Data: the hapmap project
1 million SNPs (single nucleotide polymorphisms)
4 populations:
30 trios (parents/child) from Nigeria (Yoruba - YRI)
30 trios (parents/child) from Utah (CEU)
45 Han chinease (Beijing - CHB)
44 Japanease (Tokyo - JPT)
Haplotyping – each SNP/individual.
No just determining heterozygosity/homozygosity – haplotyping completely resolve the
genotypes (phasing)
Genome Evolution © Amos Tanay, The Weizmann Institute
The Data: the hapmap project
Because of linkage, the partial SNP Map largely determine all other SNPs!!
The idea is that a group of “tag SNPs” Can be used for representing all genetic Variation in
the human population.
This is extremely important in association studies that look for the genetic cause of disease.
Genome Evolution © Amos Tanay, The Weizmann Institute
Correlation on SNPs between populations
Genome Evolution © Amos Tanay, The Weizmann Institute
Modeling…
Genome Evolution © Amos Tanay, The Weizmann Institute
The Hardy-Weinberg Model
•
Diploid organisms
Two copies of each allele/gene/base
Homozygous / Heterozygous
•
Sexual Reproduction
Mating haplotypes
•
Large population, No migration
Fixed size, closed system
•
Non-overlapping generations
Synchronous process
Not as bad as it may look like
•
Random mating
New generation is being selected from the existing haplotypes with
replacement
•
No mutations, no selection (will add these later)
Genome Evolution © Amos Tanay, The Weizmann Institute
The Hardy-Weinberg Model
•
Non-overlapping generations
Synchronous process
Not as bad as it may look like
•
Random mating
New generation is being selected from the existing haplotypes with
replacement
•
No mutations, no selection (will add these later)
Hardy-Weinberg equilibrium:
AA
aa
Aa
aA
Random mating
P ( A)  p
P(a)  q
Non overlapping
generations
AA
aa
Aa
aA
P( AA)  p 2
P( Aa)  2 pq
P(aa)  q 2
With the model assumption, equilibrium is reached within one generation
Genome Evolution © Amos Tanay, The Weizmann Institute
Frequency estimates
We will be dealing with estimation of allele frequencies.
To remind you, when sampling n times from a population with allele of
frequency p, we get an estimate that is distributed as a binomial
variable. This can be further approximated using a normal distribution:
n i
B( p; n)    p (1  p) n i
i
V ( B( p; n))  N (np, np(1  p) )
When estimating the frequency out of the number of successes we
therefore have an error that looks like:
s
pˆ (1  pˆ )
n
Genome Evolution © Amos Tanay, The Weizmann Institute
Testing Hardy-Weinberg(HW) using chi-square statistics
HW is over simplifying everything, but can be used as a baseline to test
if interesting evolution is going on for some allele
Classical example is the blood group genotypes M/N (Sanger 1975)
(this genotype determines the expression of a polysaccharide on red blood cell surfaces – so
they were quantifiable before the genomic era..):
Observed
Expected (HW)
MM
298
294.3
MN
489
496
NN
213
209.3
P( MM )  p 2
P( MN )  2 pq
P( NN )  q 2
2
(obs  exp)


 exp
Chi-square significance can be computed from the chi-square
distribution with df degrees of freedom.
Here: df = #classes - #parameters – 1 = 3(MN/NN/MM) – 1 (p) – 1 = 1
2
 0.22
Genome Evolution © Amos Tanay, The Weizmann Institute
Modeling population: the Wright-Fisher model
Haploid model
Generation t
1
2
3
4
Generation t+1
2N
…..
…..
1
2
3
4
2N
Diploid model
Nf
…..
Nm
…..
Nf
…..
Nm
…..
Genome Evolution © Amos Tanay, The Weizmann Institute
Wright-Fisher model for genetic drift
We follow the frequency of an allele in the population, until fixation (f=2N) or loss (f=0)
We can model the frequency as a Markov process on a variable X (the number of A alleles)
with transition probabilities:
 2 N  i 

Tij  

j
2
N




j
i 

1



 2N 
2N  j
Sampling j alleles from a population 2N
population with i alleles.
In larger population the frequency would change more slowly (the variance of the binomial
variable is pq/2N – so sampling wouldn’t change that much)
Loss
0
1
2N-1
2N
Fixation
Genome Evolution © Amos Tanay, The Weizmann Institute
Coalescent and fixation
Genome Evolution © Amos Tanay, The Weizmann Institute
Drift and fixation probability
Since 0 and 2N are absorbing states, given sufficient time, the wright-Fisher
process will converge to either 0 or 2N. Define:
  min{ n : X n  0 or X n  2 N}
Theorem (fixation in drift): In the Wright-Fisher model, the probability of fixation
in the A’s allele state, given a population of 2N alleles out of which i are A, is:
Pi ( X   2 N ) 
i
2N
Proof: The mean of the binomial sample in the n’th step is np:
E ( X n 1 | X n  i )  2 N 
i
 i  Xn
2N
Which means that the expected number of A’s is constant in time. Intuitively:
i  Ei ( X  )  2 NPi ( X   2 N )
n 
More formally:
i  Ei ( X n )  Ei ( X  ;  n)  Ei ( X n ;  n)  Ei ( X  )  o(1)
Genome Evolution © Amos Tanay, The Weizmann Institute
Number of populations
Drift
Figure 7.4
Experiments with drifting fly populations: 107 Drosophila melanogaster populations. Each
consisted originally of 16 brown eys (bw) heterozygotes. At each generation, 8 males and 8
females were selected at random from the progenies of the previous generation. The bars
shows the distribution of allele frequencies in the 107 populations
Genome Evolution © Amos Tanay, The Weizmann Institute
The geometric distribution: reminder
Rolling a dice, and recording the time until first appearance of k (waiting time)
P(T  j )  (1  p) j 1 p
Lack of memory:
P(T  t2 | T  t1 )  P(T  t2  t1 )
Moments:
E (T )  1 / p
Var (T ) 
1 p
p2
“Intersection”:
min( S , T )  geo( p  p' pp' )
Genome Evolution © Amos Tanay, The Weizmann Institute
The exponential distribution: reminder
The limit of the geometric distribution when the time step is going to 0:
P(T  j )  (1  p)
j 1
pM 

 1 

M 

Mj / M
a 

 1  
 M
Mt
 e  at
M=2
M=4
Probability:
P(U  t )  1  e  at
Density:
d ( P(U  t )
 ae  at
dt
Moments:
E (U )  1 / a
Var (U ) 
1
a2
P=at
Memory less!
“Intersection”:
P(U  V ) 
t
Dt
a
ab
min( U ,V ) ~ Exp(a  b)
Genome Evolution © Amos Tanay, The Weizmann Institute
Coalescence
Coalescent at time -1?
P
Coalescent at time -T?
P  (1 
1
2N
1 T 1 1
)
2N
2N
No coalescence for k samples?
k  1
i 
i
1
1
 2 N  1  2 N  2   2 N  k  k 1 
P
 O( 2 )  1   
 O( 2 )

...
   1 
  1 
n
n
 2 N  2 N   2 N  i 1  2 N 
ik 2 N
 2  2N
Distribution of time from k to k-1:
 k  1 

P(Tk  t )  1   

  2  2N 
t 1
k  1
 
 2  2N
Genome Evolution © Amos Tanay, The Weizmann Institute
The continuous time coalescent
When sampling K new individuals, the chances of peaking up the same
parent twice is roughly:
k (k  1) 1
1

 O( 2 )
2
2N
N
When looking at k individuals, we can trace their coalescent backwards and
ask when did they had k-1,k-2, or one common ancestor.
Theorem: The amount of time during which there are k lineages, tk has
approximately an exponential distribution with mean 2N * (2/(k(k-1)))
Proof: the probability of not merging k
lineages in n generations is:
Past
 k (k  1) 1 
 k (k  1) n 


1 
  exp  

2
2N 
2
2N 


n
E(T2 )  2 N
We scale the time by N, so it is like an
e  t
exponential :
The expected value is
E (e
 t
1
4N
) 
 k (k  1)
This is correct for any k, so going
backward from present time, we can
estimate the time to coalescent at each
step
E (T3 ) 
2N
6
2N
E (T5 ) 
Present
10
E (T4 ) 
1
2
3
4
5
2N
3
Genome Evolution © Amos Tanay, The Weizmann Institute
The coalescent
The expected time to the common ancestor of n individuals:
E(T1) 
4N
1
1
1

4N


4N(1

)
 k(k 1)
 k 1 k
n
k 2..n
k 2..n
When looking at n individuals, we can trace their coalescent backwards and
ask when did they had n-1,n-2, or one common ancestor.

Theorem: The probability that the most recent common ancestor of a
sample of size n is the same as that of the population converges to (n1)/(n+1) as the population size increase.
Past
E(T2 )  2 N
4N is the magic number
E (T3 ) 
2N
6
2N
E (T5 ) 
Present
10
E (T4 ) 
1
2
3
4
5
2N
3
Genome Evolution © Amos Tanay, The Weizmann Institute
Diffusion approximation and Kimura’s solution
Fisher, and then Kimura approximated the drift process using a diffusion equation (heat
equation):
 ( x, t )
The density of population with frequency x..x+dx at time t
J ( x, t )
The flux of probability at time t and frequency x
The change in the density equals the differences between the fluxes J(x,t) and
J(x+dx,t), taking dx to the limit we have:


 ( x, t )   J ( x, t )
t
x
The if M(x) is the mean change in allele frequency when the frequency is x, and V(x) is
the variance of that change, then the probability flux equals:
1 
V ( x) ( x, t )
2 x


1 
V ( x) ( x, t )
 ( x, t )   M ( x) ( x, t ) 
t
x
2 x 2
J ( x, t )  M ( x) ( x, t ) 
Heat diffusion
Fokker-Planck
Kolmogorov Forward eq.
M  0,V ( x) 
x(1  x)
2N

1 
x(1  x) ( x, t )
 ( x, t )  
2
t
4 N x
Genome Evolution © Amos Tanay, The Weizmann Institute
Diffusion approximation and Kimura’s solution
Fisher, and then Kimura approximated the drift process using a diffusion equation (heat
equation). We start with working on the time step dy and frequency step dx
 ( x, t )
The probability that the population have allele frequency x time t
M (x)
the probability that the frequency increased from x by dx, due to
mutation/selection
V (x) / 2
The probability of dx increase or decrease due to drift
We limit changes from t to t+dt and x+-dx. The population can be on x at t+dt if:
It was at x and stayed there:
 ( x, t )(1  M ( x)  V ( x))
It was at x-dx and moved to x:
 ( x  dx, t )( M ( x)  V ( x) / 2)
It was at x+dx and moved to x:
 ( x  dx, t )(V ( x) / 2)
 ( x, t  dt )   ( x, t )  [ M ( x) ( x, t )  M ( x  dx) ( x  dx, t )]
1
 [V ( x  dx) ( x  dx, t )  V ( x) ( x, t )]
2
1
 [V ( x) ( x, t )  V ( x  dx) ( x  dx, t )]
2


1 
V ( x) ( x, t )
 ( x, t )   M ( x) ( x, t ) 
t
x
2 x 2
Genome Evolution © Amos Tanay, The Weizmann Institute
Diffusion approximation and Kimura’s solution
Fisher, and then Kimura approximated the drift process using a diffusion equation (heat
equation). We start with working on the time step dy and frequency step dx
 ( x, t )
The probability that the population have allele frequency x time t
M (x)
the probability that the frequency increased from x by dx, due to
mutation/selection
V (x) / 2
The probability of dx increase or decrease due to drift


1 
V ( x) ( x, t )
 ( x, t )   M ( x) ( x, t ) 
t
x
2 x 2
For drift the variance is binomial:
And we assume no selection:
Still not easy to solve analytically…
V ( x)  x(1  x) / 2 N
M ( x)  0
Genome Evolution © Amos Tanay, The Weizmann Institute
Changes in allele-frequencies, Fisher-Wright model
After about 4N generations, just 10% of the cases are not fixed and the distribution
becomes flat.
Genome Evolution © Amos Tanay, The Weizmann Institute
Absorption time and Time to fixation
According to Kimura’s solution, the mean time for allele fixation, assuming initial probability
p and assuming it was not lost is:
4N
(1  p) log( 1  p)
tˆ1 ( p)  
p
The mean time for allele loss is (the fixation time of the complement event):
4N
( p) log( p)
tˆ0 ( p)  
1 p
Genome Evolution © Amos Tanay, The Weizmann Institute
Effective population size
4N generations looks light a huge number (in a population of billions!)
But in fact, the wright-Fisher model (like the hardy-weinberg model) is based on many nonrealistic assumption, including random mating – any two individuals can mate
The effective population size is defined as the size of an idealized population for which
the predicted dynamics of changes in allele frequency are similar to the observed ones
For each measurable statistics of population dynamics, a different effective population size
can be computed
For example, the expected variance in allele frequency is expressed as:
V ( pt 1 ) 
pt (1  pt )
2N
But we can use the same formula to define the effective population size given the variance:
V ( pt 1 ) 
pt (1  pt )
2Ne
Genome Evolution © Amos Tanay, The Weizmann Institute
Effective population size: changing populations
If the population is changing over time, the dynamics will be affect by the harmonic mean of
the sizes:
Ne 
t
 1
1
1 



 .. 
N
N
N
1
t 1 
 0
So the effective population size is dominated by the size of the smallest bottleneck
Bottlenecks can occur during migration, environmental stress, isolation
Such effects greatly decrease heterozygosity (founder effect – for example Tay-Sachs in
“ashkenazim”)
Bottlenecks can accelerate fixation of neutral or even deleterious mutations as we shall see
later.
Human effective population size in the recent 2My is estimated around 10,000 (due to
bottlenecks). (so when was our T1?)
Genome Evolution © Amos Tanay, The Weizmann Institute
Effective population size: unequal sex ratio, and sex
chromosomes
If there are more females than males, or there are fewer males participating in reproduction
then the effective population size will be smaller:
Na  Nm  N f
Ne 
4Nm N f
Nm  N f
Any combination of alleles
from a male and a female
So if there are 10 times more females in the population, the effective population size is
4*x*10x/(11x)=4x, much less than the size of the population (11x).
Another example is the X chromosome, which is contained in only one copy for males.
Ne 
1
2
1  p q  4  p f q f 
p  pm  p f , Var ( p)   m m   
3
3
9  N m  9  2 N f 
9Nm N f
4Nm  2N f
 1
4
p  pm  p f ,Var ( p)  pq

 9N
 m 18 N f

pq


 2 9 N m N f

 4 N m  2 N f



Genome Evolution © Amos Tanay, The Weizmann Institute
Population genetics
Drift: The process by which allele frequencies are changing through
generations
Mutation: The process by which new alleles are being introduced
Recombination: the process by which multi-allelic genomes are mixed
Selection: the effect of fitness on the dynamics of allele drift
Epistasis: the drift effects of fitness dependencies among different
alleles
“Organismal” effects: Ecology, Geography, Behavior