631 Sequencing— Part 3

A sequence is an argmax over a fluorescence vector, taken at positions chosen by a spacing rule, labelled by a string stored in the file header. Each of those three is a declaration. This subsection varies them on released instrument data: three ABI .ab1 traces containing the raw four-channel fluorescence, and three Illumina runs on two-channel and four-channel chemistries.

631.0.1 The dye order is a string

An ABIF file records which dye corresponds to which base in a four-character field, FWO_. Permuting it and re-calling from the same photons:

File bases best permutation worst permutation
3730.ab1 \(1165\) GATC \(98.63\%\) TGCA \(0.09\%\)
3100.ab1 \(795\) GATC \(97.23\%\) ACGT \(0.75\%\)
310.ab1 \(868\) GATC \(67.05\%\) CTGA \(0.12\%\)

Twenty-four orderings are readable from one unchanged trace, and agreement with the released sequence runs from \(98.63\%\) to \(0.09\%\). Nothing in the fluorescence selects among them; the selection is four characters of metadata.

631.0.2 How many bases, and where

The peak-picking rule carries a minimum-spacing parameter, and the dye mobility correction carries a per-channel offset. Neither is measured:

bases called
calls changed
3100 3730 3100 3730
vendor \(795\) \(1165\) — —
spacing \(\ge 10\) \(528\) \(1006\) \(-33.6\%\) \(-13.6\%\)
spacing \(\ge 16\) \(313\) \(604\) \(-60.6\%\) \(-48.2\%\)
mobility shift \(3\) — — \(6.92\%\) \(2.15\%\)
mobility shift \(8\) — — \(49.06\%\) \(46.18\%\)

The length of the sequence varies by a factor of two across the spacing range, and a per-dye offset of eight samples changes roughly half the letters. By contrast the crosstalk-unmixing matrix, swept from zero to twice the measured inter-channel correlation, changes at most \(0.43\) percentage points: that correction is a weak lever, and the strong ones are the two above.

631.0.3 Four is not selected by the measurement

Recoding the continuous four-vector into \(K\) clusters and asking how much of the released four-letter call is then determined:

\(K\) 3730 3100 310
\(2\) \(36.43\%\) \(38.15\%\) \(26.02\%\)
\(3\) \(72.96\%\) \(61.58\%\) \(40.05\%\)
\(4\) \(93.91\%\) \(89.64\%\) \(57.08\%\)
\(8\) \(96.01\%\) \(92.08\%\) \(55.87\%\)
\(16\) \(98.31\%\) \(93.34\%\) \(60.28\%\)

Three symbols recover \(73\%\) of the four-letter call and sixteen recover \(98.3\%\). The alphabet is neither forced from below nor closed from above by the measurement; four is a fact about nucleotides, imposed on a signal that does not require it.

Quantifying the imposition directly: the differential entropy of the normalised four-vector, at \(64\) bins per channel, against the \(2\) bits a base call retains:

File available retained discarded
3730.ab1 \(7.594\) \(2.000\) \(73.7\%\)
3100.ab1 \(13.163\) \(2.000\) \(84.8\%\)
310.ab1 \(17.606\) \(2.000\) \(88.6\%\)

in bits per base. Between three quarters and seven eighths of the recorded fluorescence is removed by the act of writing a letter.

631.0.4 The thresholds already inside the file

A FASTQ carries a quality value per base, which is itself a threshold output, and a read length, which is where a trimmer stopped. Varying both on three released runs:

Run operation bases kept \(A\) \(T\)
ERR10015426 untrimmed (\(81\) cyc.) \(100\%\) \(25.63\%\) \(22.47\%\)
first \(20\) cycles \(25\%\) \(23.43\%\) \(24.08\%\)
ERR10008291 \(Q \ge 0\) \(100\%\)
\(C = 33.35\%\)
\(Q \ge 35\) \(71.86\%\)
\(C = 34.13\%\)

Trimming a read to its first quarter moves \(A\) down by \(2.2\) and \(T\) up by \(1.6\) percentage points; a quality cutoff of \(35\) discards \(28\%\) of the bases and shifts the surviving composition. Half the reads in ERR10008291 are already shorter than the median length, so a trimming decision has been taken before the file reached the archive.

