English

Fast detection of specific fragments against a set of sequences

Data Structures and Algorithms 2023-04-07 v2 Formal Languages and Automata Theory

Abstract

We design alignment-free techniques for comparing a sequence or word, called a target, against a set of words, called a reference. A target-specific factor of a target TT against a reference RR is a factor ww of a word in TT which is not a factor of a word of RR and such that any proper factor of ww is a factor of a word of RR. We first address the computation of the set of target-specific factors of a target TT against a reference RR, where TT and RR are finite sets of sequences. The result is the construction of an automaton accepting the set of all considered target-specific factors. The construction algorithm runs in linear time according to the size of TRT\cup R. The second result consists of the design of an algorithm to compute all the occurrences in a single sequence TT of its target-specific factors against a reference RR. The algorithm runs in real-time on the target sequence, independently of the number of occurrences of target-specific factors.

Keywords

Cite

@article{arxiv.2208.03451,
  title  = {Fast detection of specific fragments against a set of sequences},
  author = {Marie-Pierre Béal and Maxime Crochemore},
  journal= {arXiv preprint arXiv:2208.03451},
  year   = {2023}
}