📖 Contents🧬 HubChapter 1 · Mendel and Probability
Genetics · Chapter 1

Mendelian Transmission and Probability

Every genetics problem rests on a few simple rules. It does not matter if you are guessing the coat color of a puppy. It does not matter if you are working out a couple's risk of having a child with cystic fibrosis. A monk found these rules by counting peas in a garden. His rules turn inheritance into arithmetic. Genes come in pairs. The pairs split up when sex cells form. Different pairs sort on their own. Chance decides which sex cell meets which. This chapter teaches those rules. It also teaches the probability tools that make them fast. It shows the chi square test, which tells you if real data fit the rules. Last, it shows how to read a family tree, so you can use the rules on human families.

By the end of this chapter you can

  • Explain why the garden pea and Mendel's careful, counted, generation by generation plan worked. Use the words genes, alleles, genotype and phenotype correctly.
  • State the principle of segregation. Link it to the way paired chromosomes split in meiosis. Predict the 3:1 and 1:2:1 ratios of a monohybrid cross.
  • Use a testcross to find an unknown genotype, and explain the result.
  • State the principle of independent assortment. Predict the 9:3:3:1 ratio of a dihybrid cross, and extend the idea to crosses with many genes.
  • Use the product rule, the sum rule, conditional probability and the binomial expansion to solve problems without big Punnett squares.
  • Carry out a chi square goodness of fit test. Pick the right degrees of freedom. Decide whether to reject a genetic hypothesis.
  • Read the usual pedigree symbols. Tell autosomal dominant from autosomal recessive inheritance in a family tree.
  • Work out carrier risks and recurrence risks for family members. A recurrence risk is the chance that a condition shows up again in the family. This includes, including the classic two thirds carrier problem.

Section 1Mendel's approach and monohybrid crosses

Why peas, and why Mendel succeeded

Before Mendel, most people who studied nature believed in blending inheritance. In this idea, the traits of two parents mix in their young, like two colors of paint. If that were true, differences between living things would slowly fade away. Breeders knew that a trait could sometimes skip a generation. But no one could predict how often that would happen. Gregor Mendel worked on this in the 1850s and 1860s. He published his results in 1866. He succeeded where others failed. Part of the reason was his good thinking. An equal part was the smart way he set up his tests.

The garden pea, Pisum sativum, was a great choice. It is cheap. It grows fast. Each plant makes many seeds, so you can count lots of offspring. (Offspring are the young that parents produce.) A pea flower usually self fertilizes. That means it fertilizes itself. This happens because the petals wrap around both the anthers, which make pollen, and the ovary, which holds the eggs. Still, a researcher can easily do cross fertilization, which joins two different plants. You remove the anthers from one flower before they are ripe. Then you dust its stigma, the part that catches pollen, with pollen from another plant. Seed sellers already sold many kinds of peas. These kinds differed in clear, either this or that traits.

Mendel's method had four features. They are still the backbone of genetics today.

He also did reciprocal crosses. In a reciprocal cross, you switch which parent carries which trait. For example, you cross a round female with a wrinkled male. Then you cross a wrinkled female with a round male. Mendel got the same results both ways. This told him that both parents give equally to the offspring for these traits. Reciprocal crosses are still a standard first test. If the two crosses give different results, the trait may be sex linked or passed down outside the nucleus. We study those cases in Chapter 3.

TraitDominant formRecessive formF2 counts (dominant : recessive)Ratio
Seed shapeRoundWrinkled5,474 : 1,8502.96 : 1
Seed (cotyledon) colorYellowGreen6,022 : 2,0013.01 : 1
Flower colorPurpleWhite705 : 2243.15 : 1
Pod shapeInflatedConstricted882 : 2992.95 : 1
Pod colorGreenYellow428 : 1522.82 : 1
Flower positionAxialTerminal651 : 2073.14 : 1
Stem lengthTallDwarf787 : 2772.84 : 1

The monohybrid cross and its results

A monohybrid cross follows just one trait. Mendel crossed a true breeding plant that had round seeds with a true breeding plant that had wrinkled seeds. Every F1 seed was round. The wrinkled form had not blended with round. It had simply vanished. Then he let the F1 plants fertilize themselves. Wrinkled seeds came back in the F2. They made up about one quarter of the seeds. The table above shows that all seven traits acted the same way. The F1 showed only one form. Mendel called that form dominant. The F2 showed both the dominant form and the hidden, or recessive, form. The ratio was close to 3 dominant to 1 recessive, written 3:1.

Mendel had an explanation. Each plant carries two "factors" for each trait. The factors stay separate. They do not blend. A plant passes only one of its two factors into each gamete. A gamete is a sex cell, such as an egg or a pollen grain. Today we call Mendel's factors genes. We call the different forms of one gene alleles. The round F1 plants carried one allele for round (R) and one for wrinkled (r). Because R is dominant, they looked round. When these plants made gametes, half carried R and half carried r. Gametes then joined at random. This gave the F2 genotypes in these amounts: 1/4 RR, 1/2 Rr and 1/4 rr.

P Round RR × Wrinkled rr F1 All round, Rr self F2 Gametes from each parent: 1/2 R and 1/2 r Gametes from F1 pollen Gametes from F1 egg R r R r RR round Rr round Rr round rr wrinkled Genotypes 1 RR : 2 Rr : 1 rr Phenotypes 3 round : 1 wrinkled
Figure 1.1 A monohybrid cross for seed shape. The F1 hides the recessive allele. The Punnett square shows how R and r gametes join at random and bring the recessive form back in one quarter of the F2. Notice that the 3:1 ratio of looks hides a 1:2:1 ratio of genotypes.

The vocabulary you will use in every chapter