631.0.5 The constellation decides which letter a failure becomes

Re-encoding the released letters through three constellations at identical noise, on all three runs:

ERR10000866
ERR10008291
ERR10015426
Constellation error to \(G\) error to \(G\) error to\(G\)
Illumina 2-ch (\(G\) at origin) \(14.73\%\) \(4.78\%\) \(14.69\%\) \(5.42\%\) \(14.69\%\) \(4.83\%\)
2-ch simplex (no origin) \(4.28\%\) \(1.38\%\) \(4.29\%\) \(1.61\%\) \(4.30\%\) \(1.40\%\)
1-ch PAM-4 (no colour) \(32.30\%\) \(14.06\%\) \(37.05\%\) \(16.13\%\) \(33.80\%\) \(14.22\%\)

The deployed two-channel assignment carries \(3.4\) times the error rate of an optimal arrangement of the same two detectors, and mis-calls to \(G\) at \(3.4\) times the rate, reproducibly across three runs on three instruments. The excess is not chemistry. It is the decision to place one letter at the origin, where the absence of signal lies.

Measured on the submitted, unaligned BAM for the two-channel run, separating the two mates:

poly-\(G\) (\(\ge 25/30\)) \(G\) / max other mean tail \(Q\) poly-\(G\) tail \(Q\)
read 1, 2-channel \(0.0157\%\) \(0.67\) \(31.74\) \(19.31\)
read 2, 2-channel \(0.0427\%\) \(1.04\) \(27.80\) \(15.11\)
4-channel (HiSeq 2500) \(0.0000\%\) \(0.00\) — (none)

On the second, lower-quality mate of the two-channel run, \(G\) becomes the most frequent homopolymer tail. On the four-channel instrument, at the same threshold, there are no \(G\) homopolymer tails at all, while poly-\(T\) occurs at \(1.34\%\). The letter a failing read produces is fixed by the code, not by the molecule.

pict

631.1 The sequence is not in the fluorescence

An ABI file carries both the raw four-channel trace (DATA1–4) and the vendor-processed trace (DATA9–12), so the effect of the processing can be measured inside one unchanged file.

310 3100 3730
raw trace reproduces the released call \(17.63\%\) \(26.29\%\) \(27.30\%\)
processed trace reproduces it \(67.05\%\) \(97.23\%\) \(98.63\%\)
raw and processed disagree \(74.42\%\) \(74.21\%\) \(72.53\%\)
max \(|\)inter-channel correlation\(|\), raw \(0.926\) \(0.247\) \(0.238\)
after processing \(0.078\) \(0.254\) \(0.289\)

Chance agreement for a four-letter alphabet is \(25\%\). The raw fluorescence is at or below chance on all three instruments, and roughly three quarters of the bases differ between the raw and processed traces of the same run. On the 310 file the raw trace yields no \(C\) and no \(G\) at any position: two of the four channels are not separable at the detector, and their correlation with a third is \(0.926\). After processing that correlation is \(0.078\).

The four channels are therefore not four measurements. They are one measurement resolved into four by a linear map, and on the 310 file that map is recorded in the MTRX tag:

\[ \begin {pmatrix} +1.094 & -0.167 & +0.012 & +0.003\\ -0.629 & +1.137 & -0.096 & -0.018\\ -0.078 & -0.417 & +1.107 & -0.161\\ +0.036 & +0.016 & -0.445 & +1.070 \end {pmatrix} \]
with off-diagonal terms reaching \(-0.629\): a subtraction of \(63\%\) of one channel from another.

On the other two files the matrix is absent. What is recorded is its file name.

Tag Value on 3730.ab1 Present in the file
MTXF Seq E 260100.mtx name only
PDMF KB_3730_POP7_BDTv3.mob name only
SPAC (config) KB.bcp name only
SPAC (value) \(14.2016\) yes
DySN Z-BigDyeV3 name only

Reproducing the released sequence from the released measurement requires three external files — an unmixing matrix, a mobility correction and a basecaller configuration — none of which is distributed with the data. The file records that they were used, and what they were called.

Data and source availability

All measurements in §631 were made on released instrument files. No data were simulated except where explicitly stated.

Sanger traces

