Skip to main content

Succincter Text Indexing with Wildcards

  • Conference paper
Combinatorial Pattern Matching (CPM 2011)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6661))

Included in the following conference series:

Abstract

We study the problem of indexing text with wildcard positions, motivated by the challenge of aligning sequencing data to large genomes that contain millions of single nucleotide polymorphisms (SNPs) —positions known to differ between individuals. SNPs modeled as wildcards can lead to more informed and biologically relevant alignments. We improve the space complexity of previous approaches by giving a succinct index requiring (2 + o(1))n logσ + O(n) + O(d logn) + O(k logk) bits for a text of length n over an alphabet of size σ containing d groups of k wildcards. The new index is particularly favourable for larger alphabets and comparable for smaller alphabets, such as DNA. A key to the space reduction is a result we give showing how any compressed suffix array can be supplemented with auxiliary data structures occupying \(O(n) + O(d \log \frac{n}{d})\) bits to also support efficient dictionary matching queries. We present a new query algorithm for our wildcard index that greatly reduces the query working space to O(d m + m logn) bits, where m is the length of the query. We note that compared to previous results this reduces the working space by two orders of magnitude when aligning short read data to the Human genome.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Belazzougui, D.: Succinct dictionary matching with no slowdown. In: Symposium on Combinatorial Pattern Matching, pp. 88–100 (2010)

    Google Scholar 

  2. Bose, P., He, M., Maheshwari, A., Morin, P.: Succinct orthogonal range search structures on a grid with applications to text indexing. Algorithms and Data Structures, 98–109 (2009)

    Google Scholar 

  3. Briggs, P., Torczon, L.: An efficient representation for sparse sets. ACM Lett. Program. Lang. Syst. 2, 59–69 (1993)

    Article  Google Scholar 

  4. Cole, R., Gottlieb, L.A., Lewenstein, M.: Dictionary matching and indexing with errors and don’t cares. In: ACM Symposium on Theory of Computing, pp. 91–100 (2004)

    Google Scholar 

  5. Ferragina, P., Manzini, G.: Opportunistic data structures with applications. In: Symposium on Foundations of Computer Science, pp. 390–398 (2002)

    Google Scholar 

  6. Fischer, J., Makinen, V., Navarro, G.: Faster entropy-bounded compressed suffix trees. Theoretical Computer Science 410(51), 5354–5364 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  7. Frazer, K., Ballinger, D., Cox, D., Hinds, D., Stuve, L., Gibbs, R., et al.: A second generation human haplotype map of over 3.1 million SNPs. Nature 449(7164), 851–861 (2007)

    Article  Google Scholar 

  8. Grossi, R., Vitter, J.: Compressed suffix arrays and suffix trees with applications to text indexing and string matching. In: ACM Symposium on Theory of Computing, pp. 397–406 (2000)

    Google Scholar 

  9. Grossi, R., Gupta, A., Vitter, J.S.: High-order entropy-compressed text indexes. In: ACM-SIAM Symposium on Discrete Algorithms, pp. 841–850 (2003)

    Google Scholar 

  10. Hon, W., Ku, T., Shah, R., Thankachan, S., Vitter, J.: Faster Compressed Dictionary Matching. In: Symposium on String Processing and Information Retrieval, pp. 191–200 (2010)

    Google Scholar 

  11. Jacobson, G.: Succinct static data structures. Ph.D. thesis, Carnegie Mellon University (1989)

    Google Scholar 

  12. Knuth, D., Morris Jr., J., Pratt, V.: Fast pattern matching in strings. SIAM J. on Computing 6, 323 (1977)

    Article  MathSciNet  MATH  Google Scholar 

  13. Lam, T.W., Sung, W.K., Tam, S.L., Yiu, S.M.: Space efficient indexes for string matching with don’t cares. In: Conference on Algorithms and Computation, pp. 846–857 (2007)

    Google Scholar 

  14. Lam, T., Li, R., Tam, A., Wong, S., Wu, E., Yiu, S.: High throughput short read alignment via bi-directional BWT. In: IEEE Conference on Bioinformatics and Biomedicine, pp. 31–36 (2009)

    Google Scholar 

  15. Manber, U., Myers, G.: Suffix arrays: a new method for on-line string searches. In: ACM-SIAM Symposium on Discrete Algorithms, pp. 319–327 (1990)

    Google Scholar 

  16. Munro, J., Raman, V.: Succinct representation of balanced parentheses and static trees. SIAM J. on Computing 31(3), 762–776 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  17. Navarro, G., Mäkinen, V.: Compressed full-text indexes. ACM Computing Surveys 39(1), 2 (2007)

    Article  MATH  Google Scholar 

  18. Ohlebusch, E., Gog, S.: A compressed enhanced suffix array supporting fast string matching. In: Symposium on String Processing and Information Retrieval, pp. 51–62 (2009)

    Google Scholar 

  19. Ohlebusch, E., Gog, S., Kügel, A.: Computing matching statistics and maximal exact matches on compressed full-text indexes. In: Symposium on String Processing and Information Retrieval, pp. 347–358 (2010)

    Google Scholar 

  20. Raman, R., Raman, V., Rao, S.: Succinct indexable dictionaries with applications to encoding k-ary trees and multisets. In: ACM-SIAM Symposium on Discrete Algorithms, pp. 233–242 (2002)

    Google Scholar 

  21. Tam, A., Wu, E., Lam, T.W., Yiu, S.M.: Succinct text indexing with wildcards. In: Symposium on String Processing and Information Retrieval, pp. 39–50 (2009)

    Google Scholar 

  22. Weiner, P.: Linear pattern matching algorithms. In: Symposium on Switching and Automata Theory, pp. 1–11 (1973)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Thachuk, C. (2011). Succincter Text Indexing with Wildcards. In: Giancarlo, R., Manzini, G. (eds) Combinatorial Pattern Matching. CPM 2011. Lecture Notes in Computer Science, vol 6661. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21458-5_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-21458-5_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-21457-8

  • Online ISBN: 978-3-642-21458-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics