680 The Chain: Biology

Every biological quantity examined in this work is produced by the same sequence of operations. Written out:

  ionic current through one nanopore                       [continuous]
        |
        |  ADC                    int16, 409 of 65536 codes occupied
        |                         |dADC|=0 for 2.46% of consecutive samples
        v
  98848 integer samples at 4000 Hz
        |
        |  x range/digitisation   I = (ADC + 5.0) x 1506.22/8192.0
        |                         three constants read from the file itself
        v
  current in picoamperes
        |
        |  event detection        22206 events at 0.5 MAD, 7 at 3.0, 0 at 4.0
        |  segmentation           7 to 12104 segments -- the read length
        v
  "events" -- an upper bound on the number of bases
        |
        |  k-mer model            trained on sequences taken as known
        |  transition decoding    homopolymer length not encoded in the level
        |  alphabet               |Sigma| = 4 by convention
        |                         5mC, 5hmC, 6mA, 8-oxoG, U written as C, A, G, T
        v
  characters over {A,C,G,T}
        |
        |  Phred score            Q = -10 log10 P, P from the model itself
        |                         ceiling 25 (Guppy) or 93 (ASCII '~')
        |  quality cut            Q>=10 retains 49.1% of reads
        |                         GC content shifts 36.37% -> 28.25%  (8.1 pp)
        v
  retained reads
        |
        |  assembly               k chosen from {21,...,127} to maximise N50
        |                         repeats longer than a read are underdetermined
        |  reference              GRCh38 is a mosaic; 2579 human assemblies exist
        |  alignment              gap penalties; one indel, three placements
        v
  coordinates and variants
        |
        |  functor                F_size, F_rank, F_z, F_binary, F_PC1-10
        |                         same arrays: ARI 0.182 to 0.399 vs named stages
        |                         82% of cluster boundaries not shared
        v
  "developmental stage", "sex", "species"
        |
                                                                                      
                                                                                      
        |  category               gamete ratio 1.0 to 6.5e4, no gap at the cut
        |                         dip p = 0.904; power 3% at 1 dex
        |                         BIC selects k = 3, not 2
        |                         17 sex-determining loci: 2 on Y, 13 autosomal
        v
  reported classification
        |
        |_______________ becomes the training set for the next base caller,
                         the reference for the next assembly,
                         the named stage the next clustering is scored against

One arrow in this diagram is continuous. Every arrow below it requires a constant read from a file, a threshold with no value distinguished by the record, a model trained on the output of an earlier pass, or a functor whose kernel contains the thing being claimed.

The last line closes it. Base-calling models are trained against reference sequences produced by earlier base callers; assemblies are validated against assemblies; the stage labels that a clustering is scored against were assigned by investigators reading the same arrays. What is measured at the bottom is a sequence of integers; what is reported at the top is a category; and the category is what the next measurement will be calibrated to reproduce.

680.1 Sequence Similarity as Common Descent

Shared sequence between species is standardly read as evidence of common descent. The inference has three steps: a similarity is observed, it is classified as homology, and homology is explained by descent. This subsection concerns the first step, and finds that it is not an observation.

680.1.1 The genetic code is a choice of table

A protein sequence is not read from DNA. It is obtained by applying a codon table, and NCBI maintains twenty-five:

\[ \begin {array}{rlrr} \text {id} & \text {name} & \text {stops} & \text {starts} \\ \hline 1 & \text {Standard} & 3 & 3 \\ 2 & \text {Vertebrate Mitochondrial} & 4 & 5 \\ 3 & \text {Yeast Mitochondrial} & 2 & 3 \\ 6 & \text {Ciliate Nuclear} & 1 & 1 \\ 10 & \text {Euplotid Nuclear} & 2 & 1 \\ 11 & \text {Bacterial} & 3 & 7 \\ 22 & \textit {Scenedesmus obliquus}\ \text {Mitochondrial} & 3 & 1 \\ 27 & \text {Karyorelict Nuclear} & 1 & 1 \\ 31 & \textit {Blastocrithidia}\ \text {Nuclear} & 2 & 1 \\ \end {array} \]
(nine of twenty-five shown).

Thirteen codons receive different assignments across the tables:

\[ \begin {array}{lccl} \text {codon} & \text {standard} & \text {tables differing} & \text {alternatives} \\ \hline \mathrm {TGA} & \text {stop} & 15 & \mathrm {C}\ (10),\ \mathrm {W}\ (13,14,21,24) \\ \mathrm {AGA} & \mathrm {R} & 8 & \mathrm {G}\ (13),\ \mathrm {S}\ (14,21,24),\ \text {stop}\ (2) \\ \mathrm {AGG} & \mathrm {R} & 8 & \mathrm {G},\ \mathrm {S},\ \mathrm {K},\ \text {stop} \\ \mathrm {TAA} & \text {stop} & 8 & \mathrm {Y}\ (14,29),\ \mathrm {Q}\ (27,28),\ \mathrm {E}\ (30) \\ \mathrm {TAG} & \text {stop} & 8 & \mathrm {L}\ (16,22),\ \mathrm {Q}\ (27,28),\ \mathrm {Y}\ (29) \\ \mathrm {ATA} & \mathrm {I} & 5 & \mathrm {M}\ (2,3,5,13,21) \\ \mathrm {CTG} & \mathrm {L} & 3 & \mathrm {S}\ (12),\ \mathrm {A}\ (26),\ \mathrm {T}\ (3) \\ \mathrm {AAA} & \mathrm {K} & 3 & \mathrm {N}\ (9,14,21) \\ \mathrm {TCA} & \mathrm {S} & 1 & \text {stop}\ (22) \\ \mathrm {TTA} & \mathrm {L} & 1 & \text {stop}\ (23) \\ \end {array} \]

\(\mathrm {TGA}\) is a stop codon in the standard table, cysteine in Euplotes, and tryptophan in five mitochondrial systems. Fifteen of the twenty-five tables disagree with the standard on this codon alone. Which table applies is decided by taxonomic assignment — itself an outcome of homology inference.

680.1.2 The reading frame is a choice of six

Translating the human cytochrome \(c\) mRNA (NM_018947, \(5432\) nt) in all six frames:

\[ \begin {array}{lrrl} \text {frame} & \text {longest ORF [aa]} & \text {stops} & \text {first 30 residues} \\ \hline -1 & 199 & 89 & \texttt {IFSILRKLFFFLRRSFTIVAQAGVRWGGLG} \\ +1 & 128 & 90 & \texttt {REWGRPASERECSLCQRLKRELNMGDVEKG} \\ +2 & 108 & 104 & \texttt {DRYRNVFNLPSWLVVAFSLFFETWSRCVAK} \\ -3 & 95 & 95 & \texttt {VCPFFLLLNADKDHFCSRDVLLGILQILHQ} \\ -2 & 61 & 110 & \texttt {SQHFGEPRQVDGLLELRSLRPAWDHMAKLH} \\ +3 & 60 & 121 & \texttt {LWRLVCFLRHGHAVSPRLECSGAISAGCNL} \\ \end {array} \]

Six protein sequences from one molecule. The longest open reading frame is on the reverse strand and is not the annotated protein. The frame is selected by ORF length, start-codon context, or similarity to a known protein — the last of which presupposes the similarity being established.

680.1.3 Which amino acids count as similar

Alignment scores require a substitution matrix. Seven in common use disagree:

