SciWrenchGenetics Virtual Lab
Interactive tutorial · independent assortment

One gene.
One branch.
One probability.

Complete the Punnett squares, enter phenotype proportions, and build a fork line. Every answer refers to all offspring.

yellow · X-linkedwhite · X-linkedminiature · X-linkedsepia · autosomal
Use proportions, not ratios.

Enter answers such as 1/2, 3/4 or 0.25. All mutant alleles are recessive. White is epistatic to sepia: white eyes conceal the sepia phenotype.

Start with the alleles.

Wild-type alleles have a + and appear before mutant alleles in heterozygous genotypes. X-chromosome labels use complete gene symbols in superscript.

Xy+w+m+ / Xywm

Sepia: se+ / se

Heterozygous at all four loci.

Xywm / Y

Sepia: se+ / se

Carries the recessive yellow, white and miniature alleles; heterozygous at sepia.

Independent-assortment teaching model

Recombination is allowed. For this exercise, maternal y, w and m alleles are sampled independently, giving eight equally likely X combinations. Sepia also segregates independently. This deliberately models no detectable genetic linkage; it does not represent the real linkage distances of these named Drosophila genes. Allowing recombination alone does not guarantee independent assortment.

Explore the eight maternal X combinations

Each combination has probability 1/8 in this model. The six mixed combinations are recombinant relative to the starting chromosomes.

Xy+w+m+ · 1/8Xy+w+m · 1/8Xy+wm+ · 1/8Xy+wm · 1/8Xyw+m+ · 1/8Xyw+m · 1/8Xywm+ · 1/8Xywm · 1/8

Within each chromosome the gene order stays y–w–m, so the loci remain aligned.

Combine one allele from each parent.

Click an empty cell and choose its genotype. Rows show eggs; columns show sperm. Each box represents 1/4 of all offspring. Each single-gene square shows only the locus being studied.

yellow X-linked

Egg ↓
Sperm →
XyYXy+Xy

Each cell = 1/4. Click a cell to set or change its genotype.

white X-linked

Egg ↓
Sperm →
XwYXw+Xw

Each cell = 1/4. Click a cell to set or change its genotype.

miniature X-linked

Egg ↓
Sperm →
XmYXm+Xm

Each cell = 1/4. Click a cell to set or change its genotype.

sepia Autosomal

Egg ↓
Sperm →
se+sese+se

Each cell = 1/4. Click a cell to set or change its genotype.

Count the boxes. Divide by four.

Enter the wild-type and mutant proportions for each locus across all offspring. For the two eye-colour loci, first consider each square on its own; we combine their effects in the next step.

yellow

white

miniature

sepia

White masks sepia.

Sepia eyes require both a functioning white gene and se/se. With the recessive white phenotype, eye colour is white regardless of the sepia genotype.

Functional white + se/seSepia eyes are visible.
Recessive white phenotype + any sepia genotypeEyes are white. Sepia is masked.

Check the actual eye-colour proportions

The se/se proportion from its square is 1/4. The proportion with visible sepia eyes must also include functional white.

Need a hint?

White: use the recessive white proportion. Sepia: P(functional white) × P(se/se). Red: P(functional white) × P(se+/–).

Choose a phenotype. Follow its branches.

Multiply the independent per-gene probabilities for the desired outcome. Eye-colour branches must account for epistasis.

For visible sepia eyes, choose functional white AND se/se.

1. yellow
2. white
3. miniature
4. sepia
How to draw the full fork line on paper — view the diagram

Start with yellow: wild-type body (1/2) or yellow body (1/2). From each outcome, draw white branches: functional white (1/2) or white eyes (1/2). Repeat for miniature: normal wings (1/2) or miniature wings (1/2), then sepia: se+/– (3/4) or se/se (1/4).

Multiply along a path. Add paths that lead to the same visible phenotype. For white eyes, the sepia branches merge because both lead to white: 3/4 + 1/4 = 1.

The complete fork lineOn a narrow screen, scroll sideways to follow the branches →
Full four-gene fork-line diagramSixteen paths branch through yellow, white, miniature and sepia. Each of the first three branches has probability one half. Sepia branches have probabilities three quarters and one quarter. Terminal path probabilities are three thirty-seconds or one thirty-second. Four pairs of white-eye paths each combine to one eighth because white masks sepia. The yellow, miniature, sepia-eye path is highlighted.1 · YELLOW2 · WHITE3 · MINIATURE4 · SEPIAEYES · PATH PROBABILITYRead left to right. Multiply along a path; add paths with the same visible phenotype.Wild-type body1/2Yellow body1/2Functional white1/2White eyes1/2Functional white1/2White eyes1/2Normal wings1/2Miniature wings1/2Normal wings1/2Miniature wings1/2Normal wings1/2Miniature wings1/2Normal wings1/2Miniature wings1/2se⁺/–3/4se/se1/4se⁺/–3/4se/se1/4se⁺/–3/4se/se1/4se⁺/–3/4se/se1/4se⁺/–3/4se/se1/4se⁺/–3/4se/se1/4se⁺/–3/4se/se1/4se⁺/–3/4se/se1/4StartRed eyes · 3/32Sepia eyes · 1/32Red eyes · 3/32Sepia eyes · 1/32White eyes · 3/32White eyes · 1/32White eyes · 3/32White eyes · 1/32Red eyes · 3/32Sepia eyes · 1/32Red eyes · 3/32Sepia eyes · 1/32White eyes · 3/32White eyes · 1/32White eyes · 3/32White eyes · 1/321/8same phenotype1/8same phenotype1/8same phenotype1/8same phenotypeHighlighted path: yellow body + miniature wings + sepia eyes1/2 × 1/2 × 1/2 × 1/4 = 1/32. Functional white is required for sepia to be visible.
The gold path gives yellow body, miniature wings and sepia eyes. Each bracket combines two white-eye paths with the same body and wing phenotype: 3/32 + 1/32 = 1/8. Across all four brackets, white eyes total 1/2. All 16 terminal path probabilities together sum to 1.