The genotype is the set of alleles a living thing carries. The phenotype is the trait you can observe. It may be something you can see, a chemical feature of the body, or a disease. A plant with two matching alleles (RR or rr) is homozygous. A plant with two different alleles (Rr) is heterozygous. The exact spot where a gene sits on a chromosome is its locus. The plural is loci. By custom, we write the dominant allele as a capital letter. We write the recessive allele as the same letter in lowercase. Gene symbols are written in italics. A blank or underscore, as in R_, means "either allele." It is a short way to say "has at least one dominant allele, so it shows the dominant trait."

Dominance tells us how two alleles at one locus act together in a heterozygote. It does not mean the dominant allele is more common. It does not mean it is better. It does not mean it pushes the recessive allele aside. Take seed shape. The r allele has an extra piece of DNA stuck inside it. This breaks an enzyme that builds branched starch. (An enzyme is a protein that speeds up a chemical change.) A seed with at least one working copy makes enough branched starch to stay plump. An rr seed builds up sugar instead. It soaks up water as it grows, then wrinkles as it dries. Many recessive alleles are like this one. They are loss of function alleles, which means they no longer do their job. The heterozygote is normal because one working copy makes enough product.

The principle of segregation and its chromosomal basis

Mendel's first law is the principle of segregation. It says each living thing carries two alleles for a gene. The two alleles separate, or segregate, when gametes form. So each gamete gets only one allele. Each allele has an equal chance of being the one. Mendel knew nothing about chromosomes. Around 1900, cell scientists described meiosis. Meiosis is the special cell division that makes gametes. Walter Sutton and Theodor Boveri noticed something. Chromosomes act just like Mendel's factors. They come in matching pairs, called homologous pairs, with one from each parent. The two members of each pair move into different cells during anaphase I of meiosis. This idea is the chromosome theory of inheritance. It put genes on chromosomes. Segregation became the visible splitting of a homologous pair. Since each gamete gets one chromosome from the pair, a heterozygote makes two kinds of gametes in equal numbers.

Testcrosses and backcrosses

A plant that shows the dominant trait might be homozygous or heterozygous. To find out, cross it with a homozygous recessive plant. This is a testcross. The recessive tester can only give recessive alleles. So the look of each offspring shows which allele the unknown parent gave. If the unknown is RR, all the offspring are round. If it is Rr, round and wrinkled offspring appear in a 1:1 ratio. A backcross is any cross of an F1 with one of its parents, or with a plant that has the same genotype as a parent. A testcross is the special backcross to the recessive parent. Mendel used testcrosses to check his model. He got the 1:1 ratios he predicted.

Study tip. Worked problem: A guinea pig breeder has a black female. (Black, B, is dominant to white, b.) She is mated with a white male. She has 7 black pups and 0 white pups. (a) What is her most likely genotype? (b) How sure can the breeder be?
Step 1: The white male is bb. So this is a testcross. Each pup's color shows the allele the female passed on.
Step 2: If she were Bb, each pup would have a 1/2 chance of being white. The chance of 7 black pups in a row would be (1/2)7 = 1/128 = 0.0078.
Step 3: If she were BB, every pup would be black. The chance is 1.
Answer: She is most likely BB. The data do not prove it. But a heterozygote would make seven black pups only about 0.8 percent of the time. So the breeder can be quite sure. Just one white pup would prove she is Bb, because a BB animal cannot pass on b.

Ratios to know by heart

The table below lists the monohybrid crosses you will see most often. Spotting a ratio in data is often the fastest way to figure out the parents' genotypes.

CrossGenotypic ratio of offspringPhenotypic ratio (complete dominance)Typical use
AA × aaAll AaAll dominantP generation cross to make an F1
Aa × Aa1 AA : 2 Aa : 1 aa3 dominant : 1 recessiveF1 intercross or self
Aa × aa1 Aa : 1 aa1 dominant : 1 recessiveTestcross of a heterozygote
AA × Aa1 AA : 1 AaAll dominantBackcross to the dominant parent
aa × aaAll aaAll recessiveTwo recessive parents breed true

Two facts about the F2 are worth stressing. First, look only at the F2 plants with the dominant trait. Among them, AA and Aa come in a 1:2 ratio. So two thirds of them are heterozygous. Mendel checked this. He let round F2 plants fertilize themselves. About one third bred true. About two thirds made some wrinkled offspring again. This "two thirds" number comes back in human family problems in Section 5. Second, ratios are what we expect on average. They are not promises. Two heterozygous parents with four children could easily have no affected children, or two of them. Ratios only show up in large groups. That is why we need the math tools in Section 4.

Connection. The same segregation logic is used in plant and animal breeding today. Seed companies keep inbred lines that are homozygous at most loci. They cross two of these lines to make hybrid seed that is all the same. This is just like Mendel's uniform F1. If a farmer saves seed from hybrid plants, the next crop is an F2, and its traits split apart. That is why farmers do not save and replant hybrid seed.
Key point

Mendel carefully counted true breeding peas. He showed that the units of heredity are separate. They come in pairs. They split into gametes with equal chance. A monohybrid cross between two heterozygotes gives a 1:2:1 ratio of genotypes. With complete dominance, it gives a 3:1 ratio of phenotypes. A testcross reveals an unknown genotype. Segregation is simply the splitting of homologous chromosomes in meiosis I.

Section 2Dihybrid crosses and independent assortment

Following two traits at once

Next, Mendel asked if different traits are passed down together or apart. He crossed a true breeding plant with round, yellow seeds (RRYY) with a plant that had wrinkled, green seeds (rryy). The F1 were all round and yellow (RrYy). They were heterozygous at two loci. Such plants are called dihybrids. When the F1 fertilized themselves, the F2 had four kinds of seeds. Two kinds looked like the parents. Two kinds were new mixes:

