Article view

General encoding of canonical k-mers

By Roland Wittler

Article information

Publication
Published 20 September 2023
Institutions at publication
Bielefeld University
13 Citations OpenAlex, 4 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

To index or compare sequences efficiently, often k -mers, i.e., substrings of fixed length k, are used. For efficient indexing or storage, k -mers are often encoded as integers, e.g., applying some bijective mapping between all possible σ k k -mers and the interval [0, σ k −1], where σ is the alphabet size. In many applications, e.g., when the reading direction of a DNA-sequence is ambiguous, canonical k -mers are considered, i.e., the lexicographically smaller of a given k -mer and its reverse (or reverse complement) is chosen as a representative. In naive encodings, canonical k -mers are not evenly distributed within the interval [0, σ k −1]. We present a minimal encoding of canonical k -mers on alphabets of arbitrary size, i.e., a mapping to the interval [0, σ k / 2−1]. The approach is introduced for canonicalization under reversal and extended to canonicalization under reverse complementation. We further present a space and time efficient bit-based implementation for the DNA alphabet.

Citations per year

Citations per year
YearCitations
2023 1
2024 6
2025 2
2026 4

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 13 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
Germany1