107 The Genome Assembled Many Ways

A reference genome is the output of an assembly: reads are cut into words of length \(k\), words seen often enough are kept, and the words are joined where they overlap into longer pieces. “One circular chromosome” is a statement about that output: that the joining produced one piece, and that its two ends met. Everything placed on a reference inherits it: a coordinate counts from an origin chosen on that piece, a gene is an interval in that coordinate, and a mutation is a difference from that piece.

The same reads of Escherichia coli K-12 (2 761 333 read pairs of 151 letters, run DRR217208 [927]) were assembled 360 times by a de Bruijn assembler written for this purpose, with every rule that decides the output drawn from a grid (Table 260). No pairing rule was used anywhere: a read was taken in the direction the record gives it, and no reverse complement, second strand or double helix was added, since these exist only once the record has been divided into four classes paired two by two (Section 530).

Table 260: Rules varied in 360 assemblies of the same reads.
Rule Choices
Word length \(k\) 11, 15, 19, 21, 25, 31
Words kept seen at least 1, 2, 3, 5 or 10 times
Share of reads used 1%, 3%, 8%
Joining at a branch stop; follow the commonest word; follow the rarest; follow one at random
Pairing of letters none

No assembly gives one chromosome (Table 261). From the same reads, the number of pieces of at least 500 letters ran from 0 to 6 406 (median 16), the assembled length from 0 to 8.25 million letters, and the longest piece from 22 to 35 513 letters, never more than 0.8% of the 4.64 million of the published reference. One piece came out in 1% of assemblies, each of them a few thousand letters long in all. The share of reads used moved the count most (median 3 pieces at 1%, 835 at 8%), the word length next: at \(k=11\) nothing joined, since every short word occurs throughout and every word is a branch.

A closed path is made by the threshold. No closed path formed in 30% of assemblies. Where words seen once were kept, the median number of closed paths was 0; keeping only words seen five or ten times raised it to 2, because discarding rare words removes the branches that keep a path open. Whether the record contains a circle is decided by how often a word must be seen before it is believed.

Table 261: The same reads assembled under each rule (medians over the other rules). Pieces and length count pieces of at least 500 letters.
Rule Choice Pieces Length Longest Closed paths
Word length 11 0 0 192 0
15 10 8 020 1 076 1
19 73 49 714 1 967 1
21 62 44 868 2 077 1
25 49 38 225 1 886 1
31 24 23 892 1 784 1
Seen at least 1 406 268 362 2 000 0
2 209 147 698 1 784 1
3 20 16 638 1 331 1
5 13 11 878 1 238 2
10 8 6 530 1 203 2
Reads used 1% 3 2 319 922 1
3% 16 16 864 1 705 2
8% 835 590 074 3 134 1
At a branch stop 10 9 307 1 140 1
commonest 16 18 872 2 763 1
rarest 18 14 663 1 532 1
at random 17 17 262 1 784 1
All 360 assemblies
0–6 406 0–8.25 M 22–35 513 0–8

What the published chromosome rests on. A single circular chromosome of 4 641 652 letters is reached only with further rules added to these: a pairing that folds the two directions of the reads into one, paired reads and long reads to bridge the branches, and a decision to treat the two ends as one. Each is a rule laid on the reads, and with them the origin of the coordinate, every gene interval and every mutation called against the piece.

Limits. The reads were already written in four letters by the instrument’s base caller, so the assembly starts from letters made by the labels put in (Section 530). Words are packed in 64 bits, which bounds \(k\) at 31, and at most 8% of the reads were used, about fourteen times the length of the published reference.

pict

Figure 249: The same reads [927] assembled 360 times with no pairing rule. (a) Pieces of at least 500 letters by word length, coloured by the share of reads used; dashed, one piece. (b) Longest piece by word length; bars, medians; dashed, the published chromosome. (c) Closed paths by the threshold for keeping a word; bars, medians; above each column, the share of assemblies with none.

107.1 Other Objects from the Same Reads

The rules that take the assembly of Section 107 to one circular chromosome (a pairing of the two directions, paired and long reads, the joining of two ends) are aimed at that object. Aimed elsewhere, the same reads give other objects. Six were built and each was judged by the reads it was not built from: reads from a separate stretch of the run [927], asked whether their words are in the object, whether each step from one word to the next is, and whether a read is accounted for whole (Table 262). Word length, the threshold for keeping a word, the share of reads used, the number of pieces and their arrangement were drawn in 300 universes.

Table 262: Objects made from the same record, judged on held-out reads (medians over 300 universes).
Object Words Steps Reads whole Words stored
Published chromosome, pairing rule added 0.924 0.923 0.804 9.1 M
Chromosome cut and rearranged 0.907 0.906 0.773 8.9 M
Published chromosome, one direction 0.471 0.470 0.393 4.6 M
Word graph from the reads, all universes 0.370 0.365 0.060 3.4 M
8% of reads, every word kept — 0.948 0.801 11.6 M
8% of reads, words seen twice — 0.928 0.719 9.0 M
Word bag from the reads, all universes 0.370 0.365 0.063 3.4 M
Random letters, chromosome length 0.000 0.000 0.000 4.6 M

A graph with its branches accounts for the reads as well as the chromosome. Built from 8% of the reads with every word kept, the word graph holds 94.8% of the held-out steps and accounts for 80.1% of held-out reads whole, against 92.3% and 80.4% for the published chromosome with the pairing rule. It is not one piece, has no ends to join and uses no pairing rule. Where the graph falls short, in universes with 1% of the reads or a threshold of ten, it is the amount of record put in that falls short, not the form of the object: at 8% the shortfall is gone.

The missing half is filled by the reads, not by pairing. The published chromosome read in one direction accounts for 47% of held-out steps; adding the pairing rule raises it to 92%. The graph reaches 94.8% without it, because the reads already run in both directions and the graph keeps them as they come. The pairing rule is one way of filling that half; the record fills it as well with nothing added.

Order, oneness and closure are not asked for (Table 263). The published chromosome cut into 2 to 1 000 pieces and kept apart, rejoined in random order, or rejoined with its two ends joined, accounts for held-out reads within a few thousandths of the intact chromosome, 0.920 to 0.923 of steps with the pairing rule. The only setting that moves the score is the pairing rule; where the pieces were placed, how many there are and whether they close are invisible to the reads.

Table 263: The published chromosome cut and rearranged: held-out steps and reads accounted for whole, by arrangement and pairing (medians).
Arrangement Pairing rule Steps Reads whole
Pieces kept apart no 0.469 0.393
yes 0.920 0.803
Rejoined in random order no 0.472 0.392
yes 0.920 0.804
Rejoined, two ends joined no 0.469 0.392
yes 0.922 0.804

What the record makes. One circular chromosome, a set of pieces in any order, and a graph that never becomes a single path all account for the same reads. The record does not select the chromosome: it selects words and the steps between them, and the chromosome is one arrangement of those, kept in one direction and made whole by a pairing rule that the reads themselves make unnecessary.

pict

Figure 250: Objects made from the same reads [927], judged on reads they were not built from, over 300 universes. (a) Held-out reads accounted for whole by each object; bars, medians. (b) Words stored against held-out steps present. (c) The published chromosome cut into 2 to 1 000 pieces, kept apart, rejoined in random order or rejoined with its ends joined, with (solid) and without (dashed) the pairing rule.