That is 556 seeds. The ratio is close to 9:3:3:1. The two new mixes, round green and wrinkled yellow, are called recombinant phenotypes. They are also called nonparental. The other two are parental phenotypes. Now look at each trait by itself. You still see 3:1. Round to wrinkled is (315 + 108) : (101 + 32) = 423 : 133. That is 3.18:1. Yellow to green is (315 + 101) : (108 + 32) = 416 : 140. That is 2.97:1. The 9:3:3:1 ratio is just two separate 3:1 ratios multiplied together: (3 round : 1 wrinkled) × (3 yellow : 1 green) = 9 round yellow : 3 round green : 3 wrinkled yellow : 1 wrinkled green.

The principle of independent assortment

Mendel's second law is the principle of independent assortment. It says that alleles at different loci separate on their own, without affecting each other, when gametes form. So a dihybrid RrYy makes four kinds of gametes: RY, Ry, rY and ry. Each has a chance of 1/2 × 1/2 = 1/4. Four kinds of eggs can meet four kinds of pollen. That gives a 4 × 4 Punnett square with 16 boxes, each equally likely. The square holds 9 genotypes and 4 phenotypes.

The reason lies in metaphase I of meiosis. At this stage, each homologous pair lines up in the middle of the cell. Each pair turns a random way. Suppose the seed shape gene and the seed color gene are on different chromosomes. Then the way one pair lines up has no effect on the way the other pair lines up. In half of all meioses, R and Y end up on the same side. These make RY and ry gametes. In the other half, R ends up with y. These make Ry and rY gametes. Over many meioses, all four kinds of gametes are equally common.

Alignment 1 (probability 1/2) Alignment 2 (probability 1/2) R r Y y R r y Y RY ry Ry rY parental gametes recombinant gametes Overall: RY 1/4, ry 1/4, Ry 1/4, rY 1/4
Figure 1.2 Independent assortment comes from metaphase I. The two homologous pairs line up at random compared with each other, so both lineups are equally likely. A dihybrid makes all four gamete types in equal amounts. Genes that sit close together on the same chromosome break this rule (Chapter 4).

Independent assortment holds for genes on different chromosomes. It also holds for genes far apart on the same chromosome. Genes close together on one chromosome are linked. They tend to travel together. A dihybrid with linked genes makes more parental gametes than recombinant ones. Mendel was lucky, or perhaps choosy. The traits he reported in his two trait and three trait tests all sorted on their own. Chapter 4 covers linkage and how it is used to map genes.

The dihybrid testcross

You can see independent assortment even more clearly with a dihybrid testcross. You cross a dihybrid with a double recessive (RrYy × rryy). The tester gives only ry gametes. So the look of each offspring shows which gamete it got from the dihybrid. The four phenotypes appear in a 1:1:1:1 ratio. This matches the four gamete types made in equal numbers. Mendel did this cross and got close to equal numbers of all four groups. In later chapters, you will see testcrosses that do not give 1:1:1:1. If they have too many parental offspring, that is the sign of linkage.

Branch diagrams instead of big Punnett squares

A 4 × 4 Punnett square is easy enough. But a three gene cross needs an 8 × 8 square with 64 boxes. Four genes need 256 boxes. A branch diagram is faster. It is also called the forked line method. Because the genes sort on their own, you can work out each gene alone and then combine them. Take the phenotypes of an AaBb × AaBb cross. First split into 3/4 A_ and 1/4 aa. Then split each of those into 3/4 B_ and 1/4 bb. Multiply along each path. Figure 1.3 in the next section shows this exact tree. The same method works for genotypes. You just use three branches per gene (1/4, 1/2, 1/4) instead of two.

Number of heterozygous gene pairs in the F1 (n)Kinds of F1 gametes (2n)Cells in the Punnett square (4n)F2 genotypes (3n)F2 phenotypes with complete dominance (2n)Fraction of F2 homozygous recessive at all loci (1/4)n
124321/4
2416941/16
38642781/64
41625681161/256
n2n4n3n2n(1/4)n

A three gene cross is called a trihybrid cross. For AaBbCc × AaBbCc, the phenotype ratio is (3:1)3 = 27:9:9:9:3:3:3:1. The 27 group is A_B_C_ (3/4 × 3/4 × 3/4 = 27/64). Each 9 group is dominant at two loci and recessive at one (3/4 × 3/4 × 1/4 = 9/64). Each 3 group is dominant at one locus (3/4 × 1/4 × 1/4 = 3/64). And 1/64 are recessive at all three.

Study tip. Worked problem: Look at the cross AaBbCcDd × AaBbCcDd. Each gene shows complete dominance and sorts on its own. What fraction of the offspring will (a) have the genotype AaBbCcDd, and (b) show the dominant trait for all four genes?
Step 1: Treat each gene as its own monohybrid cross. For Aa × Aa, P(Aa) = 1/2 and P(A_) = 3/4. The same holds for the other three genes.
Step 2: (a) Multiply the heterozygote chances: 1/2 × 1/2 × 1/2 × 1/2 = 1/16.
Step 3: (b) Multiply the dominant trait chances: 3/4 × 3/4 × 3/4 × 3/4 = 81/256.
Answer: (a) 1/16, or 0.0625. (b) 81/256, or about 0.316. Check: The table above says a four gene cross has a 256 box square. The fully dominant group should fill 34 = 81 of those boxes. That matches.

Mixed crosses

Real problems seldom use two parents with the same genotype. The branch method works for any mix. Take AaBbcc × AabbCc. Look at each gene alone. Aa × Aa gives 3/4 A_. Bb × bb gives 1/2 Bb and 1/2 bb. cc × Cc gives 1/2 Cc and 1/2 cc. The chance of an offspring with the dominant trait for all three genes is 3/4 × 1/2 × 1/2 = 3/16. You can find the chance of a genotype that matches neither parent by subtracting. The chance of exactly AaBbcc, like parent 1, is 1/2 (Aa) × 1/2 (Bb) × 1/2 (cc) = 1/8. The chance of exactly AabbCc, like parent 2, is 1/2 × 1/2 × 1/2 = 1/8. So the chance of neither parent's genotype is 1 − 1/8 − 1/8 = 3/4.