Three ABI .ab1 files from the Biopython test corpus, one from each of three instrument generations. Each file carries the raw four-channel fluorescence (DATA1–4), the vendor-processed trace (DATA9–12), the released base call (PBAS1), the peak positions (PLOC1), and the declared processing parameters.

File MODL samples peaks SPAC
310.ab1 310 \(9\,826\) \(868\) \(13.84\)
3100.ab1 3100 \(10\,303\) \(795\) \(11.5931\)
3730.ab1 3730 \(16\,302\) \(1\,165\) \(14.2016\)

File SMPL CTID / LANE
310.ab1 D11F lane \(15\)
3100.ab1 16S_S2_1387R Plate-1_Sequencing, lane \(4\)
3730.ab1 226032_C-ME-18_pCAGseqF Run4582, lane \(77\)

Reported signal-to-noise per channel (S/N%) is \([93,\,134,\,134,\,52]\) for 310, \([1142,\,579,\,708,\,704]\) for 3100 and \([500,\,388,\,300,\,461]\) for 3730. The dye order (FWO_) is GATC in all three.

What the trace files reference but do not contain

Tag 310.ab1 3100.ab1 3730.ab1
unmixing matrix MTRX present name only name only
matrix file (MTXF) Seq E 260100.mtx — —
mobility (PDMF) DT310POP6{BD}.mob KB_3130_POP7_BDTv3.mob KB_3730_POP7_BDTv3.mob
basecaller (SPAC2) Basecaller-310POP6.bcp KB.bcp KB.bcp
dye set (DySN) — Z-BigDyeV3 Z-BigDyeV3

Only 310.ab1 contains the unmixing matrix itself. For the other two the file records the name of the matrix, the name of the mobility correction and the name of the basecaller configuration; none of the three files is distributed with the data. A secondary observation: 3100.ab1 reports MODL \(=\) 3100 while naming a mobility file for the 3130, so the correction applied is not the one the instrument field would imply.

Illumina runs

Three runs retrieved from the European Nucleotide Archive as gzipped FASTQ. Read counts below are the number parsed, capped at \(2\times 10^{5}\) records.

Accession reads used length GC note
ERR10000866 \(200\,000\) \(150\) \(45.03\%\) uniform length
ERR10008291 \(100\,164\) \(258\) \(66.48\%\) \(49.92\%\) of reads shorter than median
ERR10015426 \(200\,000\) \(81\) \(51.89\%\) uniform length

The second row is itself a result: half the reads in ERR10008291 are already below the median length, so a trimming decision was applied before the file reached the archive, and the parameter used is not recorded in it.

The poly-\(G\) comparison of §631 additionally used the submitted unaligned BAM for the two-channel run, with the two mates separated, against a four-channel HiSeq 2500 run at the same homopolymer threshold (\(\ge 25\) of the final \(30\) bases).

The ABIF parser is written directly against the format specification and reads the raw directory rather than using a library, so that every tag in the file is enumerated and none is silently reinterpreted. Colour computations use the CIE 1931 \(2^\circ \) colour-matching functions in the multi-lobe Gaussian parameterisation of Wyman, Sloan and Shirley (2013); dichromat simulation follows Brettel, Viénot and Mollon (1997) with the Hunt–Pointer–Estevez cone fundamentals; colour differences are CIEDE2000. Haematoxylin and eosin optical-density vectors are those of Ruifrok and Johnston (2001) as distributed in scikit-image. Illuminant A is generated as the \(2856\) K Planckian radiator by which it is defined.

Figures

File Content
fig_colour_cie.pdf CMFs, four concurrent CIE observers, metamerism, working spaces, CVD rank, visible band
fig_stain_virus.pdf Gram stain under four observers, decolourisation sweep, H&E, spike count vs. threshold, template from noise
core_subgraph.pdf cosmological dependency graph, greedy cuts
chem_dependency.pdf chemistry dependency graph, circular closures

Panels (e) and (f) of fig_stain_virus.pdf are the only synthetic data in this work: a modelled negative-stain virion with \(24\) radial spikes under Poisson noise, and \(2\,000\) independent Gaussian-noise images aligned to a template. Both are generated by the script above with a fixed seed.

