The statement that human and chimpanzee genomes are \(98\%\) identical is among the most widely
cited quantities in biology. This subsection measures what fixes it.
The comparison used here is the complete mitochondrial genome of Homo sapiens
(NC_012920, \(16\,569\) bp) against that of Pan troglodytes (NC_001643, \(16\,554\) bp). The mitochondrial
genome is used because it is short enough to align exhaustively under many parameter settings;
the structure of the argument does not depend on that choice.
669.0.1 What is counted
A global alignment under standard parameters (\(+1/-1\), gap open \(-2\), gap extend \(-0.5\)) gives
The gap columns number \(1187\) and the indel events \(31\). Counting substitutions per base and
insertions–deletions per event — the usual convention — moves the figure by \(6.7\) percentage
points. Nothing in the sequences specifies which unit to use.
669.0.2 The parameter grid
Enumerating \(252\) distinct alignments over match, mismatch, gap-open and gap-extend values in
normal use, each evaluated under five denominators:
With a gap penalty this low the aligner discharges every mismatch into a gap; no
substitution remains. The ungapped denominator then excludes exactly those columns, and
what is left is entirely matched. The alignment is optimal for the scoring scheme given, and the
denominator is one in common use.
669.0.3 The window
The full alignment is not what is usually reported. Identity is commonly quoted over
alignable regions, which requires choosing a window. Scanning:
At \(W = 50\) the lowest window is
\(70\%\) and \(787\) windows are at \(100\%\). At \(W = 4\) both extremes occur. The lower bound is a property
of the window length, not of the sequences: it rises monotonically from \(0\) at \(W=4\) to \(91.41\) at
\(W = 16\,000\).
669.0.4 The correspondence
Every figure above presupposes the global alignment, which fixed which position in
one genome corresponds to which in the other. Removing that presupposition —
cutting both genomes into fragments and aligning arbitrary pairs:
Fragments drawn
from unrelated positions align at a median of \(70\)–\(73\%\), and \(100\)-bp fragments reach \(100\%\). Which
fragment corresponds to which is not given by the sequences; it is the output of the
global alignment, and that alignment is what the identity is subsequently computed
from.
669.0.5 Inversion
Combining the three — parameter grid, window selection, fragment correspondence — every
target value is attainable:
Every value from \(0\) to \(100\) in steps of five is reached, with residual error
below \(0.05\) except at \(5\), \(10\), \(15\), \(30\), \(35\) and \(45\), where the granularity of short windows leaves gaps of a few
points.
Each restriction is defensible and each is a convention:
\[ \begin {array}{ll} \text {use the whole genome} & \text {removes window selection} \\ \text {use windows of at least } 500 & \text {removes short-window extremes} \\ \text {use the global alignment} & \text {removes fragment re-pairing} \\ \text {exclude gaps from the denominator} & \text {fixes the denominator} \\ \text {count indels as events} & \text {fixes the unit} \\ \text {mask repeats} & \text {removes low-identity regions} \\ \end {array} \]
None follows from the sequences.
Each answers the question of what shall count as a comparison, and that question is prior to
the comparison.
With the first three fixed, \(22.19\) points remain. With the denominator also fixed to ungapped
columns, \(8.67\) points remain across \(252\) alignments, and this does not narrow further when the
match and mismatch scores are fixed as well: the residual is entirely due to the gap
penalty.
669.0.7 The sequences are themselves products
NC_012920 is the revised Cambridge Reference Sequence. The original Anderson sequence of \(1981\)
was re-sequenced and corrected at eleven positions in \(1999\); position \(3107\) carries a placeholder retained
to preserve the historical numbering. It is a reference, and other human mitochondrial
sequences are reported as differences from it.
Four stages therefore precede the distance: base calling, assembly, selection of a
reference, and revision of that reference. Each carries the thresholds of §702 and
§640.1.
\[ \begin {array}{ll} \text {observed} & 1347 \text { substitutions and } 1187 \text { gap columns in one alignment} \\[4pt] \text {fixed by convention} & \text {unit: base or event} \Rightarrow 6.7 \text { points} \\ & \text {denominator} \Rightarrow 77.81\text {--}100.00 \\ & \text {window length} \Rightarrow \text {lower bound } 0 \text { to } 91.41 \\ & \text {correspondence} \Rightarrow \text {median } 70\text {--}73\% \text { for arbitrary pairs} \\[4pt] \text {consequence} & \text {every value in } [0,100] \text { is attainable under standard practice} \\ \end {array} \]
The figure \(98\%\) is not a measurement of two genomes. It is the value that results when the
whole genome is aligned globally, gaps are excluded from the denominator, indels are counted
as events, repeats are masked, and only alignable regions are retained. Each of those five
decisions has a reason. None of the reasons is in the sequences.
Figure 869: Human (NC_012920) against chimpanzee (NC_001643) mitochondrial
genome. All panels derive from a single global alignment of length \(17\,155\) with \(15\,968\) comparable
positions, whose overall identity is \(91.56\%\). (a) Identity as a function of window size. At \(W = 16\,000\) the
values span \(91.41\)–\(91.73\%\), a range of \(0.31\) percentage points; at \(W = 4\) they span \(0\)–\(100\%\). The median rises from \(90\%\) at \(W=10\) to
\(100\%\) at \(W \leq 8\) and settles at \(91.5\%\) for \(W \geq 200\). The dotted line marks the \(50\) bp window in conventional use, whose
minimum of \(70.00\%\) is a property of that window size and not of the sequences. (b) Distributions
at six window sizes. The standard deviation falls monotonically from \(14.00\) percentage points
at \(W=4\) to \(0.09\) at \(W=16\,000\). At \(W=4\), \(11\,251\) of \(15\,975\) windows are at exactly \(100\%\) and two are at exactly \(0\%\). (c) Identity between
arbitrarily paired fragments, in which no positional correspondence is assumed and each
pair is aligned independently. At \(L=100\), \(99.0\%\) of the \(3025\) pairs fall below the whole-alignment value; at
\(L=300\) and \(L=1000\), all of them do. The median at \(L=1000\) is \(73.06\%\) against \(91.56\%\) for the aligned genome. (d) Inverting
the procedure: for each target from \(0\) to \(100\%\) in steps of \(5\), the closest achievable value using
a whole-genome parameter setting, a window, or a fragment pair. Thirteen of \(21\) targets
are met exactly; the median absolute error is \(0.00\) and the maximum \(10.0\) percentage points, the
latter occurring only below \(15\%\) where the \(W=4\) grid is coarse. Nineteen of the \(21\) are reached by
a window. (e) The range available under each constraint. Fixing the whole genome and
varying only the alignment parameters gives \(77.81\)–\(100\%\); admitting windows of \(500\) bp and above gives
\(85.83\)–\(97.59\%\); admitting all window sizes gives \(0\)–\(100\%\); re-choosing the correspondence between fragments
gives \(52.13\)–\(100\%\). Each relaxation is standard practice. (f) The same alignment profiled at three
window sizes. The position of the minimum moves with the window — \(16\,221\) at \(W=50\), \(15\,840\) at \(W=500\), \(12\,070\) at \(W=5000\) —
and the fraction of the genome below \(85\%\) identity is \(9.1\%\), \(0\%\) and \(0\%\) respectively.
The “genome comparison” functor is not a function.
Consider the claimed map:
\[ F: (\text {sequence pair}) \to [0,100]\% \]
\(F\) is not a function. Given the same input (human, chimpanzee):
Same input, different output — \(F\) fails to be a function.
The reason: \(F\) depends on hidden parameters (alignment settings, window size, denominator
choice, etc.) that are not part of the declared input. The true map is:
The parameters are not
in the data. They are observer choices.
\[ {\footnotesize \boxed {F \text { is not a function} \;\Longrightarrow \; F(\text {H,C}) = x\% \text { carries no determinate meaning without specifying parameters.}}} \]
669.1 Assembly
§640.1 traced the chain from ionic current to a string of characters. The chain does not end
there. Reads are shorter than genomes, so the genome is assembled, and the assembly is the
output of an algorithm with parameters.
669.1.1 The test case
Bacteriophage \(\lambda \) (NC_001416, \(48\,502\) bp) provides a case in which the correct answer is
known independently. Four thousand reads were simulated from it at mean length
\(800\) bp, giving \(65.8\times \) coverage, with a \(5\%\) per-base error rate in the proportions characteristic
of nanopore data: \(60\%\) substitutions, \(20\%\) deletions, \(20\%\) insertions, and half the reads reverse
complemented.
A de Bruijn assembler was implemented directly: \(k\)-mers are counted in canonical form, those
below a coverage threshold discarded, a graph built on \((k-1)\)-mers, tips optionally trimmed, bubbles
optionally popped, and maximal non-branching paths emitted as contigs. Four parameters were
varied:
Every target from a single contig to ten thousand, from \(\mathrm {N}50 = 460\) to \(47\,896\), from a tenth of the genome to \(178\)
times it, is reached from the same reads. No new algorithm was needed; the standard
parameters suffice.
669.1.4 The statistics disagree about which assembly is best
The first four criteria agree, and all four select an assembly twice the size of the genome.
Every \(k\)-mer in that assembly is present in the true sequence — accuracy \(1.000\) — yet the assembly
contains the genome roughly twice over, in two contigs of \(\sim \!47.8\) kb.
The fifth criterion, that the assembly should be the size of the genome, selects a different
setting entirely, with \(\mathrm {N}50 = 37\) bp, \(1196\) contigs, and accuracy \(0.777\). Its \(\mathrm {N}50\) is \(1294\) times smaller.
An assembly can be internally perfect — no sequence not in the genome — and still not be
the genome. The quantity that would detect this, total assembled length, is not among the
statistics conventionally reported.
669.1.5 What the parameters do
The \(k\)-mer size determines which repeats are collapsed: shorter \(k\) merges distinct loci sharing a
\(k\)-mer, longer \(k\) fragments the graph where coverage is sparse. The coverage threshold determines
which observations are errors: \(\texttt {min\_cov}=1\) retains every \(k\)-mer seen once, including the roughly \(5\%\) that are
error products, giving \(161\times \) the genome; \(\texttt {min\_cov} =8\) discards genuine low-coverage regions with them. Tip
trimming and bubble popping remove structures on the assumption that they are artefacts of
error rather than features of the sequence.
None of these choices is between a correct and an incorrect procedure. Each is a threshold
applied to distinguish signal from error, and the distinction is what the assembly is being made
to establish.