\[ \begin {array}{lrrrrrrr} \text {pair} & \text {B45} & \text {B62} & \text {B80} & \text {B90} & \text {P30} & \text {P70} & \text {P250} \\ \hline \mathrm {I/V} & 3 & 3 & 4 & 3 & 2 & 3 & 4 \\ \mathrm {K/R} & 3 & 2 & 3 & 2 & \mathbf {0} & 2 & 3 \\ \mathrm {D/E} & 2 & 2 & 2 & 1 & 2 & 3 & 3 \\ \mathrm {F/Y} & 3 & 3 & 4 & 3 & 2 & 4 & 7 \\ \mathrm {S/T} & 2 & 1 & 2 & 1 & \mathbf {0} & 2 & 1 \\ \mathrm {A/S} & 1 & 1 & 2 & 1 & \mathbf {0} & 1 & 1 \\ \mathrm {W/C} & -5 & -2 & -5 & -4 & -15 & -11 & -8 \\ \mathrm {G/P} & -2 & -2 & -5 & -3 & -6 & -3 & 0 \\ \end {array} \]
Three pairs — \(\mathrm {K/R}\), \(\mathrm {S/T}\), \(\mathrm {A/S}\) — are scored positive by six matrices and zero by PAM30, changing whether they count as similar. \(\mathrm {F/Y}\) is scored \(2\) by PAM30 and \(7\) by PAM250, a factor of \(3.5\) on the same substitution.
680.1.4 The matrix is built from the judgement it is used to make

BLOSUM62 is constructed as follows. The BLOCKS database supplies aligned protein blocks already judged homologous. Sequences within a block that are more than \(62\%\) identical are collapsed to one, and substitution frequencies are counted among the remainder and converted to log-odds. The resulting matrix is then used to judge whether new sequences are homologous.

The criterion for homology is derived from previously accepted homologies. The number \(62\) is a clustering threshold, and \(45\), \(80\) and \(90\) are distributed alongside.

Styczynski et al. (2008) reported that the program used to compute the original BLOSUM matrices contained an error in the clustering step, so that the published matrices do not implement the described procedure. Corrected matrices performed worse in database search than the erroneous originals, and the originals remain the standard.

680.1.5 Position correspondence is inferred, not observed

Aligning human and yeast cytochrome \(c\) under BLOSUM62 with gap penalties \((-10, -0.5)\) returns a unique optimal alignment at score \(355.0\). The uniqueness is a property of this pair at these parameters; the correspondence between residue \(i\) of one sequence and residue \(j\) of the other is the argmax of a scoring function, not a measurement.

680.1.6 What counts as identical

Given the single optimal alignment, the reported percentage depends on the definition:

\[ \begin {array}{lr} \text {definition} & \text {value} \\ \hline \text {BLOSUM62} \geq 0 & 83.65\% \\ \text {BLOSUM62} > 0 & 76.92\% \\ \text {same physicochemical group} & 76.92\% \\ \text {exact match / aligned columns} & 64.42\% \\ \text {exact match / shorter sequence} & 63.81\% \\ \text {exact match / longer sequence} & 61.47\% \\ \text {exact match / alignment length incl.\ gaps} & 60.91\% \\ \end {array} \]
The same alignment yields \(60.91\%\) to \(83.65\%\), a factor of \(1.37\). The statement “human and yeast cytochrome \(c\) are \(N\%\) identical” requires selecting one row.
680.1.7 The chain
\[ \begin {array}{lll} \text {stage} & \text {output} & \text {choice required} \\ \hline \text {fluorescence or current} & \text {base characters} & \text {base-calling model} \\ \text {base characters} & \text {codons} & \text {reading frame: 6} \\ \text {codons} & \text {amino acids} & \text {codon table: 25} \\ \text {amino acid strings} & \text {position correspondence} & \text {matrix: 7; gap penalties} \\ \text {correspondence} & \text {count of matches} & \text {identity definition: 7} \\ \text {count} & \text {similarity \%} & \text {denominator} \\ \hline \text {similarity} & \text {homology} & \text {threshold; exclusion of convergence} \\ \text {homology} & \text {common descent} & \text {parsimony or likelihood model} \\ \end {array} \]

The horizontal rule separates the construction of the similarity figure from the inference drawn about it. The literature on that inference concerns the lines below the rule. The lines above involve, for a single protein pair, \(6 \times 25 \times 7 \times 7 = 7350\) combinations of choices, before any question of descent arises.