SANGER  (capillary electrophoresis)          ILLUMINA  (sequencing by synthesis)
======================================       ======================================
one lane, one molecule population            millions of clusters in parallel
position along sequence = ELUTION TIME       position along sequence = CYCLE NUMBER

  fragments separated by SIZE                  flow cell imaged cycle by cycle
        |                                            |
  laser + spectrograph                         2 lasers / 2 filters (4-ch)
  one detector array, 4 spectral bins          or 2 images (2-ch), or 1 (iSeq)
        |                                            |
        v                                            v
  DATA1-4   RAW 4-channel trace   <-- IN FILE   TIF images        <-- NOT WRITTEN
        |                                       (RTA discards by default)
  [ unmixing matrix MTRX ]                             |
  [ mobility correction .mob ]                         v
  [ baseline / normalisation  ]                  CIF  per-cluster continuous
        |                                        4 (or 2) intensities per cycle
        v                                             |
  DATA9-12  PROCESSED trace       <-- IN FILE          |  <-- RTA 1.x ONLY
        |                                              |      NextSeq / NovaSeq
  [ peak spacing SPAC = 13.84 ]                        |      NEVER GENERATE IT
        |                                              |
        v                                              v
  PLOC1   peak positions          <-- IN FILE    BCL / CBCL   1 byte per cluster
        |                                          bits 0-1 = base (A0 C1 G2 T3)
  [ argmax over 4 channels ]                       bits 2-7 = quality
  [ FWO_ = "GATC" ]                                0x00     = no-call (N)
        |                                              |     <-- ALREADY A LETTER
        v                                              |     deleted after bcl2fastq
  PBAS1   ACGT + PCON1 quality    <-- IN FILE          |
                                                 [ .filter  chastity >= 0.6 ]
  EVERYTHING IS IN THE ONE FILE.                 [ demultiplex by index      ]
  The raw and the processed sit                        |
  side by side, and you can                            v
  measure the processing.                        FASTQ    <-- what the archive has

========================= THE THREE FLOORS =========================

 F1  PHOTON COUNTS            F2  ION CURRENT pA        F3  DETECTOR COUNTS
 fluorescence, CCD/CMOS       nanopore                  X-ray, cryo-EM, MS
      |                            |                          |
 Sanger  4 spectral bins      ONT   current time series   diffraction spots
 Illumina 4/2/1 images        pore + motor protein       electron events
 flow cytometry                    |                     ion arrivals
 all light microscopy              |                          |
      |                            |                          |
      v                            v                          v
  argmax over channels      neural net (Dorado)         peak integration
  + spacing rule            + k-mer current model        + phase MODEL
      |                            |                          |
      +----------------------------+--------------------------+
                                   |
                                   v
                    =================================
                      THE HUB:  THE REFERENCE
                      GRCh38 / T2T-CHM13 / a database
                    =================================
                                   |
      +----------------+-----------+-----------+----------------+
      |                |                       |                |
      v                v                       v                v
  alignment        basecaller             annotation        MS/MS search
  (needs ref)      TRAINING SET           (needs ref)       (translated ref)
      |            (needs ref)                 |                |
      v                |                       v                v
  variants             |                    "genes"          "proteins"
  = difference         |                       |                |
    from ref           |                    expression      structure
      |                |                    = reads per      (MR phases
      |                |                      interval        from prior PDB)
      |                |                       |                |
      +----------------+-----------------------+----------------+
                                   |
                                   v
                      every published biological claim


========================= WHERE THE LOOP CLOSES =========================

  basecaller(gen N)  <--trained on--  reference(gen N-1)
         |                                    ^
         | produces reads                     |
         v                                    | assembled from
  reference(gen N) -----------------------> reads(gen N)

  Phred Q = -10 log10 P(error)
     P(error) is CALIBRATED by aligning to a reference and
     counting mismatches.  So Q means:
        "probability this base disagrees with the reference"
     not
        "probability this base is wrong"


========================= WHAT BUILT THE HUB =========================

  1990-2003  Human Genome Project        SANGER, BAC clones
  2001       Celera                      SANGER, whole-genome shotgun
  2013       GRCh38                      Sanger backbone + Illumina patches
  2022       T2T-CHM13v2.0               PacBio HiFi + ONT ultralong
                                         + Illumina polish + Bionano + Hi-C

  CHM13 is a complete hydatidiform mole -- a non-viable conceptus,
  essentially one haplotype duplicated.  It was chosen BECAUSE it is
  homozygous, which is what made assembly tractable.
                                                                                      
                                                                                      

  GRCh38 chr22 is 22.94% N.   N = "something is here, we do not know what."


