← Workbench

AnalyseVia your AI assistantProtein

Language-model scan of point mutations

Free · instant

Score single amino-acid substitutions of a protein sequence with the ESM2 language model, or scan all 19 substitutions at chosen positions. Each number is the log-likelihood ratio of the mutant letter against the wild-type letter at that position, with the sign stated in the result. Give a sequence or a UniProt accession; a wild-type letter that does not match the sequence refuses the request.

Try asking

Using rnafold, take crambin (UniProt P01542), score the mutations I7A and F13L, scan every substitution at position 10, and tell me what the sign of each number means and how much weight a zero-shot language-model score can bear.

Tools your assistant calls

score_variant_effectslookup_alphafold_dbprotein_properties

Every tool, with its inputs and outputs →

How it works

The method behind this item.

ESM2 (650M) masked-marginal scanTool · version esm2_t33_650M_UR50D, Hugging Face revision 08e4846

ESM2 is a protein language model trained to fill in masked amino acids in UniRef50 sequences. For a substitution at one position we replace that residue by the mask token, run the model once on your sequence, and report the natural-log probability of the new letter minus that of the original letter. A positive value means the model assigns the new letter a higher probability than the original one at that position; zero means equal. We run it in float32, on the GPU when it is free and otherwise on the CPU, for each single substitution you list or for all 19 at the positions you choose, in the order you give them, on positions counted from 1 on your sequence. Nothing is ranked, labelled or combined into a multi-mutant.

Paper

Lin Z, et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science 379, 2023.

Meier J, Rao R, Verkuil R, Liu J, Sercu T, Rives A. Language models enable zero-shot prediction of the effects of mutations on protein function. bioRxiv, 2021.

Code
ESM on GitHub
Licence
MIT (code and the released weights); the UniRef50 training data are CC-BY-4.0 · Copyright (c) Meta Platforms, Inc. and affiliates
Length cap here
10 to 1,022 residues; 300 substitutions and 15 scanned positions per request

On 30 public deep mutational scans (107,077 single substitutions, 29 proteins) the scores had a mean Spearman correlation of 0.41 with the measurements (95% bootstrap interval 0.33 to 0.48, resampling proteins), against 0.20 for BLOSUM62; for three proteins it was at or below that baseline and for one it was negative. That is a moderate correlation, not agreement, and it varies a great deal between proteins. The score is a language-model likelihood, not a stability, activity, fitness or pathogenicity, and the model sees the sequence alone.

Limits

  • A positive value means the model assigns the mutant letter a higher probability than the wild-type letter at that position, given the rest of the sequence. It is a language-model likelihood, not a measured or predicted stability, activity, fitness or pathogenicity.
  • Zero-shot scores of this kind agree only moderately with measured deep mutational scans, and the agreement varies a great deal from one protein to another. Read a value as one weak line of evidence, never as a result.
  • The model sees the sequence alone: no structure, partner chain, ligand, modification or cellular context. Each substitution is scored on its own and nothing is combined into a multi-mutant.
  • Results are listed in the order you gave them; a scan lists the 19 substitutions of a position alphabetically by one-letter code. Nothing is ranked or labelled.
  • Sequences of 10 to 1,022 residues of the 20 standard amino acids only (longer or non-standard input is refused, never truncated); up to 300 substitutions and 15 scanned positions per request.