Skip to content

ACOR: Accumulating DNA-Storage Evidence While the Sequencer Still Runs

THE ARGUMENT

When reconstruction happens is part of the algorithm, not a scheduling detail: accumulating evidence during readout buys second-scale processing of millions of reads, at the cost of committing only at cluster closure and of severe errors on long strands.

On this page

Lao Zhou runs the reading side of an archive. Today the machine is working through a batch of synthesized molecules that carry files archived years ago; as it reads, it keeps spitting out copies of each original, and every copy comes with wrong, missing or extra letters, with the same original copied hundreds of times. By next week he must decide one thing: should the program wait until every copy of a batch has arrived and only then merge them, or should it take notes as the copies arrive so the answer is ready the moment the machine stops? His current rule is simple, pick whichever program ends up most accurate. That comparison quietly drops time. If the program waits for the whole batch, every downstream step sits idle while the machine runs; if it recomputes from scratch on each new copy, it still has nothing to hand over when the machine stops. Paper [1] is about that missing dimension.

The Default: Wait for All Copies, Then Merge One Consensus

In the jargon of the field, the readout pipeline first groups the machine's copies by which original they came from; each pile is a cluster, a bag of records copied from one strand. It then merges the noisy copies in a cluster into one best-guess original, a step called reconstruction, and the merged string is the consensus sequence, the draft everyone voted for. That merging is exactly the program Lao Zhou is choosing. The conventional version is offline: it waits until every copy in a cluster has arrived and the cluster is declared closed, then computes once. BMALA, VS, MUSCLE, SPOA, abPOA, POASTA and BBS, the comparators in [1], are existing reconstruction programs of this kind, some voting column by column over multiple-sequence alignments and some searching paths on a graph, but none of them finishes its bookkeeping while the machine is still reading.

The default judgment is that reconstruction only cares about accuracy: whoever produces the fewest wrong consensus sequences wins, and when the computation starts or whether the machine is still running is a scheduling matter, not part of the method. Paper [1] argues this skips something. If copies arrive one by one while reading continues, then the moment you commit is itself part of the algorithm. Recomputing a consensus after every arrival means rescanning all earlier copies; committing a string too early can permanently exclude an alternative path that later copies would have supported. Both ends are wasteful.

The question is therefore rewritten as: can evidence pile up as copies arrive, while the answer is delivered exactly once, at cluster closure? Separating accumulation from commitment is the claim behind the name ACOR [1].

A Ledger That Grows Instead of Rescanning Old Reads

ACOR keeps one ledger per cluster. A ledger here is an append-only record: each arriving copy adds a few entries, and no earlier copy is ever reread because of a later one [1]. Three kinds of entries are added. The first is short-fragment transitions. Each copy is cut into overlapping substrings of fixed length k, called k-mers, a short string of exactly k letters; the ledger records which letter followed a given substring and how many times that continuation was seen. Pooling all such continuations is equivalent to a graph of observed substrings and single-letter extensions, but [1] represents it by accumulated counts instead of materializing a separate graph for every read.

The second is boundary evidence: which substring began a copy and which ended it, and how often each was seen, used to decide where a candidate should start and stop. The third is length statistics: the exact median copy length plus running sums of log lengths and squared log lengths, which yield a window for how long the original probably is [1]. Copies are normalized first: valid A, C, G and T symbols are kept and everything else becomes a single symbol meaning unreadable. A copy with no valid substring contributes only length and frequency, never a graph edge. Every copy updates the ledger once; no partial consensus is produced and no earlier copy is rescanned.

Storage decides whether this scales. The expected per-cluster time cost in [1] is O(R + N log(N+1) + |Vs| log(|Vs|+1)) + O(B M^2 log(B+1)), where R is total copy length, N is the number of copies in the cluster, B is the beam width, the cap on how many candidate prefixes survive each step, and M is the maximum admissible length. Fixing B and M removes explicit N dependence from search, not from accumulation. A dense direct-indexed ledger costs O(4^(k+1) + N + R_U + BM), where 4^(k+1) pre-allocates a counter for every possible substring and grows explosively with k; sparse storage costs O(|V| + |E| + N + R_U + BM), allocating counters only for observed substrings and transitions. The measured gap is concrete: at k = 12, hybrid peak resident memory was 41.84 to 658.97 MiB against 22.53 to 23.14 GiB for the historical dense implementation, a 36 to 552-fold reduction in [1], with predictions unchanged across all 32 validated configurations.

