English

Locality-sensitive bucketing functions for the edit distance

Data Structures and Algorithms 2022-06-27 v2

Abstract

Many bioinformatics applications involve bucketing a set of sequences where each sequence is allowed to be assigned into multiple buckets. To achieve both high sensitivity and precision, bucketing methods are desired to assign similar sequences into the same bucket while assigning dissimilar sequences into distinct buckets. Existing kk-mer-based bucketing methods have been efficient in processing sequencing data with low error rate, but encounter much reduced sensitivity on data with high error rate. Locality-sensitive hashing (LSH) schemes are able to mitigate this issue through tolerating the edits in similar sequences, but state-of-the-art methods still have large gaps. Here we generalize the LSH function by allowing it to hash one sequence into multiple buckets. Formally, a bucketing function, which maps a sequence (of fixed length) into a subset of buckets, is defined to be (d1,d2)(d_1, d_2)-sensitive if any two sequences within an edit distance of d1d_1 are mapped into at least one shared bucket, and any two sequences with distance at least d2d_2 are mapped into disjoint subsets of buckets. We construct locality-sensitive bucketing (LSB) functions with a variety of values of (d1,d2)(d_1,d_2) and analyze their efficiency with respect to the total number of buckets needed as well as the number of buckets that a specific sequence is mapped to. We also prove lower bounds of these two parameters in different settings and show that some of our constructed LSB functions are optimal. These results provide theoretical foundations for their practical use in analyzing sequences with high error rate while also providing insights for the hardness of designing ungapped LSH functions.

Keywords

Cite

@article{arxiv.2206.03097,
  title  = {Locality-sensitive bucketing functions for the edit distance},
  author = {Ke Chen and Mingfu Shao},
  journal= {arXiv preprint arXiv:2206.03097},
  year   = {2022}
}

Comments

12 pages, 2 figures. To be published in WABI 2022, revised according to reviewers' comments

R2 v1 2026-06-24T11:41:37.365Z