Deciphering the Language of Nature: A transformer-based language model for deleterious mutations in proteins

Theodore Jiang, Li Fang, Kai Wang
10/27/2021
q-bio.GNcs.LGq-bio.QM
transformer-attention

Official code: WGLab/mutformer (12 stars, Jupyter Notebook, Apache-2.0, last commit 2025-06-25).

Abstract

Various machine-learning models, including deep neural network models, have already been developed to predict deleteriousness of missense (non-synonymous) mutations. Potential improvements to the current state of the art, however, may still benefit from a fresh look at the biological problem using more sophisticated self-adaptive machine-learning approaches.

Show full abstract

Recent advances in the natural language processing field show transformer models-a type of deep neural network-to be particularly powerful at modeling sequence information with context dependence. In this study, we introduce MutFormer, a transformer-based model for the prediction of deleterious missense mutations, which uses reference and mutated protein sequences from the human genome as the primary features. MutFormer takes advantage of a combination of self-attention layers and convolutional layers to learn both long-range and short-range dependencies between amino acid mutations in a protein sequence. In this study, we first pre-trained MutFormer on reference protein sequences and mutated protein sequences resulting from common genetic variants observed in human populations. We next examined different fine-tuning methods to successfully apply the model to deleteriousness prediction of missense mutations. Finally, we evaluated MutFormer's performance on multiple testing data sets. We found that MutFormer showed similar or improved performance over a variety of existing tools, including those that used conventional machine-learning approaches. We conclude that MutFormer successfully considers sequence features that are not explored in previous studies and could potentially complement existing computational predictions or empirically generated functional scores to improve our understanding of disease variants.

View on arXivView PDF

Code Implementations(1)

WGLab/mutformerOfficial100%
Apache-2.0

A transformer model to predict pathogenic mutations

122Jupyter Notebook, PythonAug 26, 20211 years agoApache-2.0

Similar Papers

Cite this paper

@article{jiang2021deciphering,
  title  = {Deciphering the Language of Nature: A transformer-based language model for deleterious mutations in proteins},
  author = {Theodore Jiang and Li Fang and Kai Wang},
  year   = {2021},
  eprint = {2110.14746},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14746}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14746.svg)](https://codeofpaper.com/paper/2110.14746)

Discussion