Decide Once, at Cluster Closure

Once an external signal says the cluster is closed, ACOR decodes exactly once [1]. It first fixes a length range: the upstream protocol supplies a design length L, how long the original should be by design, and the observed copy lengths give a median, a mean of log lengths and a standard deviation of log lengths, which combine into an empirical window. The two windows together determine which prefix lengths may be cached and set the maximum searched length M. Defaults are k = 9, beam width B = 16, support weight alpha = 0.15 and length tolerance delta = 5, recorded in Supplementary Note S1.1.

Then comes bounded search, or beam search: starting from the best-supported substrings, each step keeps at most B prefixes ranked by cumulative score and prunes the rest instead of expanding every possible path. Transition scores take the log of add-one-smoothed observation counts plus a reward for repeated sightings; scoring a complete candidate also folds in normalized path support, length plausibility and terminal boundary evidence [1]. Before any further extension at each depth, prefixes landing on admissible lengths are cached, and pruning a branch does not delete an already cached candidate.

Finally a fixed priority returns one sequence: graph candidates at the design length, then real copies of that length, then neighbouring lengths at increasing offsets, then the empirical-window cache, then any raw copy; the top of the first non-empty family is returned and later families are never compared [1]. This guarantees at least one output per successfully processed cluster. Evaluation uses three quantities [1]: Exact, the fraction of clusters whose reconstruction matches the design letter for letter; Accuracy, one minus the sum of edit distances divided by the sum of reference lengths, where edit distance is the minimum number of insertions, deletions or substitutions turning one string into another; and Mean ED, the average edit count. The three can disagree, and [1] repeatedly warns against reading only one.

The Measured Numbers: Eight Benchmarks and 96,055 Designs

Start with the inputs. The original public benchmark suite held about 8.8 million reads across 341,867 non-empty clusters [1]. Table 1 in [1] lists every row; the error column is read-level error, defined as summed read-to-reference edit distance divided by summed reference lengths, counting one reference length per read, not the raw error the machine reports. The total row includes the overlapping binned nanopore subset; Trellis BMA is simulated; Zenodo 10943282 excludes 680 empty reference clusters.

DatasetNon-empty clustersReadsDesign length (nt)Read-level error (%)
oligo01,466167,54610813.5596
ncomms19 365 dishes2,03866,8041505.9521
binned nanopore10,000213,7401404.3352
Microsoft CNR9,984269,7091105.7670
Trellis BMA (simulated)7,37381,1031105.8636
DNAFormer nanopore109,9762,354,5841404.3952
DNAFormer Illumina109,9443,183,8401400.1195
Zenodo 1094328291,0862,436,6311504.2513
Own NGS wet-lab library96,05517,701,4491000.8105
Total437,92226,475,406——

The authors' own wet-lab library is a different scale: 96,055 distinct 100-nt payloads synthesized as 129-nt oligos with fixed flanks; sequencing produced 66,127,110 paired-end 150-nt read pairs, merging and trimming yielded 18,191,190 insert reads, and reference-assisted assignment retained 17,701,449 across all designs. Each design cluster held 3 to 567 read observations, median 179, with 5th to 95th percentiles of 86 to 302; [1] stresses this is post-assignment read depth, not unique molecules, because no UMI deduplication was done. On this full library ACOR with 16 workers returned one sequence for every one of the 96,055 designs: at k = 9 it reached 99.9219% Exact, maximum edit distance 50, in 11.805 s with 2775.9 MiB peak memory; at k = 15 Exact rose to 99.9844%, non-exact designs fell from 75 to 15 and maximum edit distance from 50 to 2, at 20.526 s [1].

Table 3 of [1] puts the same full-library comparison side by side; key rows follow, with times in seconds and NR meaning not recorded. Max ED is the largest per-design edit distance.

