Article view

localScore: an R package to highlight optimal and suboptimal segments in a sequence with associated p-values computation

By David Robelin, Sébastien Dejean, Sabine Mercier

Article information

Publication
Published 16 December 2025
Institutions at publication
École Nationale Vétérinaire de Toulouse; Institut National Polytechnique de Toulouse; Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement; Génétique Physiologie et Systèmes d'Elevage; Université de Toulouse; Centre National de la Recherche Scientifique; Université Toulouse III - Paul Sabatier; Institut National des Sciences Appliquées de Toulouse; Université Toulouse - Jean Jaurès; Université Toulouse Capitole; Institut de Mathématiques de Toulouse
Citations No citation data yet
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

Highlighting atypical segments of a sequence is an important goal in very diverse domains. In the case where no prior information on the length of the segment to be highlighted is known, Karlin and Altschul defined, in 1990, the local score for biological sequence analysis, and an asymptotic approximation of its distribution was proposed in 1992. There are now many other theoretical results that can be used to establish the p-value of the local score in different contexts. We have developed an R package bringing together these results for a sequence modelled by independent and identically or Markovian distributed variables. It calculates the local score, the sub-optimal scores and their positions, and proposes to establish the p -value of the local score using the various theoretical methods available to date. An automatic analysis is also proposed to apply the most appropriate method depending on the sequence analyzed. Here we present the software package and various application examples. Comparisons with other tools used depending on the context of the application are also given. The localScore package is available on CRAN under the GPL-2 license (core program) and various licenses for the embedded Eigen library.

Works citing this article

No citations have been counted for this article yet.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
France3