========================= THE UNITS UNDERNEATH =========================

  F1 photons        F2 pA              F3 counts
      |                 |                  |
  W, J <- h         A <- e/s           dimensionless, but
      |                 |              calibrated in metres
  h = 6.62607015e-34  e = 1.602176634e-19       |
  (DEFINED, 2019)     (DEFINED, 2019)      m <- c (DEFINED)
      |                 |                       |
      +-----------------+-----------------------+
                        |
                        v
        "K+", "Cl-", "C", "N", "O"  <- element NAME
                        |
                    atomic number Z
                        |
                 Moseley  sqrt(nu) ~ (Z - sigma)
                        |
                    R_infinity
                        |
                 hydrogen spectral lines
                        |
                 Ritz combination principle
                        |
                 LOPT least squares on OBSERVED LINES
                        |
                 FTS wavenumber scale
                        |
                 k_eff <- Ar II (Norlen) <- 86-Kr <- metre (1960)
                        |
                    metre <- c (1983)        <-- CIRCULAR

=================== EVERY READ TRACES TO 1977 ===================

  a nanopore read, 2026
        |
        |  letters assigned by
        v
  Dorado / Guppy basecaller
        |
        |  trained on reads whose ground truth was
        v
  a reference genome
        |
        +---- T2T-CHM13 (2022)
        |        |  ONT ultralong + PacBio HiFi
        |        |  POLISHED against Illumina reads
        |        v
        |     Illumina basecaller + quality table
        |        |  calibrated by counting mismatches against
        |        v
        |     GRCh38
        |        |  backbone = BAC clones, hierarchical shotgun
        |        v
        |     SANGER, Human Genome Project 1990-2003
        |
        +---- and separately, in EVERY Illumina run:
                 |
                 v
              PhiX174 spike-in control
                 |  used for cluster density, phasing/prephasing,
                 |  error-rate estimation, low-diversity balancing
                 v
              PhiX174 reference sequence
                 |
                 v
              Sanger, Barrell, Air et al., Nature 1977
              the first genome ever fully sequenced
              5,386 bp
                 |
                 |  and that sequence has itself been REVISED
                 |  since 1977 -- by later sequencing
                 v
              chain-termination chemistry, 1977
                 |
                 v
              autoradiograph of a polyacrylamide gel
              read by eye, band by band


=================== THE MEASURED PROBLEM ===================

  Sanger's own raw fluorescence reproduces Sanger's own
  released base call at:

      310.ab1    17.63%
      3100.ab1   26.29%
      3730.ab1   27.30%

  chance for a four-letter alphabet = 25%

  The calibration standard for all modern sequencing is
  a sequence produced by the method whose raw signal does
  not, on its own, determine its own output.

========================= THE ROOT =========================

  a nanopore read, 2026
        v
  Dorado  <- trained on a reference
        v
  T2T-CHM13  <- polished with Illumina
        v
  Illumina quality table  <- calibrated against mismatches
        v
  PhiX174 spike-in control
        v
  PhiX174 reference sequence
        v
  Sanger, Air, Barrell et al., Nature 1977
        v
  autoradiograph of a polyacrylamide gel
        |
        |  what is physically there:
        v
  silver halide grains blackened by beta particles
  from 32-P decay
        |
        |  what produces the letter:
        v
  A HUMAN DECIDING WHETHER A BAND IS DARKER
  THAN THE BACKGROUND, AND IN WHICH LANE

        y = [ s/g >= theta ]  ->  NAME

  s      = film optical density
  g      = exposure time, developer, temperature
  theta  = the observer's retina
  NAME   = A, C, G or T


