ULTRA-Effective Labeling of Repetitive Genomic Sequence

Daniel R. Olson, Travis J. WheelerbioRxiv 2024

Abstract

In the age of long read sequencing, genomics researchers now have access to accurate repetitive DNA sequence (including satellites) that, due to the limitations of short read sequencing, could previously be observed only as unmappable fragments. Tools that annotate repetitive sequence are now more important than ever, so that we can better understand newly uncovered repetitive sequences, and also so that we can mitigate errors in bioinformatic software caused by those repetitive sequences. To that end, we introduce the 1.0 release of our tool for identifying and annotating locally-repetitive sequence, ULTRA (ULTRA Locates Tandemly Repetitive Areas). ULTRA is fast enough to use as part of an efficient annotation pipeline, produces state-of-the-art reliable coverage of repetitive regions containing many mutations, and provides interpretable statistics and labels for repetitive regions. It is released under an open license and available for download at https://github.com/TravisWheelerLab/ULTRA.

Introduction

Tandem repeats—sequences where a pattern like "CAG" repeats multiple times—constitute a significant portion of the human genome and are linked to numerous genetic diseases and regulatory functions. However, they present a major challenge for bioinformatics. As these repeats "age," they accumulate mutations (substitutions, insertions, and deletions), causing the repetitive pattern to "decay" and become nearly invisible to standard search tools.

Failure to accurately label (or "mask") these regions can lead to a flood of false positives in homology search tools, incorrectly suggesting evolutionary links between unrelated sequences. ULTRA (ULTRA Locates Tandemly Repetitive Areas) addresses this by using a sophisticated Hidden Markov Model (HMM) designed to find messy, mutated repeats without succumbing to genomic noise.

Methods

ULTRA introduces several algorithmic innovations to solve the sensitivity-speed trade-off inherent in repeat detection.

Context-Sensitive HMM and Look-back Mechanism

Unlike standard HMMs that are "blind" to previous states, ULTRA’s repetitive states utilize a "look-back" mechanism. A state with period $p$ checks the nucleotide $p$ positions prior to determine if it matches the current emission, effectively modeling the mechanics of replication slippage.

Overview of the ULTRA HMM architecture, showing transitions between non-repetitive and repetitive states with period $p$.

Explicit Indel Modeling

One of ULTRA's most novel features is the use of "J-states" to handle insertions and deletions. When an indel occurs, it shifts the repetitive pattern. ULTRA uses a unique chain of states to account for this temporary offset, preventing the annotation score from dropping precipitously when encountering small mutations.

Detailed modeling of insertions and deletions using J-states and a lookback mechanism to maintain pattern alignment.

Additional Innovations

  • Relative Emission Likelihood: ULTRA evaluates the ratio of repeat probability to background frequency, ensuring robustness in genomes with extreme GC-content (e.g., Plasmodium falciparum).
  • Repeat Splitting via JSD: To handle transitions between different patterns (e.g., "AC" to "GC"), ULTRA employs a sliding window approach calculating Jensen-Shannon Divergence (JSD) to split regions into distinct subrepeats.
  • Automated Tuning: A --tune subprogram automatically optimizes parameters for a specific genome by testing against locally shuffled sequences to estimate the False Discovery Rate (FDR).

Results

The performance of ULTRA was evaluated against five diverse genomes: Mycobacterium tuberculosis (high GC), Neurospora crassa, Zea Maize, Homo sapiens (T2T-CHM13v2.0), and Plasmodium falciparum (low GC).

  • Superior Coverage and Accuracy: ULTRA achieved higher genomic coverage than industry standards like TRF and tantan, particularly for repeats with longer periods (up to 500bp). It maintained a lower FDR despite this increased sensitivity. The repeat splitting feature demonstrated near 100% accuracy for sequences with up to 20% substitution rates.
  • High-Throughput Speed: ULTRA is the only tool among those tested that supports multithreading. Processing the 3.2 Gb human T2T genome took just 4.8 minutes (Wall Time) using 16 threads. In contrast, TRF required over 8.6 hours and struggled with stability on the full genome.

Conclusion and Future Work

ULTRA's ability to handle "decayed" repeats through explicit indel modeling and context-sensitive HMM states makes it a powerful tool for modern genomics. Its speed and multithreading support make it uniquely suited for the analysis of large-scale Telomere-to-Telomere assemblies.

While currently focused on DNA and RNA, future development priorities include support for protein sequences and improved characterization of complex Higher-Order Repeats (HORs) found in satellite DNA. ULTRA is open-source and available for the research community to enhance genomic annotation pipelines.

Summary updated

BibTeX
@misc{olson2024ultra,
  author = {Daniel R. Olson and Travis J. Wheeler and Travis J Wheeler and Travis J Wheeler},
  title = {{ULTRA-Effective Labeling of Repetitive Genomic Sequence}},
  year = {2024},
  doi = {10.1101/2024.06.03.597269},
  howpublished = {bioRxiv},
}
Figure