Study tip. A common mistake is to mix genotype chances and phenotype chances in the same problem. First decide what the question asks. Does it ask about genotype? Then use 1/4, 1/2 and 1/4. Does it ask about phenotype? Then use 3/4 and 1/4. Stick with the same choice for every gene you multiply.
Key point

Genes on different chromosomes sort on their own because homologous pairs line up at random in metaphase I. So a dihybrid makes four kinds of gametes in equal numbers. This gives 9:3:3:1 when two dihybrids are crossed, and 1:1:1:1 in a testcross. For many genes, solve each gene alone and then multiply. Use the 2n, 3n and 4n rules to check your work.

Section 3Probability rules for genetics problems

Why probability is the language of inheritance

Segregation and fertilization happen by chance. So every prediction about how genes pass down is a probability. A probability is how often you expect something to happen over many tries. It is a number from 0, which means it never happens, to 1, which means it always happens. The chance that a heterozygote Aa passes on a is 1/2. That is the same as the chance that a fair coin lands heads. A few rules let you solve almost any problem quickly, without drawing Punnett squares.

The product rule

The product rule is also called the multiplication rule. It says this: the chance that two or more independent events all happen together is their separate chances multiplied. Events are independent when one result does not change the chance of the other. Separate gametes are independent. So are separate children and separate unlinked genes. The key word in a question is usually "and." For example: the chance that a child is a girl and has cystic fibrosis. Or the chance that one child is affected and the next child is too.

Say two carriers of a recessive disease (Aa × Aa) have a child. The chance the child is aa is the chance the egg carries a (1/2) times the chance the sperm carries a (1/2). That equals 1/4. The chance that their first two children are both affected is 1/4 × 1/4 = 1/16. The chance that their first child is an affected boy is 1/4 × 1/2 = 1/8.

The sum rule

The sum rule is also called the addition rule. It says this: the chance that any one of two or more mutually exclusive events happens is their separate chances added up. Events are mutually exclusive when only one of them can happen in a single try. One child cannot be both AA and Aa. The key word is "or." In Aa × Aa, the chance that a child shows the dominant trait is P(AA) + P(Aa) = 1/4 + 1/2 = 3/4. The 3/4 you have been using is itself a sum.

Many problems need both rules. Carrier parents have two children. What is the chance that exactly one child is affected? There are two orders, and only one can happen. The first child is affected and the second is not (1/4 × 3/4 = 3/16). Or the first is not and the second is (3/4 × 1/4 = 3/16). The answer is 3/16 + 3/16 = 6/16 = 3/8.

Gene A Gene B Product rule 3/4 A_ 1/4 aa 3/4 B_ 1/4 bb 3/4 B_ 1/4 bb A_B_ = 3/4 × 3/4 = 9/16 A_bb = 3/4 × 1/4 = 3/16 aaB_ = 1/4 × 3/4 = 3/16 aabb = 1/4 × 1/4 = 1/16 Sum rule check: 9/16 + 3/16 + 3/16 + 1/16 = 16/16 = 1
Figure 1.3 A branch diagram for a cross of two dihybrids. Multiply along each path (product rule) to get the chance of a combined trait. Add paths (sum rule) to combine groups. All the paths together must add up to 1. That is a quick check on any tree.

Conditional probability

Sometimes we already know something about a person. That knowledge changes the chances. A conditional probability is the chance of an event when we know another event has happened. We write it as P(A | B), which you read as "the chance of A, given B." To work it out, look only at the results that fit what we know:

P(A | B) = P(A and B) / P(B)

The most important example in genetics is this one. A person has a recessive disorder. Their brother or sister is unaffected. The parents must both be carriers (Aa × Aa). Before we know anything, a child has a 1/4 chance of being AA, a 1/2 chance of being Aa, and a 1/4 chance of being aa. But we are told this sibling is unaffected. (A sibling is a brother or sister.) That rules out aa. What is left adds up to 3/4. Within that, the chance of being a carrier is (1/2) / (3/4) = 2/3. The chance of being AA is (1/4) / (3/4) = 1/3. Many people answer 1/2 without thinking. But 2/3 is correct, because it uses the fact that the sibling is unaffected.

The binomial expansion

Some questions ask for a set number of results among several separate tries, in any order. For these, use the binomial expansion. Let p be the chance of one result. Let q = 1 − p be the chance of the other. The chance of getting exactly s of the first kind and t of the second kind in n = s + t tries is

P = [n! / (s! t!)] ps qt

The part n! / (s! t!) counts how many different orders the results can come in. The "!" means factorial. For example, 4! = 4 × 3 × 2 × 1. Remember that 0! = 1. For small n, you can also read these numbers from Pascal's triangle. For n = 4 they are 1, 4, 6, 4, 1.

Study tip. Worked problem: Two parents are both carriers of albinism (Aa). They plan to have 5 children. What is the chance that exactly 2 will have albinism?
Step 1: Find p and q. The chance of albinism (aa) is p = 1/4. The chance of being unaffected is q = 3/4. Here n = 5, s = 2 affected and t = 3 unaffected.
Step 2: Count the orders: 5! / (2! 3!) = 120 / (2 × 6) = 10.
Step 3: The chance of any one order: (1/4)2 × (3/4)3 = (1/16) × (27/64) = 27/1,024.
Step 4: Multiply: 10 × 27/1,024 = 270/1,024 = 135/512.
Answer: 135/512, or about 0.264. Check: The expected number affected is 5 × 1/4 = 1.25. So "exactly 2" should be one of the more likely results. About a quarter makes sense.