========================= AND THE RETINA IS THE THING =========================

  measured, this session, on the Gram stain:

    purple vs pink, normal observer      dE00 = 52.50
    same pair, protanope                 dE00 =  9.96   (-81%)
    same pair, deuteranope               dE00 = 16.69   (-68%)

    decision boundary, normal            f = 0.392
    decision boundary, protanope         f = 0.748

    at f = 0.50 the same slide is called
      Gram-NEGATIVE by one observer
      Gram-POSITIVE by another

  ~8% of males carry red-green deficiency.

  The root judgment of molecular biology is a greyscale
  threshold made by a human visual system, and human
  visual systems have been measured to disagree.


========================= AND IT WAS REVISED =========================

  1977   reported length   5,375 nt
  now    accepted length   5,386 nt

  The calibration standard was corrected by the
  instruments it calibrates.

The root of molecular biology is not an instrument.
It is a person, in 1977, deciding that one band on a film
was darker than the film around it.

Everything since has been calibrated against that decision,
including the instruments that later corrected it.

631.2 The Alphabet— Part 2

A sequence is written in four letters. This subsection asks what those letters carry. The method is to relabel them — all twenty-four bijections of \(\{A,C,G,T\}\) — and recompute every standard operation on an unchanged genome. What is invariant was never in the letters.

The genome is PhiX174, NC_001422.1, \(5386\) bp: the first genome fully sequenced (Sanger, Air, Barrell et al., 1977) and the spike-in control against which modern Illumina runs are calibrated. The originally reported length was \(5375\) nt.

631.2.1 Twenty-four relabellings

Operations were recomputed on all \(24\) permutations. Alignment used a diverged pair — \(1200\) bp carrying \(113\) substitutions (\(9.4\%\)) — so that mismatches actually occur and the test is not degenerate.

Quantity Range over \(24\) relabellings distinct sd
Needleman–Wunsch score \(975\) \(1\) \(0.000000\)
mismatches detected \(113 / 113\) \(1\) \(0\)
de Bruijn nodes, \(k=12\) \(5373\) \(1\) \(0.000000\)
GC content \(44.764\%\) – \(55.236\%\) \(6\) —
melting temperature (Wallace) \(15\,594\) – \(16\,722\) \(6\) —
ORFs \(\ge 100\) aa \(0\) – \(8\) \(7\) —

Alignment and assembly are constant to machine precision across every relabelling. GC content and melting temperature take exactly six values, because both depend only on which two-element subset is named \(\{G,C\}\), and there are \(\binom {4}{2}=6\) such subsets. Open reading frames take seven values and vanish entirely under some relabellings: the count depends on the literal triples ATG, TAA, TAG, TGA.

Nothing in the genome changed. The quantities in the lower block are properties of the naming.

631.2.2 The alphabet is \(\mathbb {F}_2^2\)

Encode \(A=00\), \(C=01\), \(G=10\), \(T=11\). Complementation is then bitwise negation:

\begin{equation} \sigma (x) = x \oplus 11, \qquad \sigma ^2 = \mathrm {id}, \qquad \mathrm {Fix}(\sigma ) = \varnothing . \tag{24442}\end{equation}
Reverse-complementing PhiX174 by \(\sigma \) and by the textbook rule gives identical strings at every one of the \(5386\) positions.

The two bits are not arbitrary. Measured on the diverged pair, the low bit registers exactly the mismatches that a purine/pyrimidine reading registers (\(65\) in both cases). The three non-zero linear functionals on \(\mathbb {F}_2^2\) are precisely the three classical dichotomies:

Functional Partition Name Fixed by \(\sigma \)
\(b_0\) \(\{A,G\}\) / \(\{C,T\}\) purine / pyrimidine no
\(b_1\) \(\{A,C\}\) / \(\{G,T\}\) amino / keto no
\(b_0 \oplus b_1\) \(\{A,T\}\) / \(\{G,C\}\) weak / strong yes

Since \(\sigma \) flips both bits, it fixes their sum and negates each separately. The single strand-invariant functional is therefore weak/strong — which is why GC content is quoted for a duplex without specifying a strand, and why the other two partitions are not.

631.2.3 The involution is the only irreducible content

Replace the pairing by a \(4\)-cycle rather than two \(2\)-cycles. Double application no longer returns the original, so reverse-complement ceases to be self-inverse and strand symmetry is lost. The involution is not decoration: it is the one structure relabelling cannot remove, and the one thing a four-element set does not supply by itself.

