#note Population Genetics A Concise Guide (9)

Page 16

Problem 1.7 Derive the Hardy-Weinberg law for a sex-linked locus. Let the initial frequency of A1 in the females be pf and in the males, pm. Follow the two alleles frequencies in successive generations until you understand the allele-frequency dynamics. Then, jump ahead and find the equilibrium genotype frequencies in females and males. Finally, graph the male and female allele frequencies over several generations for a population that is started with all A1A1 females (pf=1) and A2 males (pm=0).

Note:

Males inherit their X chromosome always from their mother, so the frequency of A1 in males is always equal to the frequency in females in the previous generation. while females inherit an X chromosome from their father, and the other X chromosome from their mother, so the frequency in females is always the average of the male an female frequencies in the previous generation.

GenerationFemalesMalesFemale – Male
1pfpmpf – pm
2(pf + pm)/2pf-(pf – pm)/2
3(pf + (pf + pm)/2)/2(pf + pm)/2(pf – pm)/4

Start with pf=1 and pm=0, the first 7 generations:

GenerationFemalesMalesFemale – Male
1101
20.51-0.5
30.750.50.25
40.6250.75-0.125
50.68750.6250.0625
60.656250.6875-0.03125
70.6718750.656250.015625

Graph by Python:

import matplotlib.pyplot as plt
import numpy as np

# Females
x = np.array([1,2,3,4,5,6,7])
y = np.array([1,0.5,0.75,0.625,0.6875,0.65625,0.671875])
plt.scatter(x, y)
plt.plot(x, y, '-o')

#Males
x = np.array([1,2,3,4,5,6,7])
y = np.array([0,1,0.5,0.75,0.625,0.6875,0.65625])
plt.scatter(x, y)
plt.plot(x, y, '-o')

plt.show()

Output:

Figure 1: Differences of the genotype frequencies in the two sexes (blue points are for females and orange points are for males.)

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top