In recent years, there has been a renewed interest in the search for low density minimizer schemes. These schemes take a window of consecutive -mers, and sample one of them: the smallest under some specific order. Schemes such as the mod-minimizer provide a low density (fraction of sampled -mers) when , while schemes such as the greedy minimizer work well for explicit small parameters roughly in the regime , for and up to or so. When is very small, minimizer schemes cannot do well, and more general sampling schemes are needed that can be richer than just comparing -mers. Bidirectional-string anchors (bd-anchors) form one such scheme. Inspired by bd-anchors, we introduce the smallest unique substring or SUS-anchor: Given a window, this considers all suffixes that do not occur as a substring elsewhere in the window. It then samples the start position of the smallest suffix according to the new anti-lexicographic order that minimizes the first character and maximizes the remaining characters. We give a linear-time and space streaming algorithm to compute all SUS-anchors of a string. For alphabet size and , the anti-lexicographic SUS-anchor empirically has density away from the density lower bound, significantly improving over bd-anchors that are often above it. For alphabet size , the density is at most above the lower bound, which again improves over the overhead of bd-anchors.

生成讲解博客的中文版本

生成AI智能校验的中文版本