Optimal Overlap Detection of Shotgun Reads

Nir Luria, Nir Weinberger

Abstract

In DNA shotgun sequencing, the reconstruction of a genomic sequence relies on identifying overlaps between short fragments, or "reads." While previous research has focused on the global assembly problem, this paper characterizes the fundamental information-theoretic limits of the local problem: detecting whether two specific reads overlap. By analyzing the Maximum A Posteriori (MAP) detector in an asymptotic regime, the authors demonstrate that the detection threshold is governed by the Shannon entropy rate (in noiseless settings) or mutual information (in noisy settings), rather than the second-order Rényi entropy typically associated with sequence assembly. This work establishes tight bounds on the error probability, revealing a critical overlap length required for reliable detection.

Introduction

Shotgun sequencing is the standard method for decoding long genomic sequences. The process involves breaking a single long sequence into millions of short, overlapping reads, which are then computationally stitched back together. A fundamental step in this pipeline is overlap detection—determining if two reads originated from the same location in the genome and, if so, identifying the extent of their overlap.

While the "global" problem of sequence assembly has been extensively studied, this paper isolates the "local" problem of pairwise overlap detection. This distinction is vital for regimes with low coverage, such as metagenomics, where the genome is not fully sampled, and researchers must connect fragmented "islands" of sequence. The authors seek to define the absolute mathematical limits for reliable overlap detection as the total sequence length $n$ grows toward infinity.

Theoretical Framework and Methodology

The study employs a rigorous information-theoretic framework to analyze the Maximum A Posteriori (MAP) detector, which is the optimal strategy for minimizing the total probability of error. The analysis considers two primary scenarios:

  1. Noiseless Setting: Reads are perfect copies of the original sequence. The sequence is modeled as a stationary and ergodic process, a broad category that includes Markov chains.
  2. Noisy Setting: Reads are corrupted by a memoryless channel, simulating the errors inherent in sequencing technologies. In this case, the sequence is assumed to be stationary and memoryless.

The authors focus on an asymptotic regime where the sequence length $n \to \infty$ and the read length $\ell$ scales logarithmically with $n$ (specifically, $\ell = \beta \log n$). Using tools from large deviations theory—notably Bahadur-Rao bounds—and the Asymptotic Equipartition Property (AEP), they derive the exact constants defining the decay of error probabilities.

The Entropy Surprise: Shannon vs. Rényi

A central finding of this research is the shift in the governing metric for detection. In the context of full sequence reconstruction, the "repeat condition" (the point at which a sequence can no longer be uniquely assembled) is typically determined by the second-order Rényi entropy ($H_2$). This metric relates to the probability that two random strings match by chance.

However, for the detection of a single overlap, the limit is determined by the Shannon entropy rate ($H_1$). This shift occurs due to a massive prior imbalance. In a sequence of length $n$, there is only one "true" overlap position, but approximately $n$ possible positions where the reads do not overlap. This "needle in a haystack" scenario forces the detector to be extremely conservative. To overcome the high prior probability that two reads are unrelated, the evidence provided by the matching symbols must be significantly stronger than what is required for global assembly.

The "Undetectable" Zone and Noisy Equivalence

The authors identify a critical overlap length, $t^*$, defined as: $$t^* \approx \frac{\log n}{H_1(\mathbf{X})}$$

Any overlap shorter than $t^*$ is essentially impossible to distinguish from random noise. The information provided by the matching symbols in such a short window cannot overcome the statistical likelihood that the match occurred by pure chance somewhere else in the genome.

In the noisy setting, the Shannon entropy is replaced by the Mutual Information $I(Y; \tilde{Y})$ between two noisy observations of the same underlying symbol. This provides a unified metric for how sequencing noise degrades detection performance, showing that the fundamental limits of detection scale predictably with the quality of the sequencing channel.

Key Results

The paper proves that the minimal Bayesian error probability $P^*_{error}$ scales as: $$P^*_{error} \approx \phi \cdot \frac{\log n}{n}$$

The authors characterized the exact constant $\phi$ for both settings:

  • Noiseless: $\phi = 2 \cdot \min\left(\beta, \frac{1}{H_1(\mathbf{X})}\right)$
  • Noisy: $\phi = 2 \cdot \min\left(\beta, \frac{1}{I(Y; \tilde{Y})}\right)$

These results are "tight," meaning the authors provided both a mathematical upper bound (via the analysis of a specific detector) and a matching lower bound, proving that no possible detector can achieve a lower error rate.

Limitations and Future Work

While this work establishes a foundational limit, several avenues for future research remain:

  • Noisy Sequences with Memory: The noisy analysis is currently limited to memoryless sequences. Extending this to Markov chains is difficult because the resulting Hidden Markov structure complicates the likelihood calculations.
  • Synchronization Errors: The current model accounts for substitution errors but not "indels" (insertions and deletions), which are common in long-read sequencing and require alignment-based detection.
  • Sketches and Compression: Practical algorithms often use "sketches" (compressed read representations). Applying these theoretical limits to sketches could quantify the information loss incurred during compression.
  • Reference Genomes: The study assumes the sequence is entirely unknown. Incorporating a reference sequence, as seen in human re-sequencing projects, would likely alter the error exponents significantly.

Summary updated

BibTeX
@inproceedings{luria2025optimal,
  author = {Nir Luria and Nir Weinberger},
  title = {{Optimal Overlap Detection of Shotgun Reads}},
  booktitle = {ISIT},
  year = {2025},
  doi = {10.1109/isit63088.2025.11195688},
}
Figure