Beyond Dominant and Recessive
Genetics and Heredity Fundamentals
Course 1 ยท Chapter 6 ยท Beyond Dominant and Recessive
Genetics and Heredity Fundamentals 1 used the simplest rule: one allele hides the other. That rule is real, but it is only one of several. In this chapter we look at three other patterns: alleles that blend, alleles that both show, and traits built from many genes at once. The genotype counting from earlier chapters still works; what changes is how a genotype is turned into a look. All the programs here are Python 3.
Incomplete Dominance
In incomplete dominance, the heterozygote looks like a mixture of the two homozygotes rather than like one of them (check). The textbook example is a flower with a red allele R and a white allele r: RR is red, rr is white, and Rr is pink (check). Neither allele is hiding the other. The pink flower has half the red-making product of the red one.
In code the change is small. The look now depends on how many copies of R the genotype has, not only on whether there is one.
Crossing two pink flowers gives 1 red, 2 pink and 1 white out of 4. That is a 1:2:1 ratio. Compare it with the 3:1 ratio from Genetics and Heredity Fundamentals 1: the genotype counts are the same (1 RR, 2 Rr, 1 rr), but now each genotype has its own look, so the look ratio equals the genotype ratio. This is also a useful clue in practice: a 1:2:1 look ratio in a cross suggests incomplete dominance (check).
| Pattern | Rr looks like | Look ratio, Rr x Rr |
|---|---|---|
| complete dominance | the same as RR | 3 : 1 |
| incomplete dominance | in between RR and rr | 1 : 2 : 1 |
| codominance | both at once | 1 : 2 : 1 |
Codominance
In codominance, the heterozygote shows both alleles fully and separately, not a blend (check). The look is not "in between"; it is "both". A frequently quoted example is an animal with a red coat allele and a white coat allele whose heterozygote has patches of red and patches of white (check). Because the two patterns have the same 1:2:1 count, the table above lists them together; what differs is the biology, not the arithmetic.
Blood Groups: Three Alleles and Both Patterns
The ABO blood groups show several ideas together (check). The gene has three common alleles, usually called A, B and O. Up to now every gene had two alleles. A person still carries only two copies, one from each parent, but the population has three to choose from, so there are six genotypes.
AandBare codominant with each other: a person with both is group AB, showing both markers (check).Ois recessive to both: it only shows in a person with two copies,OO, who is group O (check).- So
AAandAOare both group A, andBBandBOare both group B (check).
Six genotypes, but only four looks. That is the key difference from Genetics and Heredity Fundamentals 1: here you cannot always read the genotype from the look. A person in group A might be AA or AO. Now ask what a pair of parents can have as children. Each parent gives one of their two alleles, so we try every pairing, as in the Punnett squares of earlier chapters, and collect the groups.
Read the lines in turn. An AB parent and an O parent cannot have an AB child or an O child, only A or B. Two parents who show A and B (here both heterozygous, AO and BO) can have all four groups. Two O parents can only have O children. Facts like these are why blood groups were once used as one piece of evidence in family questions, with the strong caution that they can only rule things out, never prove a relationship (check).
Many Genes, One Trait
So far a trait has been the work of one gene. Many familiar traits, such as height, are instead shaped by a great many genes, each adding a small push, together with the environment (check). These are polygenic traits. They do not fall into neat groups like "red, pink, white" but form a smooth range.
A simple model shows why. Suppose there are n genes, and each has two alleles, one "tall" (worth 1) and one "short" (worth 0). An individual has two copies of each gene, so the total score runs from 0 to 2n. Take a parent that is heterozygous for every gene, so every allele is equally likely to be passed on. How many of the 2n allele slots carry a tall allele? This is the same as counting the heads in 2n fair coin tosses, and we can count the ways exactly with math.comb. With n = 4 genes there are 8 slots.
The bars form a bell shape: the middle score (4) is the most common, with 70 of the 256 equally likely combinations, and the extremes 0 and 8 each have just 1. A person at an extreme needs luck on every single gene. More genes make the shape smoother and the extremes rarer. Now simulate individuals with 1, 2, 5 and 10 genes (so 2, 4, 10 and 20 slots).
The columns are the number of genes, the average score, how many different scores appeared, and how many individuals shared the most common score. The average is always about the number of genes (half of the 2n slots), whatever n is. The number of different scores grows with n (3, 5, 11 and 18, of a possible 3, 5, 11 and 21; with 10 genes the three most extreme scores never turned up in 20,000 individuals). And the most common score holds a smaller and smaller share: about half of individuals with 1 gene, about a sixth with 10. The more genes, the finer the steps, and the closer the picture gets to a smooth curve.
Challenges
For incomplete dominance with R and r, take every unordered pair of parent genotypes from RR, Rr, rr (use itertools.combinations_with_replacement). For each pair, print the chance of each flower colour as a fractions.Fraction. Which pair gives all three colours?
Using blood_group and child_groups, list the unordered pairs of the six genotypes (21 pairs). Print how many pairs can have a group O child, which pairs can have children in all four groups, and which pairs can have both an AB child and an O child.
Simulate 50,000 individuals with 10 genes using random.Random(7) and the height_score idea. Print the mean score, the fraction scoring between 8 and 12 inclusive, how many scored exactly 0 or 20, and the lowest and highest scores seen.
Quick Reference
- Complete dominance: heterozygote looks like one homozygote; cross of heterozygotes gives 3 : 1
- Incomplete dominance: heterozygote is in between; cross gives 1 : 2 : 1
- Codominance: heterozygote shows both alleles; also 1 : 2 : 1
- ABO blood groups: three alleles;
AandBcodominant,Orecessive; six genotypes, four looks - Polygenic traits: many genes add small effects; the result is a smooth, bell-shaped range
- Check: the names of the patterns, the blood group details, and what heritability means