Matchtigs: minimum plain text representation of k-mer sets

Genome Biol. 2023 Jun 9;24(1):136. doi: 10.1186/s13059-023-02968-z.

Abstract

We propose a polynomial algorithm computing a minimum plain-text representation of k-mer sets, as well as an efficient near-minimum greedy heuristic. When compressing read sets of large model organisms or bacterial pangenomes, with only a minor runtime increase, we shrink the representation by up to 59% over unitigs and 26% over previous work. Additionally, the number of strings is decreased by up to 97% over unitigs and 90% over previous work. Finally, a small representation has advantages in downstream applications, as it speeds up SSHash-Lite queries by up to 4.26× over unitigs and 2.10× over previous work.

Keywords: Chinese postman problem; Genomic sequences; Graph algorithm; Minimum-cost flow; Plain text compression; Sequence analysis; k-mer sets.

MeSH terms

  • Algorithms*
  • Bacteria
  • Sequence Analysis, DNA
  • Software*