680.1.8 What is not claimed

The observed similarity between human and yeast cytochrome \(c\) is not attributable to chance under any of these settings, and nothing above disputes that. The point concerns the status of the number rather than its magnitude: “\(64\%\) identical” is the output of a six-stage construction in which each stage admits alternatives, and two of those stages — the codon table and the substitution matrix — take their values from prior homology assignments.

The codon table is selected by taxon, and the taxon by earlier homology inference. The substitution matrix is estimated from alignments already accepted as homologous. The quantity offered as evidence for common descent is computed using two inputs that presuppose it.

680.2 The Substitution Matrix

Sequence comparison requires a score for every pair of amino acids. This subsection examines where those scores come from, using the matrices distributed by NCBI.

680.2.1 The distributed matrices

The NCBI matrix directory contains \(70\) files: \(16\) BLOSUM variants (\(30\) to \(100\), plus BLOSUMN), \(46\) PAM variants (\(10\) to \(500\) in steps of \(10\)), DAYHOFF, GONNET, IDENTITY and MATCH. Any of the \(70\) can be supplied to a search; BLOSUM62 is the default.

The header of BLOSUM62 states its provenance:

Matrix made by matblas from blosum62.iij
BLOSUM Clustered Scoring Matrix in 1/2 Bit Units
Blocks Database = /data/blocks_5.0/blocks.dat
Cluster Percentage: >= 62
Entropy = 0.6979, Expected = -0.5209

Three choices are recorded in five lines: the source alignment database (BLOCKS 5.0), the clustering threshold (\(62\%\)), and the unit (\(\tfrac {1}{2}\) bit).

680.2.2 The scores are rounded log-odds

The entries are

\[ s_{ij} = \mathrm {round}\!\left (\frac {1}{\lambda } \log _2 \frac {p_{ij}}{q_i q_j}\right ), \qquad \lambda = \tfrac {1}{2}, \]
where \(p_{ij}\) is the observed pair frequency in clustered BLOCKS alignments and \(q_i\) the background frequency. Inverting with the published background frequencies recovers a normalised joint distribution, \(\sum p_{ij} = 1.000000\), and re-rounding reproduces all \(400\) cells exactly.

The continuous values lie a mean of \(0.108\) units from the integers. One score unit is a likelihood ratio of \(2^{1/2} = 1.414\); the rounding therefore discards up to a factor of \(1.19\) in the odds. The distributed matrix takes \(15\) distinct integer values over the range \(-4\) to \(+11\):

\[ \begin {array}{rrrrrrrrrrrrrrr} s & -4 & -3 & -2 & -1 & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 \\ n & 8 & 44 & 47 & 45 & 25 & 12 & 7 & 2 & 5 & 6 & 4 & 2 & 1 & 1 \\ \end {array} \]
with a single cell at \(+11\) (tryptophan against itself). A \(400\)-cell real matrix is delivered as a \(15\)-level integer lattice.
680.2.3 The threshold 62 is one of sixteen

Comparing the BLOSUM family to BLOSUM62:

\[ \begin {array}{lrrl} \text {matrix} & \text {diagonal mean} & \text {off-diagonal mean} & \text {mean } |s - s^{62}| \\ \hline \text {BLOSUM60} & 5.55 & -1.36 & 0.09 \\ \text {BLOSUM62} & 5.80 & -1.43 & 0 \\ \text {BLOSUM65} & 5.95 & -1.52 & 0.13 \\ \text {BLOSUM70} & 6.00 & -1.72 & 0.30 \\ \text {BLOSUM45} & 7.05 & -1.34 & 0.45 \\ \text {BLOSUM50} & 7.50 & -1.61 & 0.50 \\ \text {BLOSUM90} & 6.70 & -2.32 & 0.90 \\ \text {BLOSUM30} & 8.30 & -1.16 & 1.18 \\ \text {BLOSUM80} & 9.35 & -2.94 & 1.83 \\ \text {BLOSUM100} & 10.60 & -4.14 & 2.98 \\ \end {array} \]
The clustering threshold sets how divergent two sequences may be before they are merged into one observation. The sixteen matrices are sixteen answers to a question the data do not answer, and BLOSUM62 became the default because it performed well on alignment benchmarks — benchmarks whose reference alignments were themselves produced with substitution matrices.
680.2.4 The distributed matrix is not the output of its own algorithm

