For research use only · We delete your sequences and results from our servers within 1 hour of your job finishing · Details
From Sequences to Computation
5 min read
Biologists have long used computational tools to interpret protein sequences — but the most widely used approaches have a fundamental constraint: they depend on comparing your protein to known relatives. This article traces how the field arrived at that limitation, why it matters for modern protein engineering, and what changed when researchers asked a different question altogether.
The Scale Problem
There are now over 200 million protein sequences in public databases. That number has grown exponentially over the past decade, driven by cheap DNA sequencing and metagenomic projects that catalogue entire ecosystems at once. UniProt's TrEMBL database has grown to nearly 200 million sequence entries, roughly doubling every few years driven by metagenomic sequencing projects that catalogue entire ecosystems at once.
Wet-lab characterization has not kept pace. A single deep mutational scanning (DMS) experiment — where researchers systematically measure the effect of hundreds or thousands of mutations in one protein — takes months of work and substantial resources. Even well-funded groups can fully characterize only a handful of proteins per year.
The gap between "sequences we know about" and "sequences we understand" widens every month.
In plain terms: We can sequence proteins faster than we can figure out what they do. Computational tools exist to help bridge that gap — but most of them need prior knowledge to work.
Traditional Computational Approaches
Sequence alignment and conservation
The most established approach to predicting whether a mutation is harmful is to ask: has evolution tried it before?
BLAST (Basic Local Alignment Search Tool, Altschul et al., 1990) finds sequences that are similar to your query by comparing amino acid identities across databases. If an amino acid position is identical across dozens of organisms that diverged hundreds of millions of years ago, it is probably important — change it and you likely break something.
SIFT (Sorting Intolerant From Tolerant, Ng & Henikoff, 2003) formalizes this intuition. It builds a multiple sequence alignment (MSA) — a side-by-side comparison of your protein with its evolutionary relatives — and scores each possible mutation based on how often that amino acid appears at that position across related sequences. A position that accepts many different amino acids across species is considered "tolerant"; a position that only ever contains one or two amino acids is considered "intolerant."
PolyPhen-2 (Adzhubei et al., 2010) extends the same core idea. It layers structural features on top of conservation: is the position buried in the protein's hydrophobic core? Is it at a binding interface? Does the mutant amino acid have a very different size or charge from the wildtype? These features combine to produce a pathogenicity score calibrated against known disease variants.
In plain terms: SIFT and PolyPhen-2 are essentially asking "does evolution conserve this position?" If yes, touching it is risky. If no, it may be safe to change.
Both tools have proven genuinely useful for human genetics. They perform reasonably well on clinical variant classification, and they are fast once the MSA is built. PolyPhen-2, for example, performs reasonably well on clinical variant classification, though it is substantially outperformed by newer methods that incorporate structural context (Cheng et al., 2023).
The Limitations of Homolog-Dependent Methods
Limitation: Conservation-based tools — SIFT, PolyPhen-2, EVE, and related approaches — require a sufficiently deep MSA of homologous sequences to function reliably. For proteins with few known relatives, they provide weak or unreliable predictions.
This limitation is consequential in several real scenarios:
Orphan proteins. Lineage-specific genes — those with no detectable homologs outside a related group of species — are common across sequenced genomes, comprising anywhere from 1% (in humans) to over 20% (in some fungi and plants) of total genes depending on the organism (Weisman et al., 2020). Crucially, many of these proteins have no useful alignment partners, leaving conservation-based tools with little to work with.
Novel designed proteins. If you are engineering an enzyme with an active site geometry that does not exist in nature — or designing a de novo protein from scratch — there are no evolutionary relatives to align against.
Pathogen surface proteins. Rapidly evolving viral and bacterial surface antigens often have shallow MSAs because their evolutionary history is short and their sequences diverge quickly under immune pressure. Influenza hemagglutinin has sufficient homologs for analysis — but emerging viral proteins from novel pathogens may not.
The MSA construction bottleneck. Building a high-quality MSA is not always fast. Tools like JackHMMER or HH-suite iterate against large databases and can take minutes to hours on a standard workstation, depending on protein family size. For interactive analysis at scale, this creates a practical friction point.
Limitation: Even when homologs exist, conservation scores reflect average evolutionary constraint across the entire protein family. They cannot tell you whether a mutation is beneficial for your specific application — an engineered high-temperature variant, for example, or a humanized antibody.
There is also a more fundamental ceiling: conservation-based methods are, at their core, frequency tables. They tell you what evolution has accepted but cannot reason about why. They do not know that position 57 in a serine protease is conserved because it is the catalytic histidine — they just know the amino acid rarely changes.
A Different Question: What If the Model Could Learn Protein Grammar?
Around 2018, the natural language processing community demonstrated something surprising. Large neural networks trained on text — with no explicit rules, no grammar textbooks, no labeled examples of correct sentences — learned to represent language structure implicitly. They could complete sentences, answer questions, and translate between languages because they had seen enough language to internalize how words and phrases constrain each other.
Protein sequences share structural features with language. Amino acids are not independent; they co-evolve, pack together in space, and participate in networks of interactions that span the entire chain. A change at one position can be compensated by a change at another. The sequence is not a random string — it has grammar.
The question researchers at Meta AI (and collaborators) asked around 2019–2021 was: could a model trained on millions of protein sequences learn this grammar without any supervision — without being told anything about structure, function, or disease?
The answer, as demonstrated in Rives et al. (2021, PNAS), was yes.
In plain terms: Instead of asking "what have homologs seen at this position?", a protein language model asks "given everything else in this sequence, what amino acid would fit here?" That is a fundamentally different computation — and it does not require any homologs.
Masked language modeling (the core training method) works like this: take a protein sequence, randomly hide 15% of the amino acids, and ask the model to predict what was hidden using only the surrounding context. Do this billions of times across millions of sequences, and the model learns which amino acid combinations are plausible — not because it was told, but because it had to predict them.
What emerges, as Rives et al. (2021) showed, is a model whose internal representations encode secondary structure, residue-residue contacts, and protein family membership — all as implicit consequences of learning to predict masked amino acids. The model has, in effect, learned a compressed summary of evolutionary constraint and structural compatibility.
Beta-lactamase (the bacterial enzyme that destroys penicillin-class antibiotics) illustrates why this matters practically. It is a well-studied protein with thousands of known variants from clinical isolates and DMS experiments. A conservation-based tool like SIFT performs reasonably well on it — the family has deep MSAs. But consider a newly identified beta-lactamase variant from a novel pathogen, with only 50 characterized homologs. SIFT's signal degrades. A protein language model, having trained on all of UniRef, has internalized evolutionary grammar for beta-lactamase-like folds and can still produce a meaningful prediction without a deep MSA.
Why this matters: For protein engineers working on scaffolds with few known relatives — synthetic biology, enzyme design, novel antibody scaffolds — homolog-dependent methods may give weak or unreliable results. Language model-based approaches provide a single consistent framework regardless of how well-characterized the protein family is.
What the Shift Actually Changes
To be clear about what protein language models do and do not replace:
They do not replace wet-lab experiments. A score from a language model is a prediction of evolutionary plausibility, not a measurement of your specific assay. It correlates with experimental fitness across a range of proteins and properties (Meier et al., 2021, NeurIPS), but correlation is not certainty.
They do not make traditional alignment tools obsolete. For well-characterized protein families with deep MSAs, tools like EVE (Frazer et al., 2021, Nature) — which trains a per-protein model on the MSA directly — can outperform single-sequence language models. The appropriate tool depends on what data you have.
What protein language models change is the set of proteins and questions you can address computationally. A researcher studying an orphan enzyme, designing a novel scaffold, or analyzing a rapidly evolving viral protein gains access to predictive tools that previously had nothing to work with. The barrier to computational analysis drops substantially.
The next article in this series — Protein Language Models — explains in detail how ESM-2 is trained, what its internal representations encode, and how the platform uses it to score individual mutations.
References
- Altschul, S.F., Gish, W., Miller, W., Myers, E.W., & Lipman, D.J. (1990). Basic local alignment search tool. Journal of Molecular Biology, 215(3), 403–410.
- Ng, P.C. & Henikoff, S. (2003). SIFT: Predicting amino acid changes that affect protein function. Nucleic Acids Research, 31(13), 3812–3814. https://doi.org/10.1093/nar/gkg509
- Adzhubei, I.A., Schmidt, S., Peshkin, L., Ramensky, V.E., Gerasimova, A., Bork, P., Kondrashov, A.S., & Sunyaev, S.R. (2010). A method and server for predicting damaging missense mutations. Nature Methods, 7(4), 248–249. https://doi.org/10.1038/nmeth0410-248
- Rives, A., Meier, J., Sercu, T., Goyal, S., Lin, Z., Liu, J., Guo, D., Ott, M., Zitnick, C.L., Ma, J., & Fergus, R. (2021). Biological structure and function emerge from scaling unsupervised learning to 250 million protein sequences. PNAS, 118(15), e2016239118. https://doi.org/10.1073/pnas.2016239118
- Meier, J., Rao, R., Verkuil, R., Liu, J., Sercu, T., & Rives, A. (2021). Language models enable zero-shot prediction of the effects of mutations on protein function. NeurIPS, 34, 29287–29303.
- Frazer, J., Notin, P., Dias, M., Gomez, A., Min, J.K., Brock, K., Gal, Y., & Marks, D.S. (2021). Disease variant prediction with deep generative models of evolutionary data. Nature, 597(7875), 91–95. https://doi.org/10.1038/s41586-021-04043-8
- Cheng, J., Novati, G., Pan, J., Bycroft, C., Zemgulys, A., et al. (2023). Accurate proteome-wide missense variant effect prediction with AlphaMissense. Science, 381(6664), eadg7492. https://doi.org/10.1126/science.adg7492