PalFM-index: FM-index for Palindrome Pattern Matching

06/25/2022
βˆ™
by   Shinya Nagashita, et al.
βˆ™
0
βˆ™

Palindrome pattern matching (pal-matching) problem is a generalized pattern matching problem, which searches for the occurrences of substrings in a text that have the same palindromic structure with a pattern. Given a text T of length n over an alphabet of size Οƒ, an index for pal-matching is to support, given a pattern P of length m, counting queries that compute the number π—ˆπ–Όπ–Ό of the occurrences of P and locating queries that compute the occurrences of P. The authors inΒ [I et al., Theor. Comput. Sci., 2013] proposed O(n n)-bit data structure to support counting queries in O(m Οƒ) time and locating queries in O(m Οƒ + π—ˆπ–Όπ–Ό) time. In this paper, we propose an FM-index type index for pal-matching problem, which we call PalFM-index, that occupies 2n min(Οƒ, n) + 2n + o(n) bits of space and supports counting queries in O(m) time. PalFM-index can support locating queries in O(m + Ξ”π—ˆπ–Όπ–Ό) time by adding n/Ξ” n + n + o(n) bits of space, where Ξ” is a parameter chosen from 1 ≀Δ≀ n.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
βˆ™ 06/03/2021

Position Heaps for Cartesian-tree Matching on Strings and Tries

The Cartesian-tree pattern matching is a recently introduced scheme of p...
research
βˆ™ 11/08/2021

Graphs can be succinctly indexed for pattern matching in O(|E|^2 + |V|^5 / 2) time

For the first time we provide a succinct pattern matching index for arbi...
research
βˆ™ 12/20/2017

Text Indexing and Searching in Sublinear Time

We introduce the first index that can be built in o(n) time for a text o...
research
βˆ™ 03/29/2021

A Fast and Small Subsampled R-index

The r-index (Gagie et al., JACM 2020) represented a breakthrough in comp...
research
βˆ™ 05/23/2019

COBS: a Compact Bit-Sliced Signature Index

We present COBS, a compact bit-sliced signature index, which is a cross-...
research
βˆ™ 05/10/2023

Acceleration of FM-index Queries Through Prefix-free Parsing

FM-indexes are a crucial data structure in DNA alignment, for example, b...
research
βˆ™ 11/24/2022

A fast and simple O (z log n)-space index for finding approximately longest common substrings

We describe how, given a text T [1..n] and a positive constant Ο΅, we can...

Please sign up or login with your details

Forgot password? Click here to reset