"At least one" problems

Questions that ask for "at least one" are easiest if you subtract. Carrier parents have four children. The chance that at least one is affected is 1 minus the chance that none is affected: 1 − (3/4)4 = 1 − 81/256 = 175/256. That is about 0.68. To do this by adding, you would have to add up the chances of exactly 1, 2, 3 and 4 affected children.

ToolWhen to use itSignal wordsExample
Product ruleIndependent events all occurring together"and," "both," "all," a specified orderFirst child affected and second unaffected: 1/4 × 3/4 = 3/16
Sum ruleAny one of several mutually exclusive outcomes"or," "either"Dominant phenotype: 1/4 AA + 1/2 Aa = 3/4
Conditional probabilitySome outcomes have been ruled out by information"given that," "who is unaffected," "known to be"Unaffected sibling of an affected child is a carrier: 2/3
Binomial expansionA set number of each outcome in any order"exactly 2 of 5," "3 boys and 1 girl"Exactly 1 affected of 3 children: 3 × (1/4)(3/4)2 = 27/64
Complement"At least one" of an outcome"at least one," "one or more"At least one affected of 3: 1 − (3/4)3 = 37/64
Study tip. Worked problem: In the cross AaBbCc × AaBbCc, what is the chance of an offspring that is dominant for exactly two of the three traits?
Step 1: For each gene, P(dominant) = 3/4 and P(recessive) = 1/4.
Step 2: This is a binomial with n = 3 traits, s = 2 dominant and t = 1 recessive. Orders: 3! / (2! 1!) = 3. (The recessive trait could be A, B or C.)
Step 3: One order: (3/4)2 × (1/4) = 9/64.
Step 4: 3 × 9/64 = 27/64.
Answer: 27/64. Check this against the trihybrid ratio 27:9:9:9:3:3:3:1. The three 9 groups are exactly the "dominant for two" groups. And 9 + 9 + 9 = 27 out of 64.
Connection. Each pregnancy is a separate, independent event. Picture a couple who are both carriers of a recessive condition. They already have one affected child. Their risk in the next pregnancy is still 1/4. Chance has no memory. Genetic counselors work hard to explain this. Many families think that after one affected child, the next three "should" be unaffected.
Key point

Multiply the chances of independent events that must all happen. Add the chances of choices that cannot happen together. Narrow down the possible results when you learn new facts. Use the binomial formula when the order does not matter. Subtract from 1 for "at least one." These five tools solve almost every inheritance problem faster than a Punnett square.

Section 4Chi square testing of genetic ratios

The problem of chance deviation

Real data never match the expected ratio exactly. Mendel's 5,474 round and 1,850 wrinkled seeds were not exactly 3:1. Suppose someone does a testcross and counts 72 dominant and 48 recessive offspring. They must decide if 72:48 is "close enough" to 1:1. The gap could come from chance alone. This is called sampling error. Or the gap could mean the idea is wrong. Maybe the parent is not the genotype we thought. Maybe the genes are linked. Maybe one group survives less well. The chi square (χ2) goodness of fit test is the standard tool for deciding. ("Chi" is a Greek letter, said "kye.")

Hypotheses and the logic of the test

The test starts with a null hypothesis, written H0. A hypothesis is an idea you can test. The null hypothesis says there is no real difference between the numbers we saw and the numbers we expected. Any gap is due to chance. In genetics, the null hypothesis is usually a certain ratio, such as "the offspring split 3:1." The test then asks a question. If H0 were true, how often would chance alone make a gap at least this big? That chance is the P value. If it is small, usually less than 0.05, we reject the null hypothesis. If it is bigger, we fail to reject it. That means the data fit the idea. But it does not prove the idea is true.

Calculating chi square

The formula is

χ2 = Σ (O − E)2 / E

Here O is the observed number in each group. E is the expected number. The sign Σ means "add up." You add over all the phenotype groups. Each part squares the gap, so plus and minus gaps do not cancel out. Each part then divides by the expected number. This makes a gap of 10 matter more when 20 were expected than when 2,000 were. The steps are always the same:

  1. State the null hypothesis and the ratio it predicts.
  2. Find the total number of offspring. Work out the expected number in each group by multiplying the total by that group's expected fraction. Expected numbers can be decimals. Do not round them to whole numbers.
  3. For each group, work out (O − E)2 / E. Then add the parts.
  4. Find the degrees of freedom, written df. For a test of a genetic ratio, df = the number of phenotype groups − 1. Once you know the total and all groups but one, the last group is fixed. It is not free to change.
  5. Compare your χ2 value with the critical value in a chi square table. Use your df and the level you chose, usually 0.05. Then state what you conclude.
dfP = 0.95P = 0.50P = 0.10P = 0.05P = 0.01
10.0040.4552.7063.8416.635
20.1031.3864.6055.9919.210
30.3522.3666.2517.81511.345
40.7113.3577.7799.48813.277
51.1454.3519.23611.07015.086

Here is how to read the table. With 3 degrees of freedom, a chi square of 7.815 or more would happen by chance only 5 percent of the time if the null hypothesis were true. Bigger chi square values mean bigger gaps and smaller P values.

