spacedkmer
Spaced k-mer is a representation used in sequence analysis in which a k-mer is defined by a fixed pattern of positions rather than by a contiguous run of bases. In this approach, a mask or pattern specifies which positions within a window of length L are considered for matching. The number of positions kept by the pattern is k, and the resulting subsequence formed from those selected positions is the spaced k-mer. For example, with a mask 1-0-1-1-0-1 on a six-base window, the bases at positions 1, 3, 4, and 6 are used, yielding a spaced k-mer of those four bases from the corresponding window.
Spaced k-mers are part of the broader concept of spaced seeds, and they are used to improve
Construction and analysis typically involve hashing or indexing the selected positions defined by the mask, enabling
Limitations include the need for careful pattern design and potential increases in computational overhead or complex