Skip to main content
bioRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search
New Results

Succinct k-mer Sets Using Subset Rank Queries on the Spectral Burrows-Wheeler Transform *

Jarno N. Alanko, Simon J. Puglisi, Jaakko Vuohtoniemi
doi: https://doi.org/10.1101/2022.05.19.492613
Jarno N. Alanko
†University of Helsinki, Department of Computer Science, Helsinki, Finland
‡Dalhousie University, Faculty of Computer Science, Halifax, Canada
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: alanko.jarno@gmail.com
Simon J. Puglisi
†University of Helsinki, Department of Computer Science, Helsinki, Finland
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Jaakko Vuohtoniemi
†University of Helsinki, Department of Computer Science, Helsinki, Finland
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

The k-spectrum of a string is the set of all distinct substrings of length k occurring in the string. This is a lossy but computationally convenient representation of the information in the string, with many applications in high-throughput bioinformatics. In this work, we define the notion of the Spectral Burrows-Wheeler Transform (SBWT), which is a sequence of subsets of the alphabet of the string encoding the k-spectrum of the string. The SBWT is a distillation of the ideas found in the BOSS and Wheeler graph data structures. We explore multiple different approaches to index the SBWT for membership queries on the underlying k-spectrum. We identify subset rank queries as the essential subproblem, and propose four succinct index structures to solve it. One of the approaches essentially leads to the known BOSS data structure, while the other three offer attractive time-space trade-offs and support simpler query algorithms that rely only on fast rank queries. The most general approach involves a novel data structure we call the subset wavelet tree, which we find to be of independent interest. All of the approaches are also amendable to entropy compression, which leads to good space bounds on the sizes of the data structures. Using entropy compression, we show that the SBWT can support membership queries on the k-spectrum of a single string in O(k) time and (n + k)(log σ + 1/ ln 2) + o((n + k)σ) bits of space, where n is the number of distinct substrings of length k in the input and σ is the size of the alphabet. This improves from the time O(k log σ) achieved by the BOSS data structure. We show, via experiments on a range of genomic data sets, that the simplicity of our new indexes translates into large performance gains in practice over prior art.

Competing Interest Statement

The authors have declared no competing interest.

Footnotes

  • * This work was supported in part by the Academy of Finland via grants 339070 and 351150, and NIH NIAID grant R01HG011392

  • Added a construction algorithm, streaming query algorithm and expanded the experimental section. Corrected a mistake in the experiments where the SARS-CoV-2 index was accidentally ran on a wrong file which made the SARS-CoV-2 results invalid. Corrected a number of typos. Removed the discussion about compression boosting due to space constraints in the submission.

  • https://github.com/algbio/SBWT

Copyright 
The copyright holder for this preprint is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY 4.0 International license.
Back to top
PreviousNext
Posted September 05, 2022.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about bioRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Succinct k-mer Sets Using Subset Rank Queries on the Spectral Burrows-Wheeler Transform *
(Your Name) has forwarded a page to you from bioRxiv
(Your Name) thought you would like to see this page from the bioRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Succinct k-mer Sets Using Subset Rank Queries on the Spectral Burrows-Wheeler Transform *
Jarno N. Alanko, Simon J. Puglisi, Jaakko Vuohtoniemi
bioRxiv 2022.05.19.492613; doi: https://doi.org/10.1101/2022.05.19.492613
Reddit logo Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Succinct k-mer Sets Using Subset Rank Queries on the Spectral Burrows-Wheeler Transform *
Jarno N. Alanko, Simon J. Puglisi, Jaakko Vuohtoniemi
bioRxiv 2022.05.19.492613; doi: https://doi.org/10.1101/2022.05.19.492613

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Bioinformatics
Subject Areas
All Articles
  • Animal Behavior and Cognition (4866)
  • Biochemistry (10822)
  • Bioengineering (8069)
  • Bioinformatics (27385)
  • Biophysics (14030)
  • Cancer Biology (11167)
  • Cell Biology (16106)
  • Clinical Trials (138)
  • Developmental Biology (8809)
  • Ecology (13333)
  • Epidemiology (2067)
  • Evolutionary Biology (17400)
  • Genetics (11706)
  • Genomics (15964)
  • Immunology (11063)
  • Microbiology (26172)
  • Molecular Biology (10685)
  • Neuroscience (56750)
  • Paleontology (422)
  • Pathology (1737)
  • Pharmacology and Toxicology (3012)
  • Physiology (4570)
  • Plant Biology (9671)
  • Scientific Communication and Education (1617)
  • Synthetic Biology (2699)
  • Systems Biology (6997)
  • Zoology (1515)