BetaAlign: a deep learning approach for multiple sequence alignment
Open Access
- 26 December 2024
- journal article
- research article
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 41 (1)
Abstract
Motivation: Multiple sequence alignments (MSAs) are extensively used in biology, from phylogenetic reconstruction to structure and function prediction. Here, we suggest an out-of-the-box approach for the inference of MSAs, which relies on algorithms developed for processing natural languages. We show that our artificial intelligence (AI)-based methodology can be trained to align sequences by processing alignments that are generated via simulations, and thus different aligners can be easily generated for datasets with specific evolutionary dynamics attributes. We expect that natural language processing (NLP) solutions will replace or augment classic solutions for computing alignments, and more generally, challenging inference tasks in phylogenomics. Results: The MSA problem is a fundamental pillar in bioinformatics, comparative genomics, and phylogenetics. Here, we characterize and improve BetaAlign, the first deep learning aligner, which substantially deviates from conventional algorithms of alignment computation. BetaAlign draws on NLP techniques and trains transformers to map a set of unaligned biological sequences to an MSA. We show that our approach is highly accurate, comparable and sometimes better than state-of-the-art alignment tools. We characterize the performance of BetaAlign and the effect of various aspects on accuracy; for example, the size of the training data, the effect of different transformer architectures, and the effect of learning on a subspace of indel-model parameters (subspace learning). We also introduce a new technique that leads to improved performance compared to our previous approach. Our findings further uncover the potential of NLP-based methods for sequence alignment, highlighting that AI-based algorithms can substantially challenge classic approaches in phylogenomics and bioinformatics. Availability and implementation: Datasets used in this work are available on HuggingFace (Wolf et al. Transformers: state-of-the-art natural language processing. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. p.38–45. 2020) at: https://huggingface.co/dotan1111. Source code is available at: https://github.com/idotan286/SimulateAlignments.Keywords
All Related Versions
Funding Information
- Israel Science Foundation (448/20, 2818/21)
- Azrieli Foundation Early Career Faculty
- Edmond J. Safra Center for Bioinformatics at Tel Aviv University
- Edouard Seroussi Chair for Protein Nanobiotechnology
- Tel Aviv University
This publication has 24 references indexed in Scilit:
- Phylogeny-Aware Gap Placement Prevents Errors in Sequence Alignment and Evolutionary AnalysisScience, 2008
- Clustal W and Clustal X version 2.0Bioinformatics, 2007
- Long-term trends in evolution of indels in protein sequencesBMC Ecology and Evolution, 2007
- DIALIGN: multiple DNA and protein sequence alignment at BiBiServNucleic Acids Research, 2004
- MUSCLE: multiple sequence alignment with high accuracy and high throughputNucleic Acids Research, 2004
- YIDB: the Yeast Intron DataBaseNucleic Acids Research, 2000
- Nucleotide Substitution Rate of Mammalian Mitochondrial GenomesJournal of Molecular Evolution, 1999
- Estimating the pattern of nucleotide substitutionJournal of Molecular Evolution, 1994
- On the Complexity of Multiple Sequence AlignmentJournal of Computational Biology, 1994
- A general method applicable to the search for similarities in the amino acid sequence of two proteinsJournal of Molecular Biology, 1970