MethodExact (%)Max EDTime (s)RSS (MiB)
ACOR (k = 9)99.92195011.8052775.9
ACOR (k = 15)99.9844220.5262493.0
abPOA99.98332847.826NR
BBS99.9844252.786NR
BMALA99.9833226.407NR
CPL99.98852413.993NR
MUSCLE99.9844217,893.918NR
SPOA74.107522772.890NR
VS99.98332168.218NR
POASTA-based82.652619830.333NR

Speed is the real selling point. The k = 9 configuration with 40 workers processed 17,701,449 assigned read observations and returned one sequence per design in 9.013 s at 99.9219% Exact, roughly 28 to 1,330-fold faster than seven tested serial baseline configurations, ranging from 27.73-fold for BMALA (249.910 s) to 1,332.73-fold for the POASTA-based pipeline (12,011.994 s) [1]. In the A800 acceptance batch, DNAFormer Illumina's 3.18 million reads took 3.25 s at 99.92% Exact and DNAFormer nanopore's 2.35 million took 4.35 s at 98.75% Exact [1]. Across eight public benchmarks ACOR Exact ranged from 92.16% to 99.92%, with four datasets within 0.14 percentage points of the best tested baseline; on the highest-error benchmark, oligo0 at 13.5596% read-level error, it recovered the largest fraction of exact sequences, yet CPL had higher Accuracy and lower Mean ED on that same dataset, and on simulated Trellis BMA ACOR Exact was 2.79 percentage points below the best baseline [1].

Component checks give numbers too: removing start support cut mean Exact by 9.1 percentage points; removing terminal support or using the flat-selection variant cut about 5.5 points each; admitting unobserved transitions cut Exact by about one point and gave a median runtime ratio of 2.34 [1]. On a controlled 20-million-read workload, median reconstruction-compute time fell from 47.203 s to 1.296 s, a 36.41-fold speed-up at 91.0% parallel efficiency; on five million reads efficiency was 72.2%, extra hardware threads beyond physical cores brought no further benefit, and complete engine-time speed-up reached only 6.46-fold because median input loading was 84.4% of median engine time [1].

Where ACOR Does Not Apply

State the boundary first: ACOR only merges copies after they have already been assigned to clusters, with a known design length and an externally supplied closure signal [1]. It is not the whole readout pipeline; grouping reads to their strand and deciding when a cluster closes remain external inputs. The following five limits are acknowledged by [1] itself.

  • Online assignment and closure are not integrated: [1] states in its discussion that current evaluations use assigned clusters, known design lengths and externally determined closure, and that integrating online read assignment and closure would be needed for a complete live readout pipeline.
  • Choosing k used reference sequences: the retrospective rule in Supplementary Note S2.5 picks k from reference-derived collision counts, read errors and measured memory, coming within 0.1438 percentage points of each dataset's best-tested Exact at worst, but it is not a reads-only selector; [1] lists reads-only parameter selection as future work.
  • Long strands fail severely: on reference-guided nanopore windows ACOR reached 76.56% Exact at 2 kb, above completed BBS, SPOA, abPOA and POASTA results, and 52.34% at 4 kb against SPOA's 29.69% and abPOA's 21.09%, yet at 4 kb its Mean ED was 150.805 and Accuracy 0.9623 while SPOA and abPOA both reached Accuracy 0.9995; maximum edit distance among failed outputs was 424, 887 and 2926 at 1, 2 and 4 kb [1].
  • The synthetic sweep hits zero at 8 kb: across 500, 1,000, 2,000, 4,000 and 8,000 nt, conditions reaching Exact at least 0.90 numbered 18/18, 18/18, 16/18, 9/18 and 0/18; at 8,000 nt with N = 320, eta = 0.025 and k = 12 the two seeds recovered 0.750 and 0.875 of strands exactly [1].
  • Comparison scopes are unequal: [1] states Table 3 times are single observations with method-specific loading boundaries and worker allocations, so they compare tested execution configurations rather than equal-resource efficiency; CPL sampled at most 32 reads per cluster on the own-NGS library.

In one line: this applies to short strands, already clustered, with a known design length, when you genuinely want evidence processing to overlap with reading. Once copies run to thousands of bases, or nobody yet owns clustering and closure, it cannot give the answer you need; changing the whole readout framework is more practical than shopping for a reconstruction kernel [1].

References

  1. ACOR: incremental evidence accumulation towards real-time DNA storage reconstruction

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…