Abstract
The ability to store data in the DNA of a living organism has applications in a variety of areas including synthetic biology and watermarking of patented genetically-modified organisms. Data stored in this medium is subject to errors arising from various mutations, such as point mutations, indels, and tandem duplication, which need to be corrected to maintain data integrity. In this paper, we provide error-correcting codes for errors caused by tandem duplications, which create a copy of a block of the sequence and insert it in a tandem manner, i.e., next to the original. In particular, we present a family of codes for correcting errors due to tandem-duplications of a fixed length and any number of errors. We also study codes for correcting tandem duplications of length up to a given constant $k$, where we are primarily focused on the cases of $k = 2, 3$.
Introduction
DNA has emerged as a promising medium for high-density, long-term data storage. While much research has focused on ex vivo storage (synthetic DNA kept in vitro), there is significant interest in in vivo storage—embedding information directly into the genomes of living organisms. This approach allows data to be replicated naturally as the host cell divides, potentially creating a self-sustaining archive. However, this biological environment introduces a specific class of errors: mutations.
Among these, tandem duplication is particularly prevalent. This occurs when a segment of DNA is accidentally copied and inserted immediately adjacent to the original sequence (e.g., the sequence ACGT might become ACGTGT). Over multiple generations, these "stuttering" errors can accumulate, corrupting the stored information. Because traditional error-correcting codes are typically designed for bit-flips or simple deletions, they are ill-equipped for the structural nature of tandem duplications. This paper develops specialized coding schemes to ensure data integrity in the face of such biological mutations.
The $\phi_k$-Transform and Mathematical Framework
The core innovation of this work is the mathematical transformation of complex string-duplication errors into a more manageable format. The authors utilize a mapping called the $\phi_k$-transform.
For duplications of a fixed length $k$, the $\phi_k$-transform maps a DNA sequence into a differential domain. In this transformed space, a tandem duplication of length $k$ is equivalent to the insertion of $k$ consecutive zeros. This reduction is significant because it allows the researchers to apply well-established theories regarding insertion-error correction and Run-Length Limited (RLL) constraints to the problem of biological duplication.
Irreducible Words and Unique Roots
To facilitate decoding, the paper introduces the concept of "irreducible" sequences—words that contain no tandem duplications of a specific length. Every corrupted sequence can be traced back to a "root" sequence through a process of deduplication. A critical finding of this research is the Unique Root Property. The authors prove that for duplication lengths $k \le 3$, every sequence has a single, unique root. This ensures that there is no ambiguity during the decoding process; a receiver can simply "greedily" remove tandem repeats until the original message is recovered.
Code Constructions
The paper proposes several constructions tailored to different error scenarios:
- Construction A (Fixed-Length, Unlimited Errors): By combining irreducible words with RLL constraints, the authors create codes capable of correcting an unlimited number of fixed-length duplications. This construction was proven to be optimal, achieving the maximum possible number of codewords for this specific error model.
- Construction B (Bounded Errors): This construction focuses on correcting a specific, limited number of errors. It utilizes a metric based on the $\ell_1$ distance of "zero signatures" in the transformed domain.
- Constructions C and D (Variable Lengths): These address more complex scenarios where duplications can vary in length (e.g., any length up to $k=3$). These constructions are vital for real-world biological applications where mutation lengths are not always uniform.
Key Results and Capacity
Beyond providing specific code constructions, the paper establishes the theoretical limits of data storage under these conditions. The authors calculated the "capacity"—the maximum rate at which information can be reliably transmitted—for these channels. For an alphabet of size 3 (representing DNA bases) and duplications of length $\le 3$, the capacity is at least 0.3479.
Furthermore, the paper provides a complete classification (Theorem 39) of the conditions under which unique roots exist. For instance, with an alphabet of at least three symbols, unique roots are guaranteed only if the allowed duplication lengths are restricted to the sets $\{k\}$, $\{1, 2\}$, or $\{1, 2, 3\}$.
Conclusion and Future Work
This work provides a rigorous foundation for protecting data in living organisms against tandem duplication. By proving the optimality of certain constructions and the efficiency of greedy decoding for $k \le 3$, the authors bridge the gap between information theory and synthetic biology.
However, several challenges remain. Real biological environments involve a mixture of error types, including point mutations (substitutions) and deletions, which these codes do not yet address simultaneously. Additionally, the "fitness" of the host organism must be considered; certain encoded sequences may be biologically taxing or toxic, leading to natural selection against the data-carrying DNA. Future research will need to integrate these codes with models that account for both mixed error types and biological constraints.
Summary updated