The public record [1313] holds 43 nanopore runs of SARS-CoV-2 samples collected in Germany between 2 January and 1 March 2021. Of these, 39 runs share one pore type, and only these were used. Nothing was taken from the basecalled files, the reference genome or the published lineage labels. Every layer started from the raw current in the fast5 records. At each layer the choices were varied rather than fixed, and each combination of choices was carried to the end as its own universe. Table 401 lists the chain.
Layer | Operation | Choices carried as separate universes |
0 | Raw current per read, instrument record per run | none |
1 | Change points in the current, segment levels grouped into \(N\) symbols, a CTC reader [1323, 1324] trained on these symbols, every run read into symbol strings | \(N\in \{2,3,5,9,16\}\) |
2 | Reads of one sample aligned pairwise [1325], neighbours accepted only above the same reads reversed, groups by label propagation [1326], group consensus [1327], consensus joined by overlap | end trim 0 or 5 %; threshold at the 0.99 or 0.999 quantile of the reversed reads; minimum group depth 5 or 20; consensus by partial order or column majority 0.5 or 0.7 |
3 | Strings compared between samples | all strings or the longest only |
4 | Differences counted against a reference sample | each of the 39 samples as reference |
5 | Distance between samples | edit distance, proportion differing, correction for repeated change, shared pieces (Jaccard, cosine), rare differences weighted |
6 | Lineage partition | four linkages \(\times \) 2–8 groups, density grouping [1328], coordinates with \(k\)-means, marker rules (reference \(\times \) 4, 8, 16 markers \(\times \) choice of markers) |
7 | Transmission clusters and candidate sources | distance threshold at five quantiles \(\times \) date window 0, 14, 30 days |
Strings per sample. Table 402 gives, for each number of symbols, the agreement between 300 held-out reads and the strings of their own sample. For \(N=2\) the reads carry no position at all. Aligned against every other read of the same sample, the best real match (0.719) does not exceed the best match to the same reads reversed (99th percentile 0.743), and only 3 % of reads beat that line. For \(N=5\) and \(N=16\), 90 % and 87 % of reads beat it. Majority consensus produced no string for \(N=16\) in any universe. A second round, in which each read was relabelled from its sample string and the reader retrained, made the reader stop emitting symbols for \(N=2,5,9\) (median validation agreement 0 %, against 4 % for \(N=16\) and 62 % for \(N=3\)). The results below therefore use the first round only.
| \(N\) | Held-out agreement | Reversed reads, 99th pct. | Groups per sample | Strings per sample |
| 2 | 0.684 | 0.743 | 4 | 4 |
| 3 | 0.562 | – | 20 | 20 |
| 5 | 0.473 | 0.488 | 46 | 44 |
| 9 | 0.338 | – | 49 | 24 |
| 16 | 0.355 | 0.321 | 48 | 0 (majority) / present (partial order) |
Variants and lineages. With each sample in turn as the reference, the median count of differing symbols per sample ranged from 890 to 379,796 (median 13,489). Across 104 string universes the chain produced 115,680 lineage partitions of the samples, and 63,937 of them are distinct. Table 403 summarises how far they agree, measured by adjusted mutual information [1329] on the samples two partitions share.
| Quantity | Value |
| Lineage partitions / distinct | 115,680 / 63,937 |
| Groups per partition | 1–39 |
| Agreement of two partitions drawn at random, median | 0.00 |
| Identical pairs | 0.2 % |
| Agreement within one string universe (other distance, grouping or marker rule), median | 0.06 |
| Agreement with the sequencing kit, median / share above 0.5 | 0.04 / 1.4 % |
Dates and batches. The instrument record of each run gives its sequencing start, flow cell and device. The 43 runs fall on 9 flow cells, 4 devices and 8 sequencing days. Collection and sequencing dates correlate (Spearman 0.68), with a median of 15 days between them (range \(-25\) to 45). The negative end comes from run ERR6375173, whose recorded collection date (1 March) falls after its sequencing date (4 February). For every partition, the share of collection-date variance explained between groups was adjusted for the number of groups and compared with 100 shufflings of the dates. The same test was repeated with the sequencing date, and with the collection date after removing a linear fit on the sequencing date. Table 404 gives the share of partitions with \(p<0.05\), where chance gives 5 %.
| \(N\) | Collection date | Sequencing date | Collection, sequencing part removed | Flow-cell agreement | Share above 0.5 |
| 2 | 19.3 % | 25.7 % | 4.5 % | 0.09 | 0.8 % |
| 3 | 20.7 % | 31.2 % | 2.5 % | 0.11 | 1.2 % |
| 5 | 9.6 % | 16.0 % | 3.5 % | 0.06 | 0.4 % |
| 9 | 11.4 % | 19.4 % | 3.8 % | 0.03 | 0.2 % |
| 16 | 5.2 % | 4.7 % | 4.1 % | 0.01 | 0.1 % |
For \(N=2\) to \(9\) the partitions follow the sequencing date more often than the collection date. Once the sequencing-date part is removed, the collection date falls to 2.5–4.5 %, at or below chance. For \(N=16\) neither date departs from chance.
Transmission. The 18,720 transmission universes produced 8,974 distinct clusterings, with 0 to 10 clusters and 0 to 100 % of samples placed in a cluster. The share of samples with exactly one candidate source ranged from 0 to 62 %, and the share with several from 0 to 95 %. The median agreement between two transmission universes was 0.00, 0.1 % of pairs were identical, and 1.2 % of clusterings followed the sequencing kit.
Every file used for the viral lineages and transmission clusters above is already written in letters, except one small set. The record held by the public archives [1313, 1314] falls into three kinds.
Files | What they contain | Raw? |
sequences.fasta.xz, metadata.tsv.xz (Nextstrain, 71 481 sequences) | consensus strings over A, C, G, T and N, each already assembled against the Wuhan-Hu-1 reference (MN908947.3), with lineage names attached | no |
Illumina reads, <run>_1.fastq.gz, <run>_2.fastq.gz (SRA/ENA) | letters and one quality character per letter; the instrument converted its fluorescence images to letters on board, and the images and intensities were discarded and are not in any public archive | no |
Nanopore reads, <run>.fastq.gz (628 165 SARS-CoV-2 runs in ENA) | letters and qualities produced by the instrument’s basecaller from the current; the current itself was not submitted | no |
NW-UBI-<n>_ONT.fast5.tar.gz, e.g. ERR6375157/NW-UBI-221_ONT.fast5.tar.gz (43 runs) | the ionic current recorded as each molecule passed the pore, one integer per sample, as submitted by one centre (Bielefeld University, GridION, 2021; 37 GB) | yes |
Consequence. The alphabet A, C, G, T enters before any public file is written: on the Illumina instrument when images become letters, on the nanopore instrument when current becomes letters, and in every consensus string through the reference it is assembled against. Rewriting those letters in other alphabets, or grouping them by other distances, changes how the letters are read but not that they are letters. Of the 628 165 SARS-CoV-2 nanopore runs in ENA, only the 43 above carry the record from which letters are made, and no Illumina run carries one; a lineage or transmission analysis without the alphabet can start only there.
The lineage labels and transmission clusters in the public record are not read off the current. They are the output of a chain in which every step is fixed by a convention, and the conventions are published. Table 405 sets out that chain, with the value fixed at each step and the document that fixes it. Table 406 places it beside the chain of §489, where the same steps were varied instead.
Step | Operation | What is fixed, and at what value | Source |
1 | Reference genome | One 29,903 nt sequence from the bronchoalveolar lavage fluid of a single 41-year-old patient admitted in Wuhan on 26 December 2019, released as MN908947.3 and adopted as the reference assembly | |
2 | Amplification | 98 primer pairs tiling the genome (ARTIC V3); primer positions are chosen from the reference, so the regions that can be read are set before any sample is read | |
3 | Reading the current | A basecaller trained on reads labelled against reference genomes converts current to the four letters | [1324] |
4 | Alignment | Reads are mapped to the reference; positions are numbered by it | [1334] |
5 | Consensus | Minimum depth 20, below which the position is written N; minimum variant quality 10; allele frequency at or above 0.6 to enter the consensus, below 0.1 discarded as noise, between the two written N; at least 5 alt-supporting reads | [1335] |
6 | Lineage designation | A lineage is designated only if at least 5 high-quality genomes support it, an internal node shows onward transmission, and it is epidemiologically significant; a genome qualifies only if under 5 % of non-UTR sites are missing. A lineage is a list of designated sequence names, not a set of mutations | |
7 | Lineage assignment | pangolin: a decision tree (pangoLEARN) by default in v3, phylogenetic placement (pUShER) by default in v4; assignments differ between versions | |
8 | Clade naming | A clade is named at over 20 % global frequency for two months, or over 30 % regional; it must be at least 2 mutations from its parent. From 2022, also at over 5 % regional with over 0.05 per day growth | |
9 | Public label | The WHO assigns a Greek letter to designated variants of interest and concern | [1343] |
10 | Transmission cluster | Cases are linked at 0–1 pairwise SNPs, or 0–2 in other work, usually together with an epidemiological link; some methods combine distance and date in a fitted model | |
|
Three features of this chain matter for what follows.
First, the reference enters at step 1 and never leaves. The primers of step 2 are placed on it, the basecaller of step 3 was trained against it, the coordinates of step 4 are its coordinates, and the consensus of step 5 keeps its base wherever a variant fails a filter. A difference is therefore always a difference from this one sequence; step 4 of §489 varies that choice and finds the count of differences per sample moving between 890 and 379,796 symbols.
Second, the thresholds of step 5 decide what counts as a difference at all. A position read at depth 19 is N; at depth 20 it is a base. A site where 59 % of reads carry one base is N; at 61 % it is a variant. These are the same kind of choice as the group depth and consensus rules of layer 2 above, fixed to one value rather than carried forward as alternatives.
Third, the lineage of step 6 is a list of sequence names maintained by a committee, not a rule that a sequence satisfies. A new genome receives a lineage at step 7 by a tool whose default algorithm changed between versions, and whose two algorithms do not always agree. The clade of step 8 is defined by frequency reached over time, so a set of genomes that never reaches 20 % global or 30 % regional frequency has no clade name regardless of how distinct it is.
Question | Standard chain | §489 |
What are the symbols? | Four letters, from a basecaller trained against reference genomes | 2, 3, 5, 9 or 16 symbols, from levels in the current |
What is a position? | A coordinate in MN908947.3 | A position in a string built from the reads of that sample |
What is a difference? | A departure from the reference passing depth 20, quality 10 and frequency 0.6 | A symbol difference under one of six distance rules, against any of the 39 samples as reference |
What is a lineage? | Membership of a designated list, assigned by pangolin | One of 115,680 partitions, of which 63,937 are distinct |
What is a transmission link? | 0–1 (or 0–2) SNPs with an epidemiological link | A distance below one of five quantile thresholds within a date window of 0, 14 or 30 days |
How many answers are reported? | One | All of them |
|
The chain of §489.2 was then run on the same 39 runs, so that its answer could be placed among the answers of §489. The reference MN908947.3 was taken from ENA [1331]; reads were produced by a pretrained basecaller supplied with the software [1324], decoded on the CPU by Viterbi over the model’s 64 states; reads were trimmed by 30 bases at each end in place of a primer scheme, since the deposited reads have a median length of 1,144 bases and so do not come from the 400 bp ARTIC V3 scheme; the remainder followed the published filters. No step of §489 was used.
Quantity | Value |
Reads per sample, mapped to the reference | 5,980 of 6,000 (median) |
Median depth per sample | 120–189 |
Genome covered at any depth | 99 % |
Majority consensus at depth 20: genome called | 99 % (median) |
Majority consensus: samples under 5 % missing sites | 35 of 39 |
Published filters (depth 20, quality 10, frequency 0.6 and 0.1, 5 alt reads) on an unpolished pileup: genome called | 4.2 % (median) |
Published filters: samples under 5 % missing sites | 0 of 39 |
Differences from the reference per sample | 22–85 |
Sites compared per pair of samples | 29,503 (median) |
Differences between two samples | 27 (median), range 1–149 |
Samples in a transmission cluster at 0 / 1 / 2 SNPs | 0 % / 15 % / 18 % |
|
Two results follow.
The published thresholds presuppose the polishing step. Applied directly to a pileup of basecalled reads, they leave a median of 4.2 % of the genome called and no sample at all passing the completeness rule that lineage designation requires [1336]. The same pileup, read by majority at the same depth 20, gives 99 %. The numbers 0.6 and 0.1 are not thresholds on the data as read; they are thresholds on the data after a signal-level model [1334] has already removed most of the disagreement among reads.
The standard answer is one of ours, and only one. Each standard partition was compared with 20,000 of the 115,680 partitions of §489, on the samples the two share. Table 408 gives the result. For six of the ten standard partitions some partition built without letters, without the reference and without the published thresholds reproduces the standard answer exactly. At the same time the median agreement is zero, and fewer than 2 % of our partitions agree with the standard one even moderately. Nothing in the records distinguishes the partition the standard chain arrives at from the rest; what distinguishes it is that its thresholds were fixed in advance.
Standard partition | Groups | Agreement, median | Best | Above 0.5 | Collection date \(p\) / sequencing date \(p\) |
Tree cut into 2 groups | 2 | \(-0.00\) | 1.00 | 0.55 % | 0.723 / 0.703 |
Tree cut into 3 groups | 3 | \(-0.01\) | 1.00 | 0.40 % | 0.406 / 0.713 |
Tree cut into 4 groups | 4 | \(-0.02\) | 0.87 | 0.17 % | 0.455 / 0.584 |
Tree cut into 6 groups | 6 | \(-0.02\) | 0.77 | 0.25 % | 0.812 / 0.772 |
Tree cut into 8 groups | 8 | \(-0.01\) | 0.80 | 0.29 % | 0.871 / 0.772 |
Tree cut into 10 groups | 10 | \(-0.02\) | 0.85 | 0.08 % | 0.743 / 0.505 |
Tree cut into 13 groups | 13 | \(-0.03\) | 0.67 | 0.03 % | 0.752 / 0.485 |
Transmission at 0 SNPs | 39 | \(-0.00\) | 1.00 | 1.92 % | – |
Transmission at 1 SNP | 35 | \(-0.01\) | 1.00 | 0.52 % | 0.010 / 0.020 |
Transmission at 2 SNPs | 33 | \(-0.02\) | 1.00 | 0.48 % | 0.079 / 0.099 |
|
The standard partitions carry no more date than ours. Seven of the ten do not separate collection dates beyond chance (\(p\) from 0.41 to 0.87). The one that does, the 1 SNP transmission clustering (\(p=0.010\)), separates sequencing dates almost as well (\(p=0.020\)), the same coincidence found in Table 404. The grouping that the published chain reports is therefore not the grouping that the collection dates pick out; it is the grouping its own thresholds pick out.