\begin{equation} \Sigma \;=\; \mathbb {F}_2^2, \qquad \sigma (x) = x \oplus 11 . \tag{24443}\end{equation}

Two bits and one negation. Everything else attached to \(\{A,C,G,T\}\) — adenine, cytosine, guanine, thymine, the codon table, the start and stop triples — is a name applied after the fact, and the relabelling experiment above shows that the downstream operations do not consult it.

631.2.4 Fewer letters, and none

Collapsing to one bit (purine/pyrimidine) still assembles. On the diverged pair it retains \(65\) of \(113\) mismatches, and the \(48\) it loses are exactly the \(48\) transitions in that pair — an exact accounting, not an approximation, since transitions are by construction invisible to a purine/pyrimidine reading.

\(k\) distinct \(k\)-mers, R/Y distinct \(k\)-mers, ACGT ratio
\(8\) \(256\) \(4921\) \(0.052\)
\(12\) \(2829\) \(5373\) \(0.527\)
\(16\) \(5093\) \(5371\) \(0.948\)
\(20\) \(5352\) \(5367\) \(0.997\)

At \(k=20\) a one-bit alphabet resolves \(99.7\%\) as many distinct \(k\)-mers as a four-letter one. Halving the alphabet costs resolving power at short \(k\) and essentially nothing at long \(k\); it does not cost validity.

Removing the alphabet entirely, the continuous four-vector at each peak position can be aligned directly by inner product, with no symbol introduced at any stage. Measuring what the discretisation costs, against the differential entropy of that vector at \(64\) bins per channel:

File available [bits/position] kept by a letter discarded
3730.ab1 \(7.594\) \(2.000\) \(73.7\%\)
3100.ab1 \(13.163\) \(2.000\) \(84.8\%\)
310.ab1 \(17.606\) \(2.000\) \(88.6\%\)

Between three quarters and seven eighths of the recorded fluorescence is removed by the act of writing a letter, and the operations that biology actually performs on that letter — align, assemble, call a variant, build a tree — have just been shown not to depend on which letter it is.

631.2.5 What survives what

Operation ACGT relabelled \(\mathbb {F}_2^2\) R/Y continuous
alignment yes yes yes yes yes
edit distance yes yes yes yes yes
assembly yes yes yes yes yes
variant calling yes yes yes partial yes
phylogeny yes yes yes yes yes
reverse complement yes yes yes yes —
GC content yes moves moves — —
melting temperature yes moves moves — —
ORF finding yes moves moves no no
codon translation yes moves moves no no

Everything above the rule is relabelling-invariant and requires no alphabet. Everything below it depends either on the involution or on a table declared separately from the measurement — the genetic code, of which NCBI distributes thirty-three variants.

The four letters are therefore doing two bits of work and one negation. The rest of what they appear to carry was added in 1977, and has been inherited ever since by every instrument calibrated against the sequence that was written down then.

pict

Figure 826: The four letters carry two bits and one negation. (a) PhiX174 under all twenty-four relabellings of \(\{A,C,G,T\}\). The Needleman–Wunsch score on a diverged pair (\(1200\) bp, \(113\) substitutions) is constant to machine precision, while GC content takes six values — one for each two-element subset that can be named \(\{G,C\}\). (b) Open reading frames of at least \(100\) codons under the same relabellings: seven distinct counts, and zero under some namings. The frames depend on the literal triples ATG, TAA, TAG, TGA. (c) The alphabet as \(\mathbb {F}_2^2\) with \(A=00\), \(C=01\), \(G=10\), \(T=11\). The three non-zero linear functionals are exactly the three classical dichotomies, and complementation is the antipodal map \(\sigma (x)=x\oplus 11\). Since \(\sigma \) flips both bits it fixes only their sum, which is why weak/strong — GC content — is the one partition quoted without naming a strand. (d) Distinct \(k\)-mers under a one-bit purine/pyrimidine reading, relative to the four-letter reading. At \(k=20\) the ratio is \(0.997\). (e) Differential entropy of the normalised four-channel vector at each peak position, against the two bits a base call retains. (f) The exact accounting: of \(113\) substitutions, a purine/pyrimidine reading registers \(65\), and the \(48\) it loses are precisely the \(48\) transitions — invisible to that reading by construction.