Skip to main navigation Skip to search Skip to main content

Alignment-free sequence comparison using absent words

  • Panagiotis Charalampopoulos
  • , Maxime Crochemore
  • , Gabriele Fici
  • , Robert Mercaş
  • , Solon P. Pissis*
  • *Corresponding author for this work

Research output: Contribution to JournalArticleAcademicpeer-review

Abstract

Sequence comparison is a prerequisite to virtually all comparative genomic analyses. It is often realised by sequence alignment techniques, which are computationally expensive. This has led to increased research into alignment-free techniques, which are based on measures referring to the composition of sequences in terms of their constituent patterns. These measures, such as q-gram distance, are usually computed in time linear with respect to the length of the sequences. In this paper, we focus on the complementary idea: how two sequences can be efficiently compared based on information that does not occur in the sequences. A word is an absent word of some sequence if it does not occur in the sequence. An absent word is minimal if all its proper factors occur in the sequence. Here we present the first linear-time and linear-space algorithm to compare two sequences by considering all their minimal absent words. In the process, we present results of combinatorial interest, and also extend the proposed techniques to compare circular sequences. We also present an algorithm that, given a word x of length n, computes the largest integer for which all factors of x of that length occur in some minimal absent word of x in time and space O(n). Finally, we show that the known asymptotic upper bound on the number of minimal absent words of a word is tight.

Original languageEnglish
Pages (from-to)57-68
Number of pages12
JournalInformation and Computation
Volume262
DOIs
Publication statusPublished - Oct 2018
Externally publishedYes

Funding

We warmly thank Alice Héliou (École Polytechnique) for her inestimable code contribution and Antonio Restivo (Università di Palermo) for useful discussions. We also thank the anonymous reviewers for their constructive comments which greatly improved the presentation of the paper. Gabriele Fici's work was supported by the PRIN 2010/2011 project #“Automi e Linguaggi Formali: Aspetti Matematici e Applicativi” of the Italian Ministry of Education ( MIUR ) and by the “National Group for Algebraic and Geometric Structures, and their Applications” ( GNSAGA – INdAM ). Robert Mercaş's work was supported by a #Newton Fellowship of the Royal Society . Solon P. Pissis's work was supported by a Research Grant (# RG130720 ) awarded by the Royal Society .

FundersFunder number
Istituto Nazionale di Alta Matematica "Francesco Severi"
Gruppo Nazionale per le Strutture Algebriche, Geometriche e le loro Applicazioni
Royal SocietyRG130720
Ministero dell’Istruzione, dell’Università e della Ricerca

    Keywords

    • Absent words
    • Circular words
    • Forbidden words
    • q-grams
    • Sequence comparison

    Fingerprint

    Dive into the research topics of 'Alignment-free sequence comparison using absent words'. Together they form a unique fingerprint.

    Cite this