Infrared: a declarative tree decomposition-powered framework for bioinformatics - Inria - Institut national de recherche en sciences et technologies du numérique
Article Dans Une Revue Algorithms for Molecular Biology Année : 2024

Infrared: a declarative tree decomposition-powered framework for bioinformatics

Résumé

Motivation: Many bioinformatics problems can be approached as optimization or controlled sampling tasks, and solved exactly and efficiently using Dynamic Programming (DP). However, such exact methods are typically tailored towards specific settings, complex to develop, and hard to implement and adapt to problem variations. Methods: We introduce the Infrared framework to overcome such hindrances for a large class of problems. Its underlying paradigm is tailored toward problems that can be declaratively formalized as sparse feature networks, a generalization of constraint networks. Classic Boolean constraints specify a search space, consisting of putative solutions whose evaluation is performed through a combination of features. Problems are then solved using generic cluster tree elimination algorithms over a tree decomposition of the feature network. Their overall complexities are linear on the number of variables, and only exponential on the treewidth of the feature network. For sparse feature networks, associated with low to moderate treewidths, these algorithms allow to find optimal solutions, or generate controlled samples, with practical empirical efficiency. Results: Implementing these methods, the Infrared software allows Python programmers to rapidly develop exact optimization and sampling applications based on a tree decomposition-based efficient processing. Instead of directly coding specialized algorithms, problems are declaratively modeled as sets of variables over finite domains, whose dependencies are captured by constraints and functions. Such models are then automatically solved by generic DP algorithms. To illustrate the applicability of Infrared in bioinformatics and guide new users, we model and discuss variants of bioinformatics applications. We provide reimplementations (and extensions) for methods targeting RNA design, RNA sequence-structure alignment, parsimony-driven inference of ancestral traits in phylogenetic trees/networks, and coding sequence design demonstrate multidimensional Boltzmann sampling. Previous work together with novel results demonstrate the practical relevance of the framework, whose complexity is typically equivalent or better than specialized algorithms and implementations. Infrared is available at https://www.lix.polytechnique.fr/~will/Software/Infrared with extensive documentation, including various usage examples and API reference; it can be installed using Conda or from source.
Fichier principal
Vignette du fichier
Infrared-2020.pdf (1.4 Mo) Télécharger le fichier
Infrared-2020-supp.pdf (263.64 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Licence
Origine Fichiers produits par l'(les) auteur(s)
Licence

Dates et versions

hal-04211173 , version 1 (19-09-2023)
hal-04211173 , version 2 (18-03-2024)

Licence

Identifiants

  • HAL Id : hal-04211173 , version 1

Citer

Hua-Ting Yao, Bertrand Marchand, Sarah J. Berkemer, Yann Ponty, Sebastian Will. Infrared: a declarative tree decomposition-powered framework for bioinformatics. Algorithms for Molecular Biology, In press. ⟨hal-04211173v1⟩

Collections

LIGM LIGM_ADA
197 Consultations
151 Téléchargements

Partager

More