Optimal Codes Correcting a Single Indel / Edit for DNA-Based Data Storage

Kui Cai, Yeow Meng Chee, Ryan Gabrys, Han Mao Kiah, Tuan Thanh NguyenarXiv 2019

Abstract

DNA-based data storage is a promising high-density storage medium but is susceptible to insertion, deletion, and substitution errors (indels and edits). This paper presents the first order-optimal, linear-time encoders for quaternary DNA codes capable of correcting a single indel or edit. By mapping DNA sequences to interleaved binary sequences and employing sum-balanced constraints, the proposed codes achieve minimal redundancy while satisfying biological constraints like GC-balancing. All proposed encoders and decoders operate in $O(n)$ time, making them practical for large-scale genomic data storage.

Introduction

DNA-based data storage offers incredible density, but the "channel"—the process of synthesizing and sequencing DNA—is inherently noisy. Unlike traditional hard drives that primarily suffer from substitutions (bit flips), DNA storage is plagued by indels (insertions and deletions). While the famous Varshamov-Tenengolts (VT) codes handle single indels for binary data, extending these to the quaternary alphabet (A, C, G, T) of DNA with low redundancy and efficient (linear-time) encoding has been a persistent challenge. Furthermore, physical DNA strands must often be GC-balanced (containing roughly 50% G and C nucleotides) to remain stable and readable. This research provides a unified mathematical framework to solve these coding and biological constraints simultaneously.

Methodology

The authors employ several novel strategies to bridge the gap between binary coding theory and quaternary DNA constraints:

Interleaving and Mapping

A DNA sequence of length $n$ is treated as two interleaved binary sequences: an "upper" sequence ($U_\sigma$) and a "lower" sequence ($L_\sigma$). This mapping allows DNA errors to be translated into specific patterns in the bitstream. For instance, a single indel in a DNA strand corresponds to a "burst" of two indels in the interleaved binary representation. By analyzing how different substitutions affect these binary sequences, the authors can apply binary error-correction techniques to the quaternary domain.

Mapping of DNA sequences to interleaved binary sequences and the effect of single-nucleotide changes.

Sum-Balanced Constraint and GC-Balancing

To achieve order-optimal redundancy for edit errors (which include substitutions), the authors introduce "sum-balanced" words. By ensuring that the sum of symbols in any window of length $k$ stays within a specific range, they can bound the length of "runs" in the sequence, which is crucial for localizing errors using syndromes. To satisfy the GC-content requirement, they adapt Knuth’s classic balancing algorithm, cleverly hiding the balancing index within the "lower" bitstream to minimize overhead.

Key Results

The paper provides three primary constructions for DNA codes of length $n$, all featuring $O(n)$ encoding and decoding complexity. The redundancy achieved is a significant improvement over previous systematic encoders:

  1. Single-Indel Encoder: Achieves redundancy of $\lceil \log n \rceil + 2$ bits.
  2. Single-Edit Encoder: Achieves $\log n + O(\log \log n)$ redundancy bits, representing the first known order-optimal construction for this error model in the quaternary alphabet.
  3. GC-Balanced Encoder: Provides a map to sequences with exactly 50% GC-content that can still correct a single edit, with a redundancy of $3\lceil \log n \rceil + 2$ bits.
Summary of proposed codes, their redundancy bounds, and error-correction capabilities.

Conclusion

This work establishes a new standard for efficient DNA error correction by providing the first order-optimal, linear-time encoders for single indels and edits. While the current focus is on single errors, these constructions lay the groundwork for addressing more complex error models. Future work may involve extending these order-optimal constructions to multiple, non-consecutive indels and further refining constant factors in redundancy terms for practical, shorter DNA strands.

Summary updated

BibTeX
@misc{cai2019optimal,
  author = {Kui Cai and Yeow Meng Chee and Ryan Gabrys and Han Mao Kiah and Tuan Thanh Nguyen},
  title = {{Optimal Codes Correcting a Single Indel / Edit for DNA-Based Data Storage}},
  year = {2019},
  eprint = {1910.06501},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.06501},
}
Figure