A sequence is delivered as a string over \(\{A,C,G,T\}\) with a per-position quality score. Neither the letters
nor the scores are recorded by the instrument. What is recorded is a time series of intensities.
This subsection follows the conversion, in two technologies whose raw signal is public: Sanger
capillary electrophoresis, where the file contains four fluorescence channels alongside the
manufacturer’s own call, and nanopore sequencing, where it contains an ionic current
trace.
639.0.1 What the file contains
An .ab1 file holds four intensity channels sampled through the capillary run, the peak
positions the instrument selected, the sequence it called, and a quality value per
base:
The trace is the measurement; the sequence and the quality values are outputs of processing
already applied. Because both are present, the conversion can be repeated and compared
against the delivered result.
639.0.2 How many bases there are
The instrument records the sample positions at which it decided a base occurred. Discarding
those and locating peaks in the summed trace, with the minimum spacing as the only
parameter:
Identity is by global alignment against the instrument’s own call. Changing the minimum
peak spacing from \(10\) to \(12\) samples removes \(172\) of \(1165\) bases from the 3730 read and drops the agreement
to \(50.7\%\).
The read length is therefore not a count of anything. It is the number of local maxima that
survive a spacing criterion, and that criterion is a parameter.
639.0.3 Mobility and crosstalk
The four dideoxy terminators have different electrophoretic mobilities, so the peak for a given
base arrives at a different time than it would have if the dye did not affect migration. A
mobility shift per channel is applied to compensate. Its magnitude is a calibration constant,
and the correction is applied before peaks are located.
Applying shifts of a few samples, at fixed peak spacing \(d=11\):
A three-sample shift on one channel — less than a third of the spacing between bases —
removes \(158\) bases from the 3730 read and takes the agreement from \(83.5\%\) to \(57.5\%\).
Spectral overlap between the four dyes is removed by inverting a \(4\times 4\) crosstalk matrix. Varying
the off-diagonal magnitude from \(0\) to \(0.30\) leaves the identity within half a percent, so on these files
that correction is not what decides the sequence. The spacing and the mobility shift
are.
639.0.4 Ambiguity
A base is called as the channel with the largest intensity at the peak. A second criterion decides
when no call is made: if the second-largest intensity exceeds a fraction of the largest, the
position is reported as \(N\).
The fraction of the read declared unreadable moves from zero to \(3.6\%\) across thresholds that are
all in use. Nothing in the trace distinguishes them.
639.0.5 What the quality value is
The Phred score is defined as \(Q = -10\log _{10} P(\text {error})\), and \(P\) is an estimate. Correlating the delivered \(Q\) against two
quantities computed from the trace:
\(Q\) is a function of the peak shape. It is not a count of errors, and no errors were observed in
producing it. The number attached to each base as its error probability is a transformation of
the same trace from which the base was called.
639.0.6 Nanopore: the current
A nanopore read is a series of ADC counts. For the read examined here: \(123\,627\) samples at \(4\) kHz, \(30.9\)
seconds, ADC values from \(-4\) to \(635\).
Conversion to picoamperes uses three constants stored in the file:
A \(5\%\) change in the range constant moves the whole trace by \(3.1\) pA. The difference in mean
current between neighbouring five-mers is of the same order.
639.0.7 Nanopore: normalisation
The basecaller does not receive picoamperes. It receives a normalised signal, and the
normalising statistic is a choice:
The three give different inputs to the same network. The standard deviation of the
normalised signal differs by \(36\%\) between mean/s.d. and quantile scaling.
639.0.8 Nanopore: where one base ends
Classical basecallers segmented the trace into events before calling. Varying the change-point
threshold and the minimum event length:
The event count is an upper bound on the number of bases that can be called. It
moves by a factor of \(21\) across the thresholds tried, and by a factor of \(2.85\) between \(0.5\) and
\(1.0\).
Current basecallers have absorbed this step into a recurrent or convolutional network
trained with a connectionist temporal classification loss. The segmentation is no longer explicit,
but the boundary between one base and the next is still not present in the current trace: it is
now supplied by the trained weights rather than by a threshold, and by the reference sequences
those weights were trained against.
639.0.9 The chain
MEASURED
Sanger four-channel fluorescence intensity vs time
Nanopore ionic current, ADC counts vs time
NOT MEASURED
where one base ends and the next begins
which base produced a given signal level
the probability that a call is wrong
------------------------------------------------------------------
SUPPLIED
peak spacing / event threshold
how many bases exist
d=10 -> 1137 bases, d=12 -> 965 bases (same trace)
event threshold 0.5 -> 9530, 2.0 -> 445
mobility shift per channel
which channel is read at a given position
3 samples on one channel: 83.5% -> 57.5% identity
crosstalk matrix
how much of each dye leaks into each detector
0 to 0.30 off-diagonal: < 0.5% change here
ADC offset, range, digitisation
the current scale
5% in range -> 3.1 pA shift of the whole trace
normalisation statistic
the network input
mean/sd vs quantile: 36% difference in scale
trained weights
the mapping from signal to base
trained against reference sequences assembled from earlier calls
Q formula
the confidence attached to each letter
corr(Q, second/first peak) = -0.46 to -0.58
The last two entries close the loop. The network that converts current to letters is trained
on reads aligned to a reference genome, and that reference was assembled from base calls
produced by an earlier version of the same procedure. The quality value that accompanies each
letter is computed from the same signal that produced the letter, and reports no independent
count of error.
Figure 835: Base calling from raw signal. (a) Four-channel Sanger trace as recorded. (b)
The same after baseline subtraction, with the peak positions the instrument selected. (c)
Sequence recalled from the trace under ten preprocessing settings, aligned against the
instrument’s own call. (d) Nanopore ionic current in picoamperes. (e) The same trace
under three normalisation conventions. (f) Number of segmentation events, an upper
bound on the number of bases, as a function of the change-point threshold.
Data
All files used in this subsection are public and were downloaded unmodified.
Channels were read from the DATA9–DATA12 records, which hold the processed four-colour
trace in the order \(G, A, T, C\), and reordered to \(A, C, G, T\). Instrument peak positions were taken from PLOC1, the
delivered sequence from the record sequence, and quality values from the per-letter annotation.
Instrument model was read from MODL1: two files from an ABI 3730 and one from a
3100.
The file also carries a basecalled FASTQ under /Analyses/Basecall_1D_000/BaseCalled_template/,
which was not used; the analysis here operates on /Raw/Signal only.
Methods
Baseline subtraction used a \(301\)-sample running-minimum filter per channel. Mobility
correction was applied as linear interpolation of each channel along the sample axis. Crosstalk
removal inverted a \(4\times 4\) matrix with equal off-diagonal terms. Peaks were located with
scipy.signal.find_peaks on the summed trace, with minimum spacing and prominence as
stated. Identity was computed by global alignment (Levenshtein) over the first \(600\) positions
against the instrument’s own call. Nanopore segmentation used a first-difference change-point
rule with the threshold and minimum event length as stated, on the median/MAD-normalised
current.
Code and derived tables are available with the manuscript.
639.1 The Sequence (DNA)
§706.11 took the genome as a string \(s \in \Sigma ^{*}\) and traced the operation performed on it. This section
examines the string.
639.2 Why four letters
The alphabet \(\Sigma = \{\mathrm {A},\mathrm {C},\mathrm {G},\mathrm {T}\}\) is a convention, not an observation. The IUPAC nucleotide standard defines
sixteen symbols, of which four are unambiguous and eleven denote sets:
Each is recorded as \(\mathrm {C}\), \(\mathrm {A}\) or \(\mathrm {G}\). The notation
does not merely fail to record the distinction; it erases it, and every downstream
operation — alignment, distance, phylogeny, editing — is performed on the erased
representation.
Distinguishing them requires a separate assay: bisulphite conversion for 5mC, which
chemically alters the molecule before reading it, or a dedicated base-calling model for nanopore
signal. The distinction is therefore available only to an experiment that has decided in advance
to look for it.
639.3 The confidence is a model output
Each called base carries a Phred score
\[ Q = -10\log _{10} P(\text {error}), \]
and reads are retained or discarded by comparing \(Q\)
against a cutoff:
\(P\) is not measured. It is a posterior produced by the base-calling model, and that model is
trained on data whose correct sequence is taken as known — from a reference genome, or
from the output of another base caller. The confidence attached to a letter is the
model’s estimate of its own reliability, calibrated against a sequence produced the same
way.
639.4 Nanopore: current to letters
A nanopore records ionic current against time, sampled at a few kilohertz. Recovering
characters requires:
\[ \begin {array}{ll} \text {event segmentation} & \text {threshold, minimum dwell} \\ k\text {-mer or neural model} & \text {trained current levels for }4^{5}\text {--}4^{6}\text { contexts} \\ \text {transition model} & \text {HMM or CTC decoding} \\ \text {homopolymer handling} & \text {no signal feature encodes run length} \\ \text {modified bases} & \text {a separate model, or nothing} \\ \end {array} \]
The homopolymer case is a structural limitation rather than a noise problem. A run of
identical bases produces a constant current; the number of bases in the run is not encoded in
the level, and must be inferred from dwell time against a duration model. Nothing in the
physical signal distinguishes \(\mathrm {A}_{5}\) from \(\mathrm {A}_{6}\) except a duration distribution.
The manufacturer’s position on the resulting instability is explicit: base-calling models are
versioned, later versions produce different sequences from the same raw signal, and users are
advised to re-basecall archived data with current models. The raw current is the durable
record; the sequence is not.
639.5 Assembly: reads to a genome
Reads are short and genomes are long, so the sequence is assembled. Assembly is a graph
problem, and the graph depends on a parameter.
In de Bruijn assembly the choice is the \(k\)-mer length. Values in common use run \(k \in \{21,31,41,51,63,77,99,127\}\); the
vertex set is a subset of \(\Sigma ^{k}\), of size up to
Small \(k\) collapses repeats into single vertices;
large \(k\) fragments the graph where coverage is sparse. There is no principled optimum,
and the standard procedure is to assemble at several values of \(k\) and select the one
maximising a contiguity statistic such as N50 — that is, to choose the method by its
result.
Repeats longer than the read length are not resolvable in principle: the graph contains
several traversals consistent with the data, and the assembler selects one. Overlap-based
assembly replaces \(k\) with a minimum overlap length and a minimum identity, and has the same
property.
639.6 The reference
Variants are defined as differences from a reference. The human reference is not a person:
GRCh38 is a mosaic assembled from bacterial artificial chromosome clones contributed by
several donors, with one donor predominating.
It is also versioned — NCBI34/hg16 (2003), GRCh37/hg19 (2009), GRCh38/hg38 (2013) —
and coordinates are not stable across versions. The T2T-CHM13 assembly of 2022 is gapless
but derives from a single hydatidiform mole cell line, which is homozygous and therefore
carries one haplotype rather than two. The pangenome reference released in 2023
replaces the linear sequence with a graph, on the grounds that no single sequence is
adequate.
Querying the NCBI assembly database returns \(2579\) human genome assemblies, including
GRCh38.p14, T2T-CHM13v2.0, HuRef2.0, hg002v1.1 (maternal and paternal haplotypes
deposited separately), KOLF2.1Jv1.1 and several from the Vertebrate Genomes Project.
A variant call is therefore a statement of the form “this read differs from that assembly at
that coordinate”. Changing the assembly changes the variant list for the same individual, and
changing the version changes the coordinate.
639.7 Alignment
Even the position is a choice. Aligning
\[ x = \mathrm {ACGTACGTTTTTACGTACGT}, \qquad y = \mathrm {ACGTACGTTTACGTACGT} \]
— which differ by a two-base deletion inside a
homopolymer run — under gap-opening penalties \(\{-1,-2,-5,-10\}\), gap-extension penalties \(\{-0.1,-0.5,-1,-2\}\) and three scoring
schemes yields three distinct alignments. The deletion can be placed at any position within the
run, and the scoring parameters select which. In a real genome this is the difference between
two variant calls at different coordinates.
639.8 The chain
\[ \boxed { \begin {aligned} &\text {current or fluorescence} && \text {(continuous)} \\ &\quad \downarrow \ \text {segmentation, }k\text {-mer model, decoding} && \text {thresholds, trained parameters} \\ &\text {characters over }\Sigma && |\Sigma | = 4\ \text {by convention; modifications erased} \\ &\quad \downarrow \ Q\text {-score cutoff} && Q \text { from the model, cutoff chosen} \\ &\text {retained reads} && \\ &\quad \downarrow \ \text {assembly} && k \text { chosen to maximise the result} \\ &\text {contigs} && \text {repeats resolved by selection} \\ &\quad \downarrow \ \text {alignment to a reference} && \text {gap penalties; reference is one of } 2579 \\ &\text {coordinates and variants} && \\ \end {aligned}} \]
The proposition that an organism has a genome of a certain sequence, and that a given
position carries a given letter, is the terminus of this chain. The alphabet is smaller than the
molecule; the confidence is the model’s own; the assembly parameter is chosen by its output;
the reference is one selection from thousands; and the coordinate depends on a gap
penalty.
639.9 The Count
§701.5 reduced every spectroscopic quantity to two integers: a pixel index and a fringe count.
This section examines those integers.
639.10 A real raw record
The file LomanLabz_PC_20161125_FNFAF01132_MN17024_…_ch199_read2556_strand.fast5
from the Loman Lab human reference run contains, at /Raw/Reads/Read_2556/Signal, an
array of \(98\,848\)int16 values recorded at \(4000\) Hz — \(24.7\) seconds of ionic current through one
nanopore.
The array is not a current. Converting it requires three constants stored elsewhere in the
same file:
Of the \(65\,536\) codes a sixteen-bit converter can produce, \(409\) are used. The remaining resolution is not
measurement; it is the numerical range of the container. And in \(2.46\%\) of consecutive sample
pairs the signal did not change by even one code: for those intervals the recorded
current is not a measurement of the current but a statement that it moved less than
\(0.18\) pA.
The three constants are read from the file. They were written by the instrument’s control
software, and nothing in the signal determines them.
639.11 The threshold produces the count
The quantity of interest in a nanopore record is how many events occurred. Applying a
standard peak-finding procedure to the same \(24.7\) seconds, varying only the detection threshold in
units of the median absolute deviation:
The count spans four orders of magnitude and
terminates at zero. There is no threshold at which the number stabilises, and no feature of the
record identifies one. The recorded current is fixed; the number of events in it is not a property
of the record.
639.12 The segmentation produces the sequence length
Base calling begins by segmenting the current into intervals during which one \(k\)-mer occupied
the pore. The number of such intervals bounds the number of bases the read can contain.
Segmentation requires a jump threshold and a minimum dwell:
Across settings all of which lie
within the range used in practice, the implied read length runs from \(7\) to \(12\,104\) — a factor of \(1700\) from
the same \(98\,848\) samples.
The letters of §639.1 are counted from these segments. How many letters a molecule has, in
this instrument, is set before any letter is identified.
639.13 Requantisation
Reducing the same signal to fewer bits and measuring the correlation efficiency \(\eta = \langle xq\rangle / \sqrt {\langle x^2\rangle \langle q^2\rangle }\):
Sixteen bits and twelve bits are indistinguishable, consistent with only \(409\) codes being
occupied.
The two-bit row is the VLBI case. DiFX and hops multiply correlated amplitudes by \(1/0.88252 = 1.13312\) to
compensate for two-bit quantisation, a factor computed from the van Vleck relation assuming
Gaussian noise and a threshold at \(0.9816\sigma \). On this signal the measured efficiency is \(0.947\), not \(0.883\): the assumed
correction is too large by \(7.3\%\).
The discrepancy is not a defect in either. It is the statement that the correction is exact for
a Gaussian and approximate for anything else, and that the instrument does not measure which
it has.
The CCD case was traced earlier: opGain.par carries \(24\) gain entries, selected by observation
date with a strict inequality, three of which have an empty provenance note, and one of which
changes by \(108\%\) across a ten-day boundary.
639.15 LIGO: what is left after the conversions
The strain record for GW150914 at \(4096\) Hz contains \(131\,072\) samples with
dimensionless. Multiplying by
the \(4\) km arm length gives a displacement range of \(-2.8\) to \(+3.1 \times 10^{-15}\) m, against a proton radius of \(8.4\times 10^{-16}\) m: the
reported motion is a few proton diameters.
The released quantity is \(h\), not the photodiode output. Recovering \(h\) from ADC counts
requires the sensing and actuation transfer functions of the interferometer, which are measured
by injecting known displacements with the calibration lines and are re-derived for each
observing run. The DQmask dataset accompanying the strain carries the data-quality flags by
which segments are admitted or rejected.
The chain has the form of §452: the response function that converts counts to displacement
is determined by driving the instrument with a displacement whose size is known from the
same response function at a previous epoch.
\[ \boxed { \begin {aligned} &\text {recorded:} && 98\,848\ \texttt {int16}\ \text {values},\ 409\ \text {distinct} \\ &\text {to obtain a current:} && \times \ \texttt {range}/\texttt {digitisation},\ +\ \texttt {offset} \\ &\text {to obtain a count:} && \text {choose a threshold} \Rightarrow 0\ \text {to}\ 22\,206 \\ &\text {to obtain a length:} && \text {choose a segmentation} \Rightarrow 7\ \text {to}\ 12\,104 \\ &\text {to obtain a letter:} && \text {choose a model (\S 639.1)} \\ \end {aligned}} \]
The integers of §701.5 are integers. They are not counts of anything until a threshold is
chosen, and the thresholds are not in the record. What the instrument delivers is a sequence of
code values and three numbers written by its own software; every quantity above that — a
current, an event, a base, a wavelength, a redshift — is obtained by a decision applied to
it.
Figure 836: One nanopore read from the Loman Lab human reference run
(ch199_read2556, R9.4 flow cell): \(98\,848\)int16 samples at \(4000\) Hz, \(24.7\) seconds of ionic current. (a)
The record converted to picoamperes, with \(30\) ms of raw ADC codes inset. The inset is the
measurement; the main panel is the measurement multiplied by three constants. (b) Of
the \(65\,536\) codes a sixteen-bit converter can produce, \(409\) occur, spanning codes \(373\) to \(1207\). The shaded
regions are never visited. The conversion \(I = (\mathrm {ADC} + 5.0) \times 1506.22/8192.0\) uses offset, range and digitisation, all read
from the file’s own metadata and none determined by the signal. (c) Events detected in
the fixed record as the detection threshold is varied across the range used in practice: \(22\,206\) at
\(0.5\sigma \), \(1225\) at \(2\sigma \), \(7\) at \(3\sigma \), none at \(4\sigma \). The count spans four orders of magnitude and terminates at zero;
no threshold is distinguished by the data. (d) Segments produced by the event-detection
step, which bounds the number of bases the read can yield. Across jump thresholds of
\(3\)–\(20\) codes and minimum dwells of \(3\)–\(10\) samples — all within normal use — the implied read
length runs from \(7\) to \(12\,104\), a factor of \(1700\) from identical samples. (e) Correlation efficiency \(\eta \)
under requantisation. Sixteen and twelve bits are indistinguishable, since only \(409\) codes are
occupied. At two bits the measured \(\eta = 0.947\) exceeds the value \(0.88252\) that VLBI correlators divide by,
because that figure is derived for Gaussian noise at a threshold of \(0.9816\sigma \); the applied correction
is too large by \(7.3\%\) for this signal. (f) The same structure in four instruments, with the LIGO
GW150914 strain record shown as arm-length displacement against the proton radius:
the reported motion is a few proton diameters, obtained from ADC counts through a
transfer function calibrated by injecting displacements whose size is known from the same
transfer function.
639.16 Alternative Representations
§639.1 traced the chain from ionic current to a string over \(\Sigma = \{\mathrm {A},\mathrm {C},\mathrm {G},\mathrm {T}\}\). This subsection asks what that
string carries that other representations of the same reads do not.
Four MinION runs are used: DRR088098, DRR088146 and DRR088013 (Plasmodium
falciparum) and DRR138538 (Homo sapiens). Composition figures are from DRR088098 unless
stated otherwise.
Naive two-bit packing beats gzip; the best general-purpose compressor reaches \(1.72\) bits
per base against a maximum of \(2\), and applying it to the already-packed form gains
nothing.
Every \(k\)-mer up to length four occurs; at \(k=8\), \(65\,201\) of \(65\,536\). Conditioning on seven preceding bases
reduces the entropy by \(3.3\%\) for a model with \(65\,536\) parameters. The string is, to within \(6\%\), incompressible
by a model of its own local statistics.
Every row is the same physical record. The codon and dinucleotide alphabets carry the
same information per base to three decimals; the four-letter form is not privileged by any
quantity here. The \(\mathrm {T}\!\to \!\mathrm {C}\) collapse is what a bisulphite-converted read looks like before computational
restoration, and the five-letter extension including 5-methylcytosine requires a separate assay to
populate.
639.16.3 A generated string reproduces the local statistics
An order-5 chain — \(1024\) contexts — reproduces base composition to \(0.12\) percentage points and
entropy to four decimals. What it does not reproduce is compressibility: \(2.08\) against \(1.71\) bits per base.
The residual \(0.37\) bits, or \(18\%\) of the nominal two, is long-range repetition beyond any \(k\)-mer
context.
639.16.4 Separating the runs: compression-based distances fail
The normalised compression distance treats reads as byte strings with no biological
interpretation. Its standard form,
returned values near unity earlier, indicating that
concatenation was not finding shared structure. Since the normalisation is the suspect element,
six alternative normalisations of the same three quantities \(C_x\), \(C_y\), \(C(xy)\) were tested, on two-bit packed
sequences of \(200\) kb, under three compressors:
None separates: no normalisation achieves \(\min (\text {between}) > \max (\text {within})\). The reason is visible in the raw quantities. The
absolute compression gain \(C_x + C_y - C_{xy}\) is \(0.9\%\) of \(\min (C_x,C_y)\) within species and \(0.5\%\) between — and it has the wrong
sign for a distance, being larger for the pairs that should be farther apart. With
zlib and bzip2 every definition returns a negative separation, and bzip2 yields \(C_{xy} > C_x + C_y\)
outright.
The failure is not in the normalisation. At \(200\) kb the compressor’s model is saturated and the
concatenation gains nothing to normalise. Rescaling zero is zero.
639.16.5 Replacing the compressor
The compression distance is an approximation to a conditional description length. Computing
that quantity directly removes the compressor and its window entirely: build an order-\(K\) Markov
model from \(x\), encode \(y\) under it, and measure the excess over \(y\)’s own entropy,
At \(K=4\) — \(256\) contexts against \(2\times 10^{5}\) bases, roughly \(780\) observations per context — the between-species excess
is exactly twice the within-species excess and the separation is complete. At \(K=6\) there are \(49\)
observations per context and the signal has halved; at \(K=8\) there are three, the model is
memorising, and the ordering inverts.
The estimator has an optimum in \(K\), and the optimum is where the contexts are adequately
sampled. This is the same trade-off as the term-count \(L\) in §700.1: increasing model capacity
improves the fit and destroys the discrimination.
With four runs in a \(3{:}1\) split, six labellings
are equivalent by symmetry, so rank \(6/24\) is the best attainable. GC content and the \(6\)-mer
divergence both attain it; the cross-entropy excess at \(K=6\) does not, consistent with the
\(K\)-dependence above.
One number separates the species. Adding read length destroys the separation, because
read length tracks the library preparation: DRR088013 and DRR088098 are the same species
with median lengths of \(395\) and \(2332\), a factor of six.
\[ \begin {array}{ll} \text {the string is incompressible to } 6\% & 1.942 \to 1.878\ \text {bits/base at order }7 \\ \text {the alphabet is one of several} & |\Sigma | \in \{2,3,4,16,64\},\ \text {same record} \\ \text {local statistics are reproducible} & \text {order-5 Markov, GC to } 0.12\ \text {pp} \\ \text {not reproducible} & 0.37\ \text {bits/base of long-range repetition} \\ \text {compression distances fail} & 18\ \text {configurations, none separates} \\ \text {a direct model succeeds at one } K & K{=}4\ \text {yes},\ K{=}6\ \text {no},\ K{=}8\ \text {inverts} \\ \text {one number suffices} & \mathrm {GC},\ \text {separation} +1.97 \\ \text {more features are worse} & \text {read length carries preparation} \\ \end {array} \]
The sequence is one representation of a record that admits several, and it is not the
representation carrying most of what distinguishes these runs: a single composition fraction
does that, and does it better than the string. Every distance that does work has a parameter —
\(K\), or the choice of feature — whose value determines whether it works, and no quantity in the
data selects that value.
639.17 The Residual Is a Choice of Null
an earlier section found that an order-5 Markov chain reproduces the base composition and
low-order entropy of the reads but not their compressibility, and reported the difference
\[ g = C(\text {null}) - C(\text {real}) \]
as \(0.37\)
bits per base of structure present in the record and absent from the model. This subsection
examines \(g\).
639.17.1 Under recoding and compressor
With the order-5 null held fixed, at \(4\times 10^{5}\) bases:
\(g\) is stable at \(0.365 \pm 0.002\) under bijections and falls by a factor
of five to twelve under alphabet folding. Across xz -9e, bzip2 and an order-8 arithmetic coder
it is \(0.366\), \(0.365\), \(0.303\); under zlib, \(0.235\).
\(g\) is therefore not an artefact of the letter names or of one algorithm. It is specific to the
four-letter encoding.
639.17.2 Under change of null
The comparison is between the reads and a generative model, and the model was chosen.
Varying it within the Markov family and by block shuffling:
Every entry reproduces the base
composition; they differ in what else they carry. Past order 8 the model has \(4^{9}\) contexts against \(4\times 10^{5}\)
bases and is memorising.
639.17.3 Five mechanisms that copy nothing
A null that inserts repeated substrings would be circular: it posits repetition to explain
repetition. The following five generate no copies. Each corresponds to a standard account of
genomic sequence, and each is evaluated on four statistics rather than compressibility
alone.
The block shuffle is not a generative model at all: it cuts the real reads into blocks and
permutes them. At \(10^{3}\) it reproduces the composition to \(0.05\) percentage points, the compressibility to \(0.008\)
bits, the longest repeated substring exactly, and the \(6\)-mer divergence to \(0.008\) — lower than the
order-5 chain. Whatever \(g\) measures is destroyed by permuting the sequence at scales below \(10^{3}\) and
is untouched by permuting it above.
Three of the five families fail on statistics other than \(g\). Block heterogeneity and both
hidden-Markov settings drive the GC fraction to \(49\)–\(76\%\) against the observed \(34\%\), and their \(6\)-mer
divergence is \(0.17\)–\(0.80\) against \(0.0095\) for the plain order-5 chain. The \(1/f\) family holds the composition exactly
by construction but its divergence rises to \(0.99\) at \(\beta = 2\), where the sequence has collapsed to a few long
constant runs. Segmenting an order-5 chain at real read lengths changes nothing: \(g = 0.365\),
indistinguishable from the unsegmented chain.
The variable-order family does not fail. At \(K \le 12\) with a minimum context count of \(20\), the
generated string matches the reads on all four:
Composition to \(2.1\) percentage points,
compressibility to \(0.054\) bits, the longest repeated substring to four characters, and a \(6\)-mer
divergence twice that of the order-5 chain but an order of magnitude below every other family
here. The model contains no copying mechanism: it is a Markov chain whose order at
each position is the largest for which the context has been observed at least twenty
times.
The range of \(g\) over the nulls tested is \(2.09\) bits per base, against an alphabet capacity of \(2\). The
reads are more structured than an order-1 chain by \(0.43\) bits, less structured than a \(1/f^{2}\) process by \(1.66\),
and indistinguishable from a variable-order chain to \(0.054\).
Three of the five copy-free families are excluded by composition or by \(k\)-mer divergence, and
that exclusion is a real constraint: not every generative story fits. What is not available is a
criterion selecting among those that do. The quantity \(0.37\) names a difference between the reads
and one member of the Markov family, and a different member of the same family — with no
additional mechanism, only a rule for choosing the context length — reduces it to
\(-0.054\).
Figure 837: The residual \(g = C(\text {null}) - C(\text {real})\) for the same \(4\times 10^{5}\) bases of DRR088098 against twenty-one generative
models. (a)\(g\) spans \(2.06\) bits per base, from \(-1.625\) (\(1/f^{2}\) noise) to \(+0.437\) (a plain shuffle), exceeding the \(2\)-bit
capacity of the alphabet. The value \(0.365\) reported earlier is the order-5 Markov entry, and the
shaded band \(|g| < 0.06\) is occupied by four models from three unrelated families. (b) A small \(|g|\) is not
sufficient. The two-state hidden-Markov model reaches \(g = -0.561\) with a GC fraction of \(99.3\%\) against
the observed \(34.1\%\); the \(1/f\) family holds the composition by construction but fails elsewhere. (c)
Six models on four statistics simultaneously, each normalised to its plotted range, with
the real reads as the dashed reference. Only the variable-order chain tracks all four. (d)
Within the Markov family alone, \(g\) falls monotonically from \(+0.428\) at order 1 to \(-0.281\) at order 11
and changes sign between orders 7 and 9, where \(4^{K}\) approaches the sequence length and
the model begins to memorise. (e) The null matching every statistic contains no copying
mechanism: a Markov chain whose order at each position is the largest context observed
at least twenty times, giving \(g = -0.058\), GC within \(2.1\) percentage points, and the longest repeated
substring within five characters.
639.18 The Constraints Are Also Products of the Pipeline
§639.17 found that \(g\) depends on the null, and that three of five copy-free model families were
excluded — not by \(g\), but by base composition and \(k\)-mer divergence. That exclusion was
presented as a real constraint: not every generative story fits. This subsection examines the
constraints.
639.18.1 The composition depends on the quality cutoff
The GC fraction that excluded the hidden-Markov and heterogeneous families is not a
property of the organism. It is a property of the retained reads:
Every quantity
used as a constraint moves with the cutoff. Composition falls by \(4.1\) percentage points,
compressibility by \(0.23\) bits per base, and the longest repeated substring rises from \(53\) to
\(82\). The published GC content of P. falciparum is \(19.4\%\); none of these values is close to
it.
The constraint that excluded a model family is therefore itself a function of a threshold
chosen elsewhere in the pipeline.
639.18.2 A model excluded by composition can be tuned to satisfy it
The hidden-Markov family was excluded because its states, drawn from a symmetric Dirichlet,
produced GC fractions of \(38.6\) and \(99.3\%\). Constraining the state distributions to a target GC while
leaving the mechanism unchanged:
The mechanism is identical; only the state distributions
were reparametrised. The family that failed the composition test now passes it, and does so at
both cutoffs.
It still fails the \(6\)-mer divergence, at \(0.13\)–\(0.25\) against \(0.009\) for the Markov chain. That is a second
constraint, and it is a real one. But the demonstration is that failing a constraint is a statement
about a parametrisation, not about a mechanism.
639.18.3 Which statistics are constraints is not determined
Eight statistics were computed for five candidate nulls at \(Q\) cutoff \(0\):
Applying them cumulatively
as acceptance criteria, with tolerances of \(2\) percentage points on GC, \(0.08\) bits on xz, \(15\) characters on
the longest repeat, and the corresponding scales on the divergences:
Under one constraint
every candidate passes. Under four, two pass. Under eight, one. The surviving candidate is the
block shuffle — which is not a generative model but the real reads cut into \(10^{3}\)-base blocks and
permuted.
That it survives every test is not a discovery about it. It is composed of the reads, so it
inherits every statistic computed at scales below the block length; the \(10\)-mer divergence of \(0.0039\)
against \(0.79\) for the order-5 chain is the same fact stated twice.
\[ \begin {array}{ll} \text {GC across } Q\ \text {cutoffs } 0\text {--}12 & 34.05 \to 29.96\ \%\ (4.1\ \text {pp}) \\ \texttt {xz}\ \text {across the same} & 1.7059 \to 1.4780\ \text {bits/base} \\ \text {longest repeat across the same} & 53 \to 82 \\ \text {HMM after GC reparametrisation} & \text {fails} \to \text {passes, both cutoffs} \\ \text {candidates passing 1 constraint} & 5\ \text {of}\ 5 \\ \text {candidates passing 8} & 1\ \text {of}\ 5,\ \text {and it is the data itself} \\ \end {array} \]
The constraints that excluded three model families in §639.17 are statistics of the retained
reads. Each moves with the quality cutoff; one of the exclusions is removed by reparametrising
the excluded model without altering its mechanism; and the number of surviving candidates is
set by how many statistics are declared to be constraints, which nothing in the reads
determines.
What survives all eight is a permutation of the reads. A null that is constructed from the
data passes every test computed on the data, and the tests therefore do not distinguish a model
of the record from a rearrangement of it.
639.19 The Cutoff
The quality threshold of §639.18, the \(\sigma \) threshold §701of , the term count \(L\) of §700.1, the context
order \(K\) discussed earlier and the cluster count \(k\) of an earlier section are the same object. This
subsection names it.
639.19.1 The pattern
In each case a model is fitted to a record, the model has a capacity parameter, the
fit improves monotonically with that parameter, and the value used is fixed from
outside the data:
None of these is an error. Each is required: without a threshold
there is no count, without a term count no level system, without a cluster count
no taxonomy. What is absent in every case is a criterion in the data selecting the
value.
639.19.2 The same structure in effective field theory
Physics states this explicitly. An effective field theory is defined only relative to a cutoff \(\Lambda \)
separating the degrees of freedom retained from those integrated out. The Lagrangian is an
expansion
in which the coefficients depend on \(\Lambda \) in such a way that observables below the cutoff
do not. The independence is the content of the renormalisation group: \(\Lambda \) is not measurable, and
the theory is constructed so that it cannot be.
Two features carry over exactly.
The choice of \(\Lambda \) determines what counts as a degree of freedom. Above it, structure is not
resolved but absorbed into the coefficients; below it, structure is explicit. This is the
segmentation threshold of §701: above the jump threshold a current excursion is an event,
below it, part of the baseline.
And the number of operators retained is set by the accuracy sought, not by the data.
Truncating at order \(n\) in \(1/\Lambda \) leaves a residual of order \((E/\Lambda )^{n+1}\); increasing \(n\) improves the fit and
adds parameters. This is the term count \(L\), the Markov order, and the cluster number
\(k\).
639.19.3 Where the analogy is exact and where it is not
It is exact in the structure: a scale is chosen, everything above it is summarised into
parameters, and the parameters are fitted to what remains.
It is not exact in one respect, and the difference is the point. In an effective field theory the
requirement that observables be independent of \(\Lambda \) is imposed and checked — the running of the
couplings is computed, and a residual dependence on \(\Lambda \) in a physical prediction is a defect to be
removed. The corresponding check is not performed for the cutoffs tabulated above. No pipeline
reports the redshift as a function of the arc-line selection, the base composition as a function of
the quality cutoff, or the event rate as a function of the detection threshold. Each is reported at
one value.
The measurements of this work are that check, performed after the fact. Where it has been
carried out, the dependence is not small: the composition moves \(4.1\) percentage points, the count
moves four orders of magnitude, the sign of the homogenisation trend depends on a parameter
within its declared admissible range.
639.19.4 What follows
The cutoff is not eliminable. There is no description of a record that does not first decide what
in it counts as a unit, and that decision is prior to counting. The alternative to choosing a
cutoff is not measuring without one; it is not measuring.
What is eliminable is the omission. A reported quantity can carry the value of the
parameter at which it was computed and the derivative of the quantity with respect to that
parameter. Where the derivative is small the reported value is robust; where it is large
— \(\partial (\text {GC})/\partial Q \approx -0.6\) pp per unit \(Q\), \(\partial (\log \text {count})/\partial \sigma \approx -2.3\) per \(\sigma \) — the value is a coordinate, and the coordinate should be
given.
The narrative that a record has a composition, a length, a count, a sequence or a spectrum
is the narrative of a fixed point of a family of descriptions. The family is real and its members
are computed. Which member is reported is a choice, and this work has measured how much
that choice is worth.
639.20 The Unit
§639.19 treated the cutoff as a parameter of a model fitted to a record. This subsection
concerns the step before the model: the point at which a continuous record becomes a
countable one.
639.20.1 Counting requires a partition
A record is a function on an index set — current against time, charge against detector position,
voltage against sample number. To count is to assign a finite integer to it, which requires a map
partitioning the record. The integer is \(|\pi |\). Nothing in \(\mathcal {R}\) supplies \(\pi \): a function on an interval admits
partitions of every finite cardinality, and the number of parts is a property of the
partition.
The nanopore record of §701 is \(98\,848\) values. Under \(\pi \) defined by a \(0.5\sigma \) threshold it has \(22\,206\)
parts; under \(3\sigma \), seven; under \(4\sigma \), none. Under segmentation at a jump of \(3\) codes with a
minimum dwell of \(5\) samples it has \(139\) parts; at a jump of \(20\), \(7067\). The record is the same function
throughout.
639.20.2 The unit is one part
Once \(\pi \) is fixed a unit exists, and every subsequent quantity is a count of parts or a ratio of
counts:
The last two rows are the SI definitions of §701.5. They have the form of the first five:
a continuous phenomenon, a stipulated number of parts, a unit that is one part. The difference
is that the stipulation is published as a definition rather than left in a configuration
file.
639.20.3 The family of partitions is not ordered
It is natural to suppose that partitions form a lattice — that lowering a threshold refines,
that refinement preserves parts, and that the family is therefore ordered even if no
member is canonical. On the record examined here that supposition fails at both
points.
Detection has two parameters, not one. Varying the amplitude threshold and the minimum
separation together:
The count is monotone along each axis separately and the level
sets cross: \(715\) events at \((0.5\sigma , d{=}100)\) and \(772\) at \((2.0\sigma , d{=}5)\). There is no ordering of the pairs induced by the
count. “Raising the threshold” names motion along one axis of a two-dimensional
family.
Replacing the amplitude criterion by topographic prominence, which is the other standard
peak definition, gives a different sequence entirely:
A factor of three to four at every level, from
two definitions of the same word.
And refinement destroys parts. Lowering the jump threshold in segmentation
should only add boundaries, since the boundary set is \(\{i : |\Delta _i| > \tau \}\) and this grows as \(\tau \) falls. With
a minimum dwell in force it does not:
Adding boundaries shortens the segments
between them, and segments below the minimum dwell are discarded together with
their boundaries. The family is not a refinement order; it is not a partial order at
all.
639.20.4 Invariance is invariance under a specified group
The second consolation — that some statistics are constant over a range of \(\pi \) — requires the
same scrutiny.
§639.18 reported the GC fraction as unchanged at \(34.05\%\) for quality cutoffs \(0\) through \(9\). That
measurement took the first \(4\times 10^{5}\) bases of the retained reads. Taking all retained bases instead:
The
invariance was an artefact of the truncation. Reads are stored in file order, not quality order, so
the first \(4\times 10^{5}\) bases survive every cutoff up to the point where the leading reads themselves
are removed. The plateau was a property of where the data were cut, not of the
cutoff.
The same applies to the compression residual. §639.17 reported \(g\) as stable at \(0.365 \pm 0.002\) under
bijections. Those bijections were relabellings of \(\Sigma \). Other bijections of the string exist:
Sorting
the \(3\)-mers is a bijection on the multiset of \(3\)-mers and it takes both strings to \(0.01\) bits per base,
annihilating \(g\). Interleaving the two halves is a bijection on positions and it reverses the
sign.
The statement “\(g\) is invariant under bijections” is false as written. What holds is that \(g\) is
invariant under the group generated by permutations of \(\Sigma \), which has order \(24\), and is not invariant
under the symmetric group on positions, which has order \((4\times 10^{5})!\). The first is a subgroup of measure
zero in the second.
639.20.5 The group is also a choice
An invariance claim has the form: \(F\) is constant on the orbits of \(G\) acting on \(\mathcal {R}\). Both \(F\) and \(G\) are
supplied by the analyst.
Fixing \(G\) as the relabellings of \(\Sigma \) makes \(g\) invariant. Fixing \(G\) as block permutations at scale \(10^{3}\)
leaves \(g\) nearly invariant and destroys nothing else — which is why the block shuffle passed all
eight constraints in §639.18. Fixing \(G\) as position permutations makes almost nothing invariant
except the composition. Each choice defines a different set of quantities as physical, and the
record does not select among them.
This is the same structure as the earlier cases and not a different one. A partition is a choice
of what counts as one thing; a group is a choice of what counts as the same thing; a null is a
choice of what counts as no structure. Each is prior to the measurement and none is recoverable
from it.
\[ \boxed { \begin {aligned} &\text {a record is a function; a count requires a partition } \pi \\ &\text {one nanopore record: } 7,\ 139,\ 409,\ 7067,\ 22\,206,\ 98\,848 \\ &\text {the family of } \pi \text { is two-dimensional and level sets cross} \\ &\text {refinement discards parts: } 4732\ \text {boundaries lost at one step} \\ &\text {peak by height vs by prominence: factor } 3\text {--}4 \\ &\text {the GC plateau was truncation, not invariance} \\ &g\ \text {invariant under } S_4\ \text {on } \Sigma ,\ \text {not under } S_n\ \text {on positions} \\ \end {aligned}} \]
To read a record is to impose a partition, a group and a null upon it, and to report a
number computed after all three. The number is a fact about the quadruple. Three of its
members are supplied by the reader, and the earlier claim in this work that the family of
partitions is at least ordered, and that some statistics are at least invariant, does not survive
the measurements above.