Styczynski, Jensen, Rigoutsos and Stephanopoulos (Nature Biotechnology 26:274, 2008) traced the BLOSUM source programs and found an error in the clustering step. The consequence is that the matrix in universal use is not what the published algorithm produces.

The authors corrected the error and recomputed the family as RBLOSUM. The corrected matrices performed worse on standard alignment benchmarks than the erroneous originals, and the originals remain the distributed standard.

The situation is not that a mistake went undetected. It is that the mistake was detected, corrected, evaluated, and rejected — because the criterion of evaluation is benchmark performance, and the benchmark prefers the error. The matrix is selected by its output, not by its derivation.

680.2.5 The chain is closed
\[ \begin {array}{ll} p_{ij} & \leftarrow \text {clustered BLOCKS alignments} \\ \text {BLOCKS} & \leftarrow \text {multiple alignments of protein families} \\ \text {those alignments} & \leftarrow \text {an earlier substitution matrix} \\ \text {the choice among } 70 & \leftarrow \text {benchmark performance} \\ \text {the benchmark} & \leftarrow \text {reference alignments} \\ \text {reference alignments} & \leftarrow \text {substitution matrices} \\ \end {array} \]

A matrix of amino-acid similarity is derived from alignments, and alignments are produced using a matrix of amino-acid similarity. The clustering threshold that resolves the circularity — treat sequences above \(62\%\) identity as one observation — is itself stated in terms of an identity computed from an alignment.

680.2.6 Effect on a reported identity

Aligning human haemoglobin \(\alpha \) (NP_000549.1, \(142\) aa) against haemoglobin \(\beta \) (NP_000509.1, \(147\) aa) under all sixteen BLOSUM matrices and four gap-penalty settings, \(64\) combinations in total:

\[ \begin {array}{lrrr} & \text {score} & \text {identity} & \text {alignment length} \\ \hline \text {minimum} & 257.0 & 46.25\% & 80 \\ \text {maximum} & 513.0 & 48.75\% & 80 \\ \end {array} \]

The reported percentage identity takes two values, \(46.25\%\) and \(48.75\%\), depending on the combination: a spread of \(2.5\) percentage points, or two residue positions in an \(80\)-column alignment. The raw score spans a factor of \(2.0\), which is expected since the matrices are on different scales, but the identity is the quantity that is published.

Under the gap setting \(-14/-2\) the alignment loses two identities relative to \(-6/-0.5\) in eleven of sixteen matrices; under \(-10/-0.5\) it does not. The placement of two residues, and therefore the reported similarity of two proteins, is set by a penalty parameter.

\[ \begin {array}{ll} \text {distributed matrices} & 70 \ \text {at NCBI}; \ 16 \ \text {BLOSUM}, \ 46 \ \text {PAM} \\ \text {scores} & \text {rounded log-odds; } 15 \ \text {levels over } [-4,+11] \\ & \text {rounding discards up to a factor } 1.19 \ \text {in odds} \\ \text {threshold} & 62\%, \ \text {one of sixteen; chosen by benchmark} \\ \text {provenance} & \text {the distributed matrix is a documented programming error} \\ & \text {the corrected version performs worse and is not used} \\ \text {effect} & \text {one protein pair, } 64 \ \text {settings:} \ 46.25\text {--}48.75\% \\ \end {array} \]

The similarity of two protein sequences is a number produced by a matrix that was derived from alignments, selected against benchmarks made with alignments, and retained in a form its own authors identified as erroneous because the erroneous form scores better on those benchmarks. The chain has no term outside itself.