Algorithms for Molecular BiologyBioinformaticsPeer-reviewed journal article
Eulertigs: minimum plain text representation of k-mer sets without repetitions in linear time
Abstract
A fundamental operation in computational genomics is to reduce the input sequences to their constituent k-mers. For maximum performance of downstream applications it is important to store the k-mers in small space, while keeping the representation easy and efficient to use (i.e. without k-mer repetitions and in plain text). Recently, heuristics were presented to compute a near-minimum such representation. We present an algorithm to compute a minimum representation in optimal (linear) time and use it to evaluate the existing heuristics. For that, we present a formalisation of arc-centric bidirected de Bruijn graphs and carefully prove that it accurately models the k-mer spectrum of the input. Our algorithm first constructs the de Bruijn graph in linear time in the length of the input strings (for a fixed-size alphabet). Then it uses a Eulerian-cycle-based algorithm to compute the minimum representation, in time linear in the size of the output. 2012 ACM Subject ClassificationApplied computing [->] Computational biology; Theory of computation [->] Data compression; Theory of computation [->] Graph algorithms analysis; Theory of computation [->] Data structures design and analysis
- Citations
- 18
- FWCI
- 1.60
- Field percentile
- top 16%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Compression algorithm for colored de Bruijn graphs
Amatur Rahman, Yoann Dufresne, Paul Medvedev·bioRxiv·May 12, 2023
- Matchtigs: minimum plain text representation of kmer sets
Sebastian Schmidt, Shahbaz Khan, … Alexandru Ioan Tomescu·bioRxiv·Dec 15, 2021
- Where the patterns are: repetition-aware compression for colored de Bruijn graphs
Alessio Campanelli, Giulio Ermanno Pibiri, … Rob Patro·Journal of Computational BiologyPeer-reviewed·Oct 1, 2024
- A space and time-efficient index for the compacted colored de Bruijn graph
Fatemeh Almodaresi, Hirak Sarkar, … Rob Patro·BioinformaticsPeer-reviewed·Apr 16, 2018
- Fast Set Operations for Compact k-mer Sets
Jarno Alanko, Lore Depuydt, … Simon J. Puglisi·bioRxiv·May 27, 2026
- Representation of k-mer sets using spectrum-preserving string sets
Amatur Rahman, Paul Medevedev·Journal of Computational BiologyPeer-reviewed·Dec 8, 2020