Study tip. Worked problem: Test Mendel's dihybrid F2 against a 9:3:3:1 ratio. He counted 315 round yellow, 108 round green, 101 wrinkled yellow and 32 wrinkled green.
Step 1: H0: The F2 split 9:3:3:1. Total = 315 + 108 + 101 + 32 = 556.
Step 2: Expected: 556 × 9/16 = 312.75. 556 × 3/16 = 104.25. 556 × 3/16 = 104.25. 556 × 1/16 = 34.75. (Check: 312.75 + 104.25 + 104.25 + 34.75 = 556.)
Step 3: Parts: (315 − 312.75)2/312.75 = 5.0625/312.75 = 0.016. (108 − 104.25)2/104.25 = 14.0625/104.25 = 0.135. (101 − 104.25)2/104.25 = 10.5625/104.25 = 0.101. (32 − 34.75)2/34.75 = 7.5625/34.75 = 0.218.
Step 4: χ2 = 0.016 + 0.135 + 0.101 + 0.218 = 0.470. df = 4 groups − 1 = 3.
Step 5: In the df = 3 row, 0.470 falls between 0.352 (P = 0.95) and 2.366 (P = 0.50). More exactly, P is between 0.90 and 0.95. It is far below the critical value of 7.815.
Answer: Fail to reject H0. The data fit 9:3:3:1 very well. Gaps this big would happen by chance about 9 times in 10.
critical value 7.815 (P = 0.05, df = 3) reject H0: area 0.05 Mendel's dihybrid data: χ² = 0.47 fail to reject H0 0 2 4 6 8 10 12 14 value of chi square probability density
Figure 1.4 The chi square curve for 3 degrees of freedom. This is the df for any ratio with four groups. If the null hypothesis is true, values to the right of 7.815 happen only 5 percent of the time. So landing there leads us to reject the idea. Small chi square values mean the data sit close to what we expected.
Study tip. Worked problem: A plant is thought to be Aa. A testcross gives 72 dominant and 48 recessive offspring. Do the data fit 1:1?
Step 1: H0: 1:1. Total = 120, so E = 60 for each group.
Step 2: (72 − 60)2/60 = 144/60 = 2.40. (48 − 60)2/60 = 144/60 = 2.40.
Step 3: χ2 = 4.80. df = 2 − 1 = 1.
Step 4: The critical value at P = 0.05 with df = 1 is 3.841. Since 4.80 > 3.841, P < 0.05. (It falls between 0.05 and 0.01.)
Answer: Reject the 1:1 idea. A good next question is whether recessive offspring survive less well, or whether the groups were scored wrong. The test says the gap is unlikely to be chance. It does not say why.

Rules and pitfalls

Expected ratioClassesdfCritical χ2 at P = 0.05Typical cross
3:1213.841Monohybrid F2, complete dominance
1:1213.841Monohybrid testcross
1:2:1325.991Monohybrid F2, incomplete dominance or codominance
9:3:3:1437.815Dihybrid F2
1:1:1:1437.815Dihybrid testcross
Key point

Chi square measures how far the counts you saw fall from the counts an idea predicts: χ2 = Σ(O − E)2/E, with df = groups − 1. If the value is bigger than the critical value at P = 0.05, reject the idea. The critical values are 3.841 for df 1, 5.991 for df 2 and 7.815 for df 3. If the value is smaller, the gap can fairly be blamed on chance. Always use raw counts, and never round the expected values.

Section 5Pedigree analysis basics

Why human genetics needs pedigrees

Scientists who study peas or fruit flies can plan the crosses they want. They can count hundreds of offspring. Scientists who study human genes can do neither. People choose their own partners. Families are small. Generations are long. Many traits of interest are rare. So we rebuild the pattern of inheritance from a pedigree. A pedigree is a family tree drawn in a standard way. It shows who is related to whom and who has the trait. We ask which kinds of inheritance fit the pattern. Then we can usually find the most likely kind and work out risks for family members.

Pedigree conventions

Males are drawn as squares. Females are drawn as circles. A diamond is used when sex is unknown or does not matter. People with the trait, called affected people, are filled in. A flat line between a male and a female means they had children together. A line drops down from it to another flat line. The children hang from this line in birth order, from left to right. A double line between partners marks a consanguineous mating. That means the partners are blood relatives, such as first cousins. Generations are numbered with Roman numerals (I, II, III). People in each generation are numbered with ordinary numbers. So II-3 is the third person in the second generation. The person who first brought the family to a doctor's attention is the proband, also called the propositus. The proband is marked with an arrow. Carriers, when known, may be shown as half filled symbols or with a dot in the center. A slanted slash marks a person who has died. Twins hang from one shared point. Identical twins, also called monozygotic twins, are joined by a short flat bar.

unaffected male unaffected female affected male carrier female (dot) sex unspecified deceased consanguineous mating proband I II III ? II-1 II-2 II-3 II-4 I-1 I-2 III-1 (risk?)
Figure 1.5 Pedigree symbols (left) and a small family (right). Two unaffected parents in generation I have an affected son. He is the proband, II-1. So the trait is recessive and both parents are carriers. Their unaffected daughter II-3 has a 2/3 chance of being a carrier. That is the starting point for working out the risk to her child, III-1.

Autosomal recessive inheritance

An autosome is any chromosome that is not a sex chromosome. A trait caused by a recessive allele on an autosome usually has these features:

Examples include cystic fibrosis, sickle cell disease, phenylketonuria, Tay Sachs disease and albinism.

Autosomal dominant inheritance

A trait caused by a dominant allele on an autosome usually has these features:

Most people with rare dominant disorders are heterozygous. To be homozygous, a person needs two affected parents. Homozygotes are also often more severely affected. Examples include Huntington disease, Marfan syndrome, neurofibromatosis type 1, achondroplasia and familial hypercholesterolemia.

FeatureAutosomal recessiveAutosomal dominant
Parents of an affected childUsually both unaffected carriersUsually one parent affected
Pattern across generationsHorizontal: affected siblings, skipped generationsVertical: appears in each generation
Sex ratio of affectedAbout equalAbout equal
Male to male transmissionPossibleSeen, and excludes X linkage
Risk to children of affected × unaffected (noncarrier)0 affected; all are carriers1/2 affected
Risk to children of two carriers or two heterozygotes1/4 affected3/4 affected (1/4 may be severe homozygotes)
ConsanguinityIncreases frequencyLittle effect
Key diagnostic clueTwo unaffected parents with an affected childTwo affected parents with an unaffected child

