Resources

An ecological geneticist quantifies pairwise genetic distance across five populations of endemic salamanders using allozyme allele frequency data. The computed genetic distance matrix DD (in units of millimorgan equivalent Nei's genetic distance, where 1.000 D=1000 mD1.000\text{ D} = 1000\text{ mD}) is given as follows: D(P1,P2)=120 mDD(P_1, P_2) = 120\text{ mD}; D(P1,P3)=450 mDD(P_1, P_3) = 450\text{ mD}; D(P2,P3)=430 mDD(P_2, P_3) = 430\text{ mD}; D(P1,P4)=680 mDD(P_1, P_4) = 680\text{ mD}; D(P2,P4)=660 mDD(P_2, P_4) = 660\text{ mD}; D(P3,P4)=610 mDD(P_3, P_4) = 610\text{ mD}. Using the UPGMA (Unweighted Pair Group Method with Arithmetic Mean) clustering algorithm, convert all distances to standard genetic distance DD, identify the first pair of populations that cluster together, and calculate the branch height (divergence distance) at which this first cluster forms.

Answer and steps

Final answer

Populations P1P_1 and P2P_2 cluster first at a branch height of D=0.060D = 0.060 (60 mD60\text{ mD}), based on a pairwise distance of D(P1,P2)=0.120D(P_1, P_2) = 0.120.

Steps

01

Converting Pairwise Distances to Standard Units (DD)

The relationship between millimorgan-equivalent Nei's genetic distance (mD\text{mD}) and standard Nei's genetic distance (DD) is:

1.000 D=1000 mD  ⟹  D=Distance in mD10001.000\text{ D} = 1000\text{ mD} \implies D = \frac{\text{Distance in mD}}{1000}

Applying this conversion to all given pairwise distances:

  • D(P1,P2)=1201000=0.120 DD(P_1, P_2) = \frac{120}{1000} = 0.120\text{ D}
  • D(P1,P3)=4501000=0.450 DD(P_1, P_3) = \frac{450}{1000} = 0.450\text{ D}
  • D(P2,P3)=4301000=0.430 DD(P_2, P_3) = \frac{430}{1000} = 0.430\text{ D}
  • D(P1,P4)=6801000=0.680 DD(P_1, P_4) = \frac{680}{1000} = 0.680\text{ D}
  • D(P2,P4)=6601000=0.660 DD(P_2, P_4) = \frac{660}{1000} = 0.660\text{ D}
  • D(P3,P4)=6101000=0.610 DD(P_3, P_4) = \frac{610}{1000} = 0.610\text{ D}

02

Identifying the First Cluster in UPGMA

The UPGMA (Unweighted Pair Group Method with Arithmetic Mean) algorithm constructs an ultrametric tree under the assumption of a constant molecular clock. At each step, it joins the two operational taxonomic units (populations or clusters) that have the smallest pairwise genetic distance.

Scanning the converted pairwise distances: min⁡{D(Pi,Pj)}=D(P1,P2)=0.120 D\min \lbrace D(P_i, P_j) \rbrace = D(P_1, P_2) = 0.120\text{ D}

Because 0.120 D0.120\text{ D} is strictly smaller than any other pairwise distance, populations P1P_1 and P2P_2 form the first cluster, denoted as (P1,P2)(P_1, P_2).


03

Calculating the Branch Height

Under the molecular clock assumption of UPGMA, the two lineages diverge symmetrically from a common internal node. Therefore, the node height (divergence distance from each tip to the common ancestor node) is exactly half of the total pairwise distance between them:

Branch Height h=D(P1,P2)2\text{Branch Height } h = \frac{D(P_1, P_2)}{2}

Substituting the distance:

h=0.120 D2=0.060 D(60 mD)h = \frac{0.120\text{ D}}{2} = 0.060\text{ D} \quad (60\text{ mD})

  • Common Pitfall: A frequent mistake is assigning the entire pairwise distance (0.1200.120) as the height of the joining node. In UPGMA, each terminal branch leading to the tip accounts for half of the divergence (h=D2h = \frac{D}{2}), ensuring all tips align at height zero (ultrametric property).

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student forgets that UPGMA branch height represents divergence distance from the ancestor to each leaf, mistakenly reporting the full pairwise distance between P1 and P2 instead of dividing it by 2.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    D(P1,P2)=120/1000=0.120 D  ⟹  D(P1,P3)=450/1000=0.450 D  ⟹  D(P2,P3)=430/1000=0.430 D  ⟹  D(P1,P4)=680/1000=0.680 D  ⟹  D(P2,P4)=660/1000=0.660 D  ⟹  D(P3,P4)=610/1000=0.610 DD(P_1, P_2) = 120/1000 = 0.120\text{ D} \implies D(P_1, P_3) = 450/1000 = 0.450\text{ D} \implies D(P_2, P_3) = 430/1000 = 0.430\text{ D} \implies D(P_1, P_4) = 680/1000 = 0.680\text{ D} \implies D(P_2, P_4) = 660/1000 = 0.660\text{ D} \implies D(P_3, P_4) = 610/1000 = 0.610\text{ D}

  2. Step 2

    Smallest distance is D(P1,P2)=0.120 D  ⟹  First cluster is (P1,P2)\text{Smallest distance is } D(P_1, P_2) = 0.120\text{ D} \implies \text{First cluster is } (P_1, P_2)

  3. Step 3

    Branch height=D(P1,P2)=0.120 D\text{Branch height} = D(P_1, P_2) = 0.120\text{ D}

    Correct

    Branch height h=D(P1,P2)2=0.120 D2=0.060 D\text{Branch height } h = \frac{D(P_1, P_2)}{2} = \frac{0.120\text{ D}}{2} = 0.060\text{ D}

    In UPGMA, an ultrametric tree assumes an equal rate of evolution from the common ancestor to each leaf tip. The branch height represents the divergence from the internal node to either tip, which is half of the pairwise distance: h=D(P1,P2)2h = \frac{D(P_1, P_2)}{2}.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly used the conversion factor 1.000 D=1000 mD1.000\text{ D} = 1000\text{ mD} across all pairwise entries.

You identified the smallest pairwise distance and correctly selected (P1,P2)(P_1, P_2) as the initial cluster.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
UPGMA Branch Height Node Halving Omission

You equated the total pairwise distance between two taxa directly to the node height instead of dividing it evenly between the two descending branches.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Confusing total pairwise path length between two leaves (dijd_{ij}) with the ultrametric node height (h=dij/2h = d_{ij}/2), forgetting that both lineages evolve independently and equally away from their common ancestor.

REASONING PATH
Your ACEpath teacher’s suggested approach
Molecular Clock and Ultrametricity
  • In UPGMA, all leaves have height 00, and any internal node joining taxa AA and BB is placed at height h=D(A,B)2h = \frac{D(A, B)}{2}.

  • Whenever you compute the divergence height of an internal node in UPGMA, always divide the pairwise distance between the two joining clusters by 22.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Apply the UPGMA node height formula: h=D(P1,P2)2h = \frac{D(P_1, P_2)}{2}

  2. Substitute D(P1,P2)=0.120 DD(P_1, P_2) = 0.120\text{ D}: h=0.120 D2=0.060 Dh = \frac{0.120\text{ D}}{2} = 0.060\text{ D}

Final answer

Populations P1P_1 and P2P_2 cluster first at a branch height of D=0.060D = 0.060 (60 mD60\text{ mD}).

NEXT STEPS
Final Takeaways from Your Teacher
  • Review the geometric difference between total tip-to-tip path length and root-to-tip node height in ultrametric phylogenetic trees.

  • Practice updating distance matrices after the first cluster is formed using arithmetic means.

OverviewACEpath Teacher's Diagnosis

02 The student incorrectly multiplies by 1000 instead of dividing by 1000 when converting from mD to standard D, resulting in inflated distances.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    D(P1,P2)=120×1000=120000 D  ⟹  D(P1,P3)=450000 D  ⟹  D(P2,P3)=430000 D  ⟹  D(P1,P4)=680000 D  ⟹  D(P2,P4)=660000 D  ⟹  D(P3,P4)=610000 DD(P_1, P_2) = 120 \times 1000 = 120000\text{ D} \implies D(P_1, P_3) = 450000\text{ D} \implies D(P_2, P_3) = 430000\text{ D} \implies D(P_1, P_4) = 680000\text{ D} \implies D(P_2, P_4) = 660000\text{ D} \implies D(P_3, P_4) = 610000\text{ D}

    Correct

    D(Pi,Pj)=Distance in mD1000  ⟹  D(P1,P2)=0.120 D,D(P1,P3)=0.450 D,D(P2,P3)=0.430 D,D(P1,P4)=0.680 D,D(P2,P4)=0.660 D,D(P3,P4)=0.610 DD(P_i, P_j) = \frac{\text{Distance in mD}}{1000} \implies D(P_1, P_2) = 0.120\text{ D}, D(P_1, P_3) = 0.450\text{ D}, D(P_2, P_3) = 0.430\text{ D}, D(P_1, P_4) = 0.680\text{ D}, D(P_2, P_4) = 0.660\text{ D}, D(P_3, P_4) = 0.610\text{ D}

    Because 1000 mD=1.000 D1000\text{ mD} = 1.000\text{ D}, converting a smaller unit (mD\text{mD}) to a larger standard unit (DD) requires dividing by 10001000, not multiplying.

  2. Step 2

    Smallest distance is D(P1,P2)=120000 D  ⟹  First cluster is (P1,P2)\text{Smallest distance is } D(P_1, P_2) = 120000\text{ D} \implies \text{First cluster is } (P_1, P_2)

  3. Step 3

    Branch height=1200002=60000 D\text{Branch height} = \frac{120000}{2} = 60000\text{ D}

    Correct

    Branch height h=D(P1,P2)2=0.1202=0.060 D\text{Branch height } h = \frac{D(P_1, P_2)}{2} = \frac{0.120}{2} = 0.060\text{ D}

    Your UPGMA logic of halving the pairwise distance (h=D2h = \frac{D}{2}) is sound, but your final numerical answer inherited the unit conversion error from Step 1.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly identified the pair with the smallest genetic distance as the first cluster in the UPGMA tree.

You correctly used the ultrametric branch height formula h=D2h = \frac{D}{2} for the first joining node.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Inverted unit conversion (multiplied instead of divided)

Multiplying the distance in mD\text{mD} by 10001000 rather than dividing by 10001000 to obtain standard units DD.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Confusing the direction of metric prefix conversion: remembering that 'milli means 10001000' but multiplying instead of dividing when converting from the milli-subunit to the base unit.

REASONING PATH
Your ACEpath teacher’s suggested approach
Unit Dimensional Analysis Check
  • 1 unit=1000 milli-units  ⟹  Value in base units=Value in milli-units10001\text{ unit} = 1000\text{ milli-units} \implies \text{Value in base units} = \frac{\text{Value in milli-units}}{1000}

  • Set up units with conversion fractions: 120 mD×(1 D1000 mD)=0.120 D120\text{ mD} \times \left(\frac{1\text{ D}}{1000\text{ mD}}\right) = 0.120\text{ D}.

Magnitude Reality Check
  • Converting from a smaller subunit to a base unit must result in a smaller numerical value.

  • Check whether 120 mD120\text{ mD} should be much less than 1 D1\text{ D}. If the result is 120000120000, the operation was inverted.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Convert each pairwise distance by dividing by 10001000: D(P1,P2)=1201000=0.120 DD(P_1, P_2) = \frac{120}{1000} = 0.120\text{ D}.

  2. Identify the pair with the minimum distance: min⁡{D}=D(P1,P2)=0.120 D\min \{D\} = D(P_1, P_2) = 0.120\text{ D}, so populations P1P_1 and P2P_2 cluster first.

  3. Calculate the branch height for this node: h=D(P1,P2)2=0.1202=0.060 Dh = \frac{D(P_1, P_2)}{2} = \frac{0.120}{2} = 0.060\text{ D}.

Final answer

Populations P1P_1 and P2P_2 cluster first at a branch height of D=0.060D = 0.060 (60 mD60\text{ mD}).

NEXT STEPS
Final Takeaways from Your Teacher
  • Write out unit cancellation fractions explicitly whenever converting metric-prefixed genetic or physical distances.

  • Verify that smaller subunits yield smaller numerical values when converted to base units before continuing downstream tree calculations.

Lock it in

Similar question

01

Two bacterial strains have a pairwise genetic distance of D(A,B)=0.084D(A, B) = 0.084. Under UPGMA, at what branch height will these two strains cluster, and what is the branch length leading from the ancestral node to strain AA?

Answer

Branch height h=0.042h = 0.042; branch length to AA is 0.0420.042. Key step: h=D(A,B)2=0.0842=0.042h = \frac{D(A, B)}{2} = \frac{0.084}{2} = 0.042. Since leaf AA starts at height 00, the branch length is 0.042−0=0.0420.042 - 0 = 0.042.

02

A distance matrix gives pairwise distances between three taxa: D(A,B)=0.18D(A, B) = 0.18, D(A,C)=0.50D(A, C) = 0.50, and D(B,C)=0.46D(B, C) = 0.46. Identify the first cluster formed by UPGMA, its node height, and the updated distance between this new cluster (A,B)(A, B) and taxon CC.

Answer

First cluster is (A,B)(A, B) at height h=0.09h = 0.09; updated distance D((A,B),C)=0.48D((A, B), C) = 0.48. Key steps: (1) Minimum distance is D(A,B)=0.18D(A, B) = 0.18, so height is 0.182=0.09\frac{0.18}{2} = 0.09. (2) Using arithmetic mean, D((A,B),C)=D(A,C)+D(B,C)2=0.50+0.462=0.48D((A, B), C) = \frac{D(A, C) + D(B, C)}{2} = \frac{0.50 + 0.46}{2} = 0.48.

03

In a four-taxon UPGMA tree, taxa AA and BB cluster first at height h1=0.05h_1 = 0.05. In the next step, the cluster (A,B)(A, B) joins taxon CC with an average distance D((A,B),C)=0.22D((A, B), C) = 0.22. What is the height of the node joining (A,B)(A, B) and CC, and what is the length of the internal branch connecting the (A,B)(A, B) ancestral node to this higher node?

Answer

Node height h2=0.11h_2 = 0.11; internal branch length =0.06= 0.06. Key steps: (1) Node height h2=D((A,B),C)2=0.222=0.11h_2 = \frac{D((A, B), C)}{2} = \frac{0.22}{2} = 0.11. (2) The internal branch extends from h1=0.05h_1 = 0.05 to h2=0.11h_2 = 0.11, so its length is h2−h1=0.11−0.05=0.06h_2 - h_1 = 0.11 - 0.05 = 0.06.

Loading workspace…