IEEE Transactions on Knowledge and Data Engineering · 2023 · 12 citations · 62 references
ComputingComputer ScienceAlgorithmsInformation RetrievalNatural Language ProcessingApproximation AlgorithmsNearest Neighbor SearchSearching AlgorithmsString AlgorithmsIndex StructuresIndexesIndexingScalable IndexingSearch IndexingString IndexingString SearchString Searching
The minimizers sampling mechanism is a popular mechanism for string sampling. However, minimizers sampling mechanisms lack good guarantees on the expected size of their samples for different combinations of their input parameters. Furthermore, indexes constructed over minimizers samples lack good worst-case guarantees for on-line pattern searches. In response, we propose bidirectional string anchors (bd-anchors), a new string sampling mechanism. Given an integer <inline-formula><tex-math notation="LaTeX">$\ell$</tex-math></inline-formula> , our mechanism selects the lexicographically smallest rotation in every length- <inline-formula><tex-math notation="LaTeX">$\ell$</tex-math></inline-formula> fragment. We show that, like minimizers samples, bd-anchors samples are approximately uniform, locally consistent, and computable in linear time. Furthermore, our experiments demonstrate that the bd-anchors sample sizes decrease proportionally to <inline-formula><tex-math notation="LaTeX">$\ell$</tex-math></inline-formula> ; and that these sizes are <i>competitive to or smaller than</i> the minimizers sample sizes. We theoretically justify these results by analyzing the expected size of bd-anchors samples. We also prove that computing a total order on the input alphabet which minimizes the bd-anchors sample size is NP-hard. We next highlight the benefits of bd-anchors in two important applications: text indexing and top- <inline-formula><tex-math notation="LaTeX">$K$</tex-math></inline-formula> similarity search. For the first application, we develop an index for performing on-line pattern searches in near-optimal time, and show experimentally that a simple implementation of our index is <i>consistently faster</i> for on-line pattern searches than an analogous implementation of a minimizers-based index; we also show that it is <i>substantially</i> faster than two classic text indexes. For the second application, we develop a heuristic for top- <inline-formula><tex-math notation="LaTeX">$K$</tex-math></inline-formula> similarity search under edit distance, and show experimentally that it is generally as <i>accurate</i> as the state-of-the-art tool for the same purpose but <i>more than one order of magnitude faster</i> .
62
Fast and accurate short read alignment with Burrows–Wheeler transform
Heng Li, Richard Durbin · Bioinformatics · 2009 · 62.8K citations · Full text
Minimap2: pairwise alignment for nucleotide sequences
Heng Li · Bioinformatics · 2018 · 16.8K citations · Full text
Basic Local Alignment Search Tool
Stephen F. Altschul · Journal of Molecular Biology · 1990 · 13.9K citations
Binary codes capable of correcting deletions, insertions and reversals
V.I. Levenshtein · Soviet physics. Doklady · 1965 · 10.4K citations