Reasoning through a pedigree

A step by step method avoids most mistakes. First, look for two unaffected parents with an affected child. If you find this, the trait must be recessive. Next, look for two affected parents with an unaffected child. If you find this, the trait must be dominant. Then check whether one sex is affected more, and look for father to son passing. These help you choose between autosomal and X linked patterns (Chapter 3). For each idea still left, try to give every person a genotype. An idea is ruled out if even one person cannot be given a genotype that fits. Last, if more than one pattern fits, pick the one that needs the fewest guesses. For example, pick the one that needs the fewest unrelated carriers marrying into the family. For a rare trait, assume that people who marry into the family are homozygous for the common allele, unless the pedigree forces you to think otherwise.

Study tip. Worked problem: In Figure 1.5, II-1 has cystic fibrosis. His unaffected sister, II-3, marries an unrelated man, II-4. In his population, 1 person in 25 is a carrier. What is the chance that their first child, III-1, will have cystic fibrosis?
Step 1: II-1 is affected and his parents are not. So both parents are carriers (Aa × Aa).
Step 2: II-3 is unaffected, so she is not aa. Conditional probability gives P(II-3 is Aa) = 2/3.
Step 3: P(II-4 is Aa) = 1/25, from how common carriers are in his population.
Step 4: If both are carriers, P(child is aa) = 1/4.
Step 5: All three things must be true, so multiply: 2/3 × 1/25 × 1/4 = 2/300 = 1/150.
Answer: 1/150, or about 0.67 percent. Compare this with the risk for two people whose status is unknown: 1/25 × 1/25 × 1/4 = 1/2,500. The family history raises the risk about 17 times.

Ascertainment and the limits of pedigrees

Pedigrees are small. So the ratios in any one family seldom match Mendel's numbers. The way families are found can also skew the data. This is called ascertainment. A family is usually studied because it has at least one affected child. That makes the share of affected children look bigger than it really is. Other problems can confuse a pedigree too:

Chapter 2 covers penetrance and expressivity. Chapter 14 comes back to risk math in genetic counseling.

Connection. Pedigree analysis is the first step in any visit to a genetics clinic. A counselor draws a family history that covers three generations. The counselor notes where the family comes from and whether any partners are related. The pattern helps decide which genetic tests to offer. Say a family shows early breast and ovarian cancer in every generation. That strong vertical pattern leads to testing for dominant genes that raise cancer risk, such as BRCA1 and BRCA2. A single affected child of unaffected parents points toward a recessive condition. Then the parents may be offered carrier testing.
Key point

Pedigrees let us use Mendel's rules on human families. Recessive traits usually show up in children of unaffected carrier parents. They are more common when partners are related. Dominant traits show up in every generation. They pass from an affected parent to about half the children. Give genotypes step by step. Use conditional probability (the 2/3 rule) for unaffected siblings. Multiply the independent chances to get the risk.

The chapter in one breath

  • Mendel succeeded because he used true breeding pea lines, traits with two clear forms, separate generations, reciprocal crosses and large counts.
  • Genes come in pairs of alleles. The genotype is the set of alleles. The phenotype is the trait you observe.
  • The principle of segregation: the two alleles of a gene split into different gametes with equal chance. This matches the splitting of homologous chromosomes in anaphase I.
  • A monohybrid cross of two heterozygotes gives a 1:2:1 genotype ratio. With complete dominance it gives a 3:1 phenotype ratio. Two thirds of the dominant F2 are heterozygous.
  • A testcross to a homozygous recessive reveals the gametes of the plant being tested. A heterozygote gives 1:1. A homozygote gives all dominant.
  • The principle of independent assortment: unlinked genes split on their own because homologous pairs line up at random in metaphase I. This gives 9:3:3:1 in a cross of two dihybrids and 1:1:1:1 in a dihybrid testcross.
  • For n heterozygous genes, expect 2n gametes, 3n genotypes, 2n phenotypes and a Punnett square with 4n boxes.
  • The product rule multiplies the chances of independent events. The sum rule adds the chances of events that cannot happen together.
  • Conditional probability gives the 2/3 carrier risk for an unaffected sibling of a person with a recessive disorder. The binomial expansion answers "exactly k out of n" questions.
  • The chi square test, Σ(O − E)2/E with df = groups − 1, decides if gaps from a ratio could be due to chance. Reject the idea when P < 0.05.
  • In pedigrees, unaffected parents with an affected child point to a recessive trait. Affected parents with an unaffected child point to a dominant trait.

Words worth knowing

TermWhat it means
AlleleOne of the different forms of a gene, such as R (round) or r (wrinkled).
Autosomal dominantA trait caused by a dominant allele on a chromosome that is not a sex chromosome. Affected people usually have an affected parent.
Autosomal recessiveA trait that shows only when a person has two copies of a recessive allele on a chromosome that is not a sex chromosome. The parents are usually unaffected carriers.
BackcrossA cross of an F1 with one of its parents, or with one that has the same genotype as a parent.
Binomial expansionA formula, n!/(s! t!) ps qt, for the chance of getting a set number of each of two results in any order.
Blending inheritanceThe old, wrong idea that parents' traits mix for good in their young, like mixing paints.
CarrierA heterozygous person who carries a recessive allele but does not show the recessive trait.
Chi square testA math test that compares the counts you saw with the counts you expected. It tells you if the gap is likely due to chance.
Conditional probabilityThe chance of an event when you already know some other fact. You work it out by looking only at the results that fit that fact.
Consanguineous matingHaving children with a close blood relative. This raises the chance that children get two copies of a rare recessive allele.
Degrees of freedomThe number of groups that are free to change once the total is set. For a genetic ratio test, it is the number of groups minus one.
Dihybrid crossA cross between two individuals that are heterozygous at two loci, such as RrYy × RrYy.
DominantAn allele whose trait shows in the heterozygote.
F1 and F2The first and second filial generations. The F1 are the offspring of the P cross. The F2 are the offspring of the F1.
GameteA sex cell, such as an egg, a sperm or a pollen grain. It carries one allele of each gene.
GeneA unit of heredity at a set spot on a chromosome. It affects one or more traits.
GenotypeThe set of alleles a living thing carries at one or more loci.
HeterozygousHaving two different alleles at a locus.
HomozygousHaving two matching alleles at a locus.
Independent assortmentMendel's second rule. Alleles of different, unlinked genes go into gametes on their own, without affecting each other.
LocusThe exact spot where a gene sits on a chromosome. The plural is loci.
Monohybrid crossA cross that follows one gene, such as Aa × Aa.
Null hypothesisThe idea that the results differ from what we expected only by chance. In genetics, it is usually a set Mendel ratio.
P valueIf the null hypothesis is true, the chance of getting a gap at least as big as the one you saw.
PedigreeA family tree drawn in a standard way. It shows how people are related and who has a trait.
PhenotypeThe traits you can observe in a living thing, from what it looks like to its body chemistry.
ProbandThe person who first brings a family to a geneticist's attention. An arrow marks this person in a pedigree.
Product ruleThe chance that independent events all happen is their separate chances multiplied.
Reciprocal crossA pair of crosses in which the traits of the male and female parents are switched.
RecessiveAn allele whose trait shows only when there are two copies of it (or one copy with no partner, as on the male X).
SegregationMendel's first rule. The two alleles of a gene split apart, so each gamete gets only one.
Sum ruleThe chance that any one of several events happens, when only one can happen at a time, is their separate chances added.
TestcrossA cross of an individual of unknown genotype with a homozygous recessive. The offspring's traits reveal the unknown's gametes.
True breedingA line that makes only offspring like itself when it fertilizes itself or is crossed within the line. This is because it is homozygous.

Check yourself

Why did Mendel insist on starting with true breeding lines? What would have gone wrong if one of his "round" parent plants had secretly been heterozygous?
Answer. True breeding lines are homozygous. So the F1 from a P cross is all heterozygous, and the F2 ratios can be predicted. A heterozygous round parent crossed with wrinkled would give a 1:1 F1 instead of all round. The F2 would then be a mix of offspring from different F1 genotypes. That would hide the 3:1 ratio.
In an F2 from Aa × Aa, you pick a plant with the dominant trait at random and let it fertilize itself. What is the chance that its offspring will include recessive plants?
Answer. 2/3. Among the dominant F2 plants, AA : Aa is 1:2. So 2/3 are heterozygous. Only heterozygotes can make aa offspring when they fertilize themselves.
A plant with the genotype AaBbCcDdEe fertilizes itself. How many kinds of gametes can it make? How many different genotypes can show up in its offspring?
Answer. There are n = 5 heterozygous loci. So it makes 25 = 32 kinds of gametes, and there are 35 = 243 genotypes. This assumes the genes sort on their own.
In the cross AaBb × aabb, what fraction of the offspring will look like neither parent?
Answer. 1/2. The testcross gives 1/4 each of AaBb (like parent 1), Aabb, aaBb and aabb (like parent 2). The two middle groups, 1/4 + 1/4 = 1/2, look like neither parent.
Two carriers of a recessive disorder have three children. What is the chance that at least one child is affected?
Answer. 1 − (3/4)3 = 1 − 27/64 = 37/64, or about 0.58. Subtracting the chance of no affected children from 1 is much faster than adding up the cases of 1, 2 and 3 affected.
What is the chance that a family of four children has exactly two boys and two girls? Assume P(boy) = 1/2.
Answer. 4!/(2! 2!) × (1/2)2 × (1/2)2 = 6 × 1/16 = 6/16 = 3/8. Many people guess 1/2. But there are 16 equally likely birth orders, and only 6 of them have two of each sex.
An F2 has 290 plants with purple flowers and 110 with white flowers. Work out chi square for a 3:1 idea and give your conclusion.
Answer. The total is 400, so the expected numbers are 300 and 100. χ2 = (290 − 300)2/300 + (110 − 100)2/100 = 100/300 + 100/100 = 0.333 + 1.000 = 1.333. With df = 1, this is less than 3.841 (P is between 0.10 and 0.50). So we fail to reject 3:1.
Someone reports data as 58 percent and 42 percent and works out chi square on those numbers. Why is this wrong?
Answer. Chi square must be worked out on real counts. Percents hide the sample size. The same percents give very different chi square values in samples of 50 and 5,000. Using percents is like pretending the sample was exactly 100.
In a pedigree, two affected parents have one affected child and one unaffected child. Which kind of autosomal inheritance does this support? What are the parents' genotypes?
Answer. Autosomal dominant. An unaffected child must be aa, with one a from each parent. So both affected parents are heterozygous Aa. A recessive trait cannot give an unaffected child to two affected (aa) parents.
A woman's brother has phenylketonuria, which is autosomal recessive. Her parents are unaffected. She marries an unrelated man with no family history of it. In the population, 1 person in 50 is a carrier. What is the risk that their first child has phenylketonuria?
Answer. P(she is a carrier) = 2/3. P(he is a carrier) = 1/50. P(child is aa, if both are carriers) = 1/4. Risk = 2/3 × 1/50 × 1/4 = 2/600 = 1/300, or about 0.33 percent.

Want the longer, more technical telling? Read chapter 1 in the full textbook.