Skip to main content
BMC Genomics logoLink to BMC Genomics
. 2026 May 30;27:645. doi: 10.1186/s12864-026-12976-5

PRIME: An evaluation framework for protein representation inference and generalization in viral mutation space

Kaetlyn Gibson 1, Po-E Li 1, Valerie Li 1, Martha Dix 1, Li-Wei Hung 2, George Widgery Stelle 3, Michal Babinski 1, Patrick Chain 1, Bin Hu 1,
PMCID: PMC13425921  PMID: 42215857

Abstract

Background

Protein language models (PLMs) have revolutionized protein fitness prediction, yet their application to rapidly evolving viral pathogens is often confounded by extreme sequence homology. This homology leads to “data leakage” in standard random validation splits, yielding inflated performance metrics that fail to translate into real-world biosurveillance utility.

Results

We present Protein Representation Inference for Mutation Evaluation (PRIME), a framework that integrates domain-specific fine-tuning with a rigorous position-stratified validation protocol to evaluate viral threats. Using a dataset of 347,432 SARS-CoV-2 receptor binding domain (RBD) sequences, we demonstrate that while random training data split yields deceptive R2 values (> 0.90), they fail to generalize to novel mutational sites. By benchmarking models up to 650 M parameters, we show that domain-specific fine-tuning of the ESM-C 600 M model with correctly stratified data provides an initial demonstration of predictive signal for binding affinity and expression at unseen mutational sites of binding affinity and expression on unseen sites (R2 ~0.23), a significant advancement over base foundation models which exhibit no predictive power (R2 <0). PRIME’s embedding-based clustering identified 3.03% of bat coronavirus sequences as candidates for further experimental prioritization based on their functional similarity to human-infective strains in embedding space, offering a perspective complementary to traditional phylogenetic methods.

Conclusion

PRIME establishes a new benchmark for the application of PLMs in pathogen surveillance. Our findings demonstrate that state-of-the-art models and fine-tuning, when paired with stratified validation, provide biologically meaningful insights into pathogen evolution and zoonotic risk.

Supplementary Information

The online version contains supplementary material available at 10.1186/s12864-026-12976-5.

Keywords: Protein language models, Biosurveillance, Phenotype prediction, Gomology leakage, Position-stratified validation, Host tropism prediction, Model fine-tuning, Machine learning efficiency

Background

Pathogen evolution continuously generates variants with altered phenotypic properties that fundamentally shift transmission dynamics [15], immune interactions [69], and host range [1012]. Current computational biosurveillance strategies, while effective for phylogenetic tracking, face significant limitations in predicting how specific genetic changes translate into the phenotypic consequences that drive outbreak dynamics. Traditional multiple sequence alignment (MSA) and phylogenetic methods [1316] are inherently reactive; they often fail to capture genotype-to-phenotype relationships between pathogens that share functional properties but are phylogenetically distant [4, 5, 1719]. Furthermore, these approaches scale poorly [20] when applied to the massive, diverse sequence datasets generated during real-time pandemic monitoring and may introduce artifacts when analyzing hypervariable viral genomes under selective pressure [21]. Recent computational efforts have begun to address this gap through proactive approaches, including machine learning models for forecasting future dominant SARS-CoV-2 lineages [22], anomaly-detection frameworks for flagging emerging variants before they reach epidemiological significance, and generative models that anticipate plausible future viral sequences to expand surveillance coverage beyond observed diversity [23]. While these approaches represent important advances, they have not systematically addressed the evaluation bias introduced by homology leakage, nor have they benchmarked the conditions under which PLM-derived representations genuinely generalize to novel mutational sites.

The receptor-binding domains (RBDs) [2427] of betacoronavirus spike proteins illustrate these challenges. The SARS-CoV-2 RBD binds the human ACE2 receptor [28] while the related MERS-CoV binds to dipeptidyl peptidase (DPP4) [29, 30], illustrating how discrete sequence variations in homologous domains dictate host specificity. The evolutionary adaptability of the RBD is further underscored by the emergence of the Omicron (B.1.1.529) lineage, where pivotal mutations within the RBD enabled widespread escape by significantly attenuating antibody neutralization efficacy and compromising vaccine-induced immunity [3134].

Deep mutational scanning (DMS) has emerged as a powerful experimental tool to systematically survey how random mutations across a sequence impacts protein function, providing rich datasets that capture complex, non-linear molecular interactions [3538]. However, extracting actionable patterns from these high-dimensional, combinatorial datasets requires computational frameworks capable of modeling intricate biophysical constraints.

Protein language models (PLMs) such as the Evolutionary Scale Modeling (ESM) family [3944], have shown immense promise in capturing sequence-function relationships by learning from millions of protein sequences across the tree of life [45]. Despite their success in general protein modeling and structure prediction, direct application to pathogen-specific sequences often yields limited predictive power. The subtle sequence variations that distinguish viral lineages or confer immune escape represent only a small fraction of the sequence space covered by general foundation models. Moreover, many pathogen sequences are intentionally excluded from the large-scale training sets due to biosecurity concerns, creating a critical resolution gap in legitimate biosurveillance applications.

A primary, yet often overlooked, obstacle in applying PLMs to viral data is the phenomenon of “homology leakage”. Due to the extreme sequence similarity within viral families, standard random training-test splits often allow models to achieve deceptively high accuracy by memorizing site-specific fitness effects rather than learning generalizable biophysical rules. This results in performance metrics that fail to translate into predictive utility for novel, emerging variants. These concerns are corroborated by recent evidence demonstrating that pretrained PLMs can inflate performance scores in paired biological tasks through the memorization of training sequences [46]. Critically, such models have been shown to fail in generalizing to the effect of point mutations on binding affinities, highlighting a fundamental gap in current evaluation protocols. To address this directly, we introduce a position-stratified splitting strategy that partitions mutation sites — rather than sequences — into disjoint train and test sets, ensuring the model is never evaluated on positions encountered during training (Fig. 1). Unlike random splits, where the same mutated positions routinely appear in both partitions and artificially inflate performance estimates, position-stratified splits provide a more stringent test of generalization to unseen mutational sites.

Fig. 1.

Fig. 1

Overview of random and position-stratified splitting strategies for SARS-CoV-2 DMS data. A Example sequence variants derived from a shortened wild-type (WT) SARS-CoV-2 RBD sequence. Each variant carries one or more amino acid substitutions (circled) relative to the WT; blue circles indicate positions assigned to the train-position set and orange circles indicate positions assigned to the test-position set. B In a random split, variants are assigned to train or test partitions at the sequence level without consideration of mutation positions. Consequently, the same mutated positions appear in both partitions — for example, positions 2, 5, and 7 are shared across train and test — creating positional information leakage that inflates apparent model performance. C In a position-stratified split, all mutation positions across the dataset are first identified, then partitioned into disjoint train-position and test-position sets using KFold indexing (illustrated here with one fold for clarity; five folds are used in Table 1, Supplementary Table 6, and Supplementary Figure 10). Variants are then assigned based on the positions of all mutations they carry: variants mutated exclusively at train positions are assigned to train, variants mutated exclusively at test positions are assigned to test, and variants carrying mutations from both position sets are excluded to prevent positional overlap. This design ensures that the model is evaluated only on mutation sites never seen during training, providing a more realistic estimate of generalization to novel mutational positions

Here, we present PRIME (Protein Representation Inference for Mutation Evaluation), a framework that attempts to address these limitations by combining domain-specific fine-tuning of state-of-the-art PLMs with a rigorous position-stratified validation protocol. Our approach demonstrates three key advances: (1) we show that fine-tuning is essential for models to predict phenotypes at previously “unseen” mutational sites; (2) we demonstrate that neural networks built upon these specialized embeddings achieve meaningful predictive power on stratified benchmarks where base foundation models fail; and (3) we show that embedding-based functional clustering can identify host tropism patterns and provide a complementary perspective on functional similarity among bat coronavirus sequences relative to traditional phylogenetic approaches. PRIME complements emerging proactive surveillance methods by establishing a rigorous evaluation standard — position-stratified validation — that can serve as a benchmark for any PLM-based framework operating in high-homology viral sequence space.

Results

Benchmark data collection for viral phenotype prediction

We collected and curated three complementary sequencing datasets, “outbreak”, “DMS” and “betaCov”, to comprehensively analyze RBD sequences. The outbreak dataset comprises 347,432 unique RBD sequences curated from GISAID [47] and the Sequence Read Archive (SRA) [48] as of February 3rd, 2023, with all duplicates and sequences containing ambiguous amino acids removed. This dataset represents viral sequences under real-time selection pressure during the SARS-CoV-2 pandemic, spanning all major SARS-CoV-2 lineages, with Omicron (52.70%), Delta (35.71%), and Alpha (7.20%) variants accounting for 95.61% of the sequences (Fig. 2A). Amino acid distribution analysis revealed representation of all 20 canonical amino acids, though with notable variability—Leucine (9.48%), Valine (9.04%), and Serine (7.12%) were most abundant, while Methionine appeared in only 0.01% of positions and fewer than 1% of all sequences (Fig. 2B). Sequence length distribution was highly uniform, with 99.75% of the sequences consisting of 223 amino acids.

Fig. 2.

Fig. 2

SARS-CoV-2 RBD sequence analysis and language model performance comparison. A Distribution of viral lineages in the outbreak dataset (n = 347,432 sequences), showing predominance of Omicron (52.70%) and Delta (35.71%) variants. B Amino acid frequency distribution within RBD sequences, highlighting variability in representation from most common (Asparagine, 9.48%) to rare occurrences (Methionine, 0.01%). C Confusion matrix of the non-fine-tuned ESM-2 8M model amino acid prediction accuracy. Diagonal values represent correct prediction rates for each amino acid, with overall accuracy of 5.06%. D Confusion matrix for the PRIME fine-tuned ESM-RBD (ESM-2 8M) model after 100 epochs, demonstrating a 19-fold improvement in sequence understanding with an overall masked language modeling accuracy of 96.33%

For evaluating model performance in predicting functional properties, we utilized the DMS dataset containing 116,257 unique RBD sequences with measured ACE2 binding affinities and 105,525 unique RBD sequences with quantified expression levels from yeast in vitro experiments [36].

To assess cross-species coronavirus predictions, we assembled the betaCov dataset containing 75 RBD sequences from diverse Sarbecovirus members, including SARS-CoV-2 (Wuhan-HU-1 strain [49], RaTG13v (a bat coronavirus reportedly closely related to SARS-CoV-2 [50]), SARS-CoV-1 [51], MERS-CoV [52], Pangolin-CoV [53], and various bat coronaviruses used in a recent survey of sarbecovirus ACE2 binding [36]. This dataset represents RBD sequences targeting different mammalian hosts, including bat, pangolin, civet, camel, and human (Supplementary Table 1), with some SARS-CoV-1 and MERS-CoV sequences demonstrating cross-species receptor binding.

Scaling and fine-tuning overcome the generalization gap

To evaluate the predictive limits of Protein Language Models (PLMs) in the context of high sequence homology, we benchmarked five PLM architectures spanning two architectures: ESM-2 [40] (8 M, 150 M, 650 M) and ESM-C [52] (300 M, 600 M), under both random and position-stratified regimes. To address “homology leakage”, we implemented position-stratified cross-validation, where all mutations at specific residue positions are held out from the training set to measure genuine biological generalization.

We first assessed whether domain-specific fine-tuning could improve the model’s representation of the RBD sequence space. The original ESM-2 8 M model, without fine-tuning, achieved only 5.06% accuracy in masked language modeling (MLM) tasks. After 100 epochs of fine-tuning, the resulting ESM-RBD model achieved 96.33% MLM accuracy—a 19-fold improvement (Fig. 2C and D).

We compared this to an in-house BERT [54]-based model (BERT-RBD) trained from scratch on only RBD sequences. While BERT-RBD reached 94.09% MLM accuracy (Supplementary Fig. 1A, 1B), it remained inferior to the fine-tuned ESM models in capturing rare biochemical signatures. Most notably, ESM-RBD predicted Methionine with 33.04% accuracy, whereas BERT-RBD failed to predict it entirely. This highlights a key advantage of the PRIME framework: fine-tuning a pre-trained foundation model leverages broad, evolutionarily informed representations of protein sequence patterns that are difficult to recover when training from scratch on narrow, pathogen-specific datasets.

The necessity of both scale and fine-tuning becomes most apparent when confronting the generalization gap in phenotype prediction (Table 1). Our results demonstrate that performance metrics from random splits are highly inflated due to data leakage. For the ESM-C 600M model, using mean embedding across all amino acid residues in the RBD, a random split yielded a deceptively high R2 = 0.7711 for binding affinity. However, under the rigorous position-stratified split, the base foundation model (without domain-specific fine-tuning) failed to provide any predictive signal, resulting in a negative correlation coefficient (R2=-0.1050) (Table 1).

Table 1.

Benchmarking PRIME across different model scales and validation regimes for mutated RBD binding and expression

Model EmbedMethod Fine-tuned Random Split Position-Stratified Split
Binding Expression Binding Expression
RMSE RMSE RMSE RMSE
ESM-2 8M CLS × 0.5876 ± 0.07 1.2191 ± 0.10 0.5984 ± 0.07 0.6272 ± 0.05 -0.2018 ± 0.04 1.9452 ± 0.04 -0.0324 ± 0.05 1.0916 ± 0.02
0.5897 ± 0.03 1.2194 ± 0.04 0.5302 ± 0.03 0.6808 ± 0.02 -0.2294 ± 0.03 1.9653 ± 0.03 -0.1928 ± 0.02 1.1756 ± 0.01
Mean × 0.6794 ± 0.02 1.0777 ± 0.04 0.6576 ± 0.04 0.5807 ± 0.03 0.0248 ± 0.01 1.7519 ± 0.01 0.0967 ± 0.02 1.0221 ± 0.01
0.6225 ± 0.07 1.1659 ± 0.10 0.5545 ± 0.07 0.6613 ± 0.05 0.0071 ± 0.05 1.7688 ± 0.06 0.1013 ± 0.06 1.0213 ± 0.03
ESM-2 150M CLS × 0.5788 ± 0.14 1.2167 ± 0.22 0.5409 ± 0.08 0.6709 ± 0.06 -0.2449 ± 0.06 1.9777 ± 0.03 -0.0754 ± 0.04 1.1169 ± 0.02
0.5836 ± 0.28 1.1639 ± 0.40 0.3354 ± 0.45 0.7664 ± 0.26 -0.2675 ± 0.07 2.0022 ± 0.04 -0.3805 ± 0.04 1.2480 ± 0.02
Mean × 0.6713 ± 0.13 1.0693 ± 0.22 0.6131 ± 0.07 0.6150 ± 0.06 -0.0695 ± 0.03 1.8359 ± 0.02 0.0195 ± 0.03 1.0649 ± 0.02
0.7461 ± 0.08 0.9480 ± 0.15 0.6693 ± 0.04 0.5704 ± 0.03 -0.0080 ± 0.00 1.7863 ± 0.01 0.1039 ± 0.04 1.0165 ± 0.02
ESM-2 650M CLS × 0.7694 ± 0.13 0.8757 ± 0.27 0.7139 ± 0.13 0.5171 ± 0.12 -0.1591 ± 0.04 1.9063 ± 0.02 -0.0004 ± 0.03 1.0781 ± 0.01
0.7584 ± 0.11 0.9104 ± 0.22 0.6758 ± 0.10 0.5582 ± 0.09 -0.0399 ± 0.06 1.8084 ± 0.06 -0.0175 ± 0.06 1.0869 ± 0.03
Mean × 0.7981 ± 0.13 0.8091 ± 0.28 0.7337 ± 0.15 0.4942 ± 0.14 -0.0865 ± 0.04 1.8488 ± 0.03 -0.0103 ± 0.03 1.0807 ± 0.01
0.8189 ± 0.10 0.7798 ± 0.22 0.7354 ± 0.11 0.4999 ± 0.10 0.0588 ± 0.04 1.7200 ± 0.03 0.0779 ± 0.04 1.0336 ± 0.02
ESM-C 300M CLS × 0.5869 ± 0.15 1.2032 ± 0.23 0.6026 ± 0.08 0.6230 ± 0.06 -0.1954 ± 0.06 1.9366 ± 0.04 -0.0313 ± 0.04 1.0924 ± 0.02
0.7647 ± 0.08 0.9104 ± 0.16 0.6678 ± 0.07 0.5691 ± 0.06 0.0019 ± 0.05 1.7766 ± 0.04 0.0916 ± 0.02 1.0265 ± 0.02
Mean × 0.7155 ± 0.07 1.0075 ± 0.13 0.6546 ± 0.04 0.5830 ± 0.03 -0.0162 ± 0.01 1.7874 ± 0.02 0.0647 ± 0.02 1.0410 ± 0.01
0.8057 ± 0.06 0.8278 ± 0.14 0.7165 ± 0.06 0.5261 ± 0.05 0.1949 ± 0.03 1.5918 ± 0.03 0.2313 ± 0.01 0.9449 ± 0.01
ESM-C 600M CLS × 0.6616 ± 0.12 1.0863 ± 0.22 0.6030 ± 0.09 0.6219 ± 0.07 -0.1106 ± 0.02 1.8726 ± 0.00 -0.0167 ± 0.03 1.0823 ± 0.01
0.7552 ± 0.07 0.9308 ± 0.15 0.5388 ± 0.21 0.6577 ± 0.15 0.1165 ± 0.06 1.6616 ± 0.05 0.1478 ± 0.01 0.9922 ± 0.01
Mean × 0.7355 ± 0.12 0.9525 ± 0.23 0.6610 ± 0.08 0.5738 ± 0.07 -0.0973 ± 0.03 1.8558 ± 0.02 0.0666 ± 0.02 1.0398 ± 0.02
0.8346 ± 0.07 0.7560 ± 0.17 0.7342 ± 0.06 0.5087 ± 0.06 0.2120 ± 0.03 1.5745 ± 0.02 0.2479 ± 0.02 0.9334 ± 0.02
One-Hot Mean 0.1136 ± 0.03 1.7930 ± 0.03 0.0617 ± 0.02 0.9625 ± 0.01 -0.2397 ± 0.01 1.9754 ± 0.00 -0.1774 ± 0.01 1.1675 ± 0.00

Performance is reported as the coefficient of determination (R2) and Root Mean Square Error (RMSE), with ± values representing the standard deviation across random seeds seen in Supplementary Table 6. Models used either mean embeddings, where sequence-level feature was derived by calculating the mean amino acid representation (average of all site-specific embeddings) across the entire sequence domain, or the standard CLS token embedding as the sequence-level representation. If the model is not designated as fine-tuned, the base ESM model is used as the embedder

Domain-specific fine-tuning on the outbreak dataset significantly restored predictive power in the stratified context. For the ESM-C 600 M model, fine-tuning improved stratified binding affinity R2 from no measurable signal (-0.1050) to a modest predictive value of 0.1823 ± 0.2149 using mean amino acid representation and 0.2087 ± 0.1451 using sequence level CLS embeddings. Similar improvement was found in fine-tuned ESM-C models under a stratified expression split (Table 1). These findings demonstrate that while foundation models are essential starting points, pathogen-specific adaptation is needed to capture the nuanced biophysical constraints necessary for prospective biosurveillance.

PLM scale and fine-tuning resolve viral lineages and diversity

We evaluated whether the learned representations of the fine-tuned ESM-RBD model could enable rapid identification of evolutionary relationships and distinguish major SARS-CoV-2 lineages based solely on RBD sequence embeddings. To address the imbalance in lineage abundance, we randomly downsampled the Omicron (n = 160,016) and Delta (n = 109,448) sequences to match the number of Alpha lineage sequences (n = 22,075 per lineage). Visualization of these sequence-level latent representations using t-SNE produced three distinct clusters corresponding to the Alpha, Delta, and Omicron lineages (Fig. 3A). HDBSCAN clustering of these representations showed high agreement with established lineage assignments, with Cluster 0 corresponding predominantly to Delta, Cluster 1 to Omicron, and Cluster 2 to Alpha (Fig. 3B). We validated the robustness of this organization through nine iterations of random downsampling (Supplementary Fig. 2) and across a range of t-SNE perplexities, where optimal separation was achieved at a perplexity of 750 (Adjusted Rand Index [ARI] = 0.98) (Supplementary Fig. 3–5).

Fig. 3.

Fig. 3

Fine-tuned ESM-RBD (ESM-2 8M) embeddings resolve viral lineages and capture temporal sub-population dynamics. A, B: t-SNE visualization and HDBSCAN clustering of sequence-level latent representations for Alpha (blue), Delta (orange), and Omicron (green) lineages. Fine-tuning enables the model to effectively partition major lineages with an Adjusted Rand Index of 0.98. C HDBSCAN clustering applied to t-SNE representations of all available Omicron sequences (n = 160,016) reveals 12 clusters (0-11) with some outliers (-1), demonstrating significant diversity within the Omicron lineage. D Temporal dynamics of Omicron clusters from November 2021 to May 2023, showing the emergence and succession of specific sub-lineages (e.g., Cluster 7) during the pandemic

To further explore diversity within the rapidly evolving Omicron lineage, we applied our clustering approach to the complete set of Omicron sequences (n = 160,016), revealing 12 distinct sub-clusters (Fig. 3C). Tracking the temporal distribution of these clusters from November 2021 to May 2023 demonstrated clear patterns of variant succession, such as the early dominance of Clusters 2 and 5 followed by the rise of Cluster 7 in May 2022 (Fig. 3D). These sub-clusters showed significantly higher correspondence with established Pango lineage classifications—achieving > 95% purity for lineages such as BA.1.1* and XBB.1.5—compared to MSA-based approaches (Supplementary Fig. 6, Supplementary Table 2).

Systematic comparison demonstrated that domain-specific fine-tuning is valuable for high-resolution lineage discrimination. While the non-fine-tuned ESM baseline could separate major lineages, it exhibited lower resolution within the Omicron lineage, identifying only 10 clusters compared to the 12 identified by ESM-RBD (Supplementary Fig. 7). Furthermore, ESM-RBD outperformed MSA-based clustering (Supplementary Fig. 8), which failed to capture fine-grained evolutionary relationships and yielded lower overall clustering metrics (ARI = 0.90 for MSA vs. ARI = 0.98 for ESM-RBD) (Supplementary Fig. 9). These results indicate that fine-tuning enables the model to identify functionally and evolutionarily relevant sequence patterns that are obscured by general-purpose models without fine-tuning and traditional MSA-based methods do not provide this type of resolution.

Optimization of neural architectures for real-time deployment

To identify which components drive predictive performance, we conducted a systematic ablation across four neural network architectures: fully connected networks (FCN), graph convolutional networks (GCN) [55], bidirectional long short-term memory networks (BLSTM) [56], BERT-RBD), two learning rates, and both frozen and fine-tuned encoder conditions, using base ESM and ESM-RBD initializations (Supplementary Tables 3 and 4). This design allows us to isolate the contribution of embedding quality from that of the downstream regressor architecture. The FCN architecture with sequence-level (CLS) representations achieved superior predictive performance across both functional properties while maintaining a significantly smaller parameter footprint (Supplementary Tables 3 and 4).

We further evaluated the impact of multi-task learning by training a single FCN to simultaneously predict ACE2 binding affinity and protein expression levels using the DMS dataset [36]. This multi-task approach reduced total computational requirements by approximately 50% without a significant loss in accuracy compared to single-task models (Fig. 4A and B). Training dynamics showed stable convergence, with optimal performance for binding and expression prediction achieved at epoch 402 and epoch 155, respectively (Fig. 4A and B, Supplementary Tables 3, and Supplementary Table 4).

Fig. 4.

Fig. 4

Multi-task architecture optimization and fitting capacity for RBD phenotypes. A Training progression for the multi-task ESM-RBD-FCN (ESM-2 8M) model showing RMSE values for binding (blue), expression (orange), and combined loss (green). The model achieved lowest validation RMSE at epoch 402 for binding (RMSE = 0.5059) and epoch 930 for expression (RMSE = 0.3180), with optimal combined performance at epoch 632 (RMSE = 0.6015). B Performance comparison of single-task models optimized for binding (blue, optimal at epoch 288, RMSE = 0.5081) and expression (orange, optimal at epoch 155, RMSE = 0.3163), demonstrating that the multi-task approach maintains performance while halving computational overhead. C, D Correlation between experimentally measured and predicted scores for binding affinity (R2=0.9288) and protein expression (R2=0.8954) under a random-split regime. Insets: Error distributions show that over 95% of predictions fall within 5% of experimental values. Outliers (>10% error, gray) predominantly correspond to residues at functionally critical sites such as N501

While the correlation coefficients observed in random-split evaluations (R2 = 0.9288 for binding; R2 = 0.8954 for expression) are inflated by sequence homology, the error analysis provides critical insight into the model’s high-fidelity representation of known mutational space (Fig. 4C and D). Over 95% of predictions fell within a 5% error threshold of experimental measurements, with error distributions tightly centered around zero. Systematic analysis of outliers revealed that residues with errors exceeding 10% were predominantly located at functionally critical sites, such as N501, which are known to exhibit complex, non-linear effects on ACE2 binding (Supplementary Table 5) [57]. This indicates that the FCN architecture effectively captures the majority of the biochemical landscape, but systematic failures pinpoint specific residues where more advanced biophysical modeling is required.

ESM-RBD embeddings identify candidate bat coronavirus sequences for experimental follow-up

To evaluate whether fine-tuned PLMs can detect functional signatures associated with diverse host spillover risk, we analyzed the latent representations of 75 betacoronavirus RBD sequences spanning diverse host species (Supplementary Table 1). We first established a baseline using the non-fine-tuned ESM model, where dimensionality reduction and HDBSCAN [58] clustering of embeddings exhibited limited resolution and failed to clearly separate groups (Fig. 5A and B). In contrast, clustering of the fine-tuned ESM-RBD embeddings identified three distinct clusters that more effectively recapitulated established taxonomic and functional relationships (Fig. 5C and D). Cluster 0 comprised MERS-CoV and hibecovirus sequences, while Cluster 1 contained SARS-CoV-1, SARS-CoV-2, and pangolin coronaviruses. Cluster 2 consisted primarily of bat coronaviruses.

Fig. 5.

Fig. 5

Domain-specific fine-tuning resolves host tropism patterns and zoonotic signatures among betacoronaviruses. A, B Baseline representation: t-SNE visualization and HDBSCAN clustering of 75 betacoronavirus RBD sequences using the non-fine-tuned ESM-2 8M model. Baseline embeddings exhibit limited resolution, failing to clearly delineate functional groups or identify outliers with zoonotic potential. C, D PRIME representation: t-SNE visualization and HDBSCAN clustering using the fine-tuned ESM-RBD (ESM-2 8M) model. E Cross-tabulation of host annotations versus predicted clusters as seen in 5D. PRIME identifies 3.03% of bat coronaviruses that cluster with known human-infective lineages (Cluster 1), suggesting functional similarity to human-infective strains in embedding space; external experimental validation would be required to assess zoonotic risk. F Maximum-likelihood phylogeny of the betacoronavirus dataset

Qualitative comparison of the t-SNE projections between the baseline and fine-tuned models suggests improved cluster separation following fine-tuning; we note that this comparison is visualization-supported and exploratory rather than a formal quantitative metric, as t-SNE distances are not directly interpretable (Fig. 5A and C). This value was calculated by comparing the maximum range of the t-SNE axis components, where the fine-tuned model projected sequence into a broader, more discriminative embedding space. Quantitative analysis of this refined space revealed high clustering consistency with host annotations, achieving 100% accuracy for MERS-CoV, hibecovirus, and pangolin coronavirus sequences (Fig. 5E). Significantly, 3.03% of sequences annotated as bat coronaviruses clustered with the zoonotic SARS-CoV-1/SARS-CoV-2 group (Cluster 1) rather than the primary bat virus cluster (Fig. 5E). These sequences cluster in closer proximity to known human-infective strains in embedding space (Fig. 5D), suggesting functional similarity that warrants further experimental investigation, e.g. ACE2 binding compatibility assays. We note that clustering proximity alone does not establish spillover potential, and external validation would be required to assess true zoonotic risk.

We compared this approach to a traditional maximum likelihood phylogenetic tree (Fig. 5F). The phylogeny and clustering method corroborated the broad taxonomic groupings— notably placing MERS-CoV in a distinct, distantly related clade. However, PRIME’s embedding space uniquely focuses on the biophysical similarity between human pathogens and select bat coronaviruses. The two methods offer complementary perspectives: PRIME’s embedding space uniquely emphasizes the functional similarity or representation geometry whereas the phylogeny emphasizes evolutionary relationships. These methods can be used in combination for improved biosurveillance.

PRIME may offer a complementary perspective for evaluating functional similarity to human-infective strains: the embedding-based clustering places these specific bat viruses closer to the SARS-CoV-1/SARS-CoV-2 group (Fig. 5D) than to the primary bat-associated cluster, whereas phylogeny reflects evolutionary proximity without directly capturing this functional distinction. Furthermore, the embedding analysis showed remarkable robustness to sequence divergence. The hibecovirus sequence, which failed standard composition tests during phylogenetic reconstruction, was seamlessly incorporated and accurately clustered by our model (Fig. 5C). Although these observations are based on a limited dataset (n = 75), they suggest that fine-tuned PLM embeddings may capture biologically relevant structural and functional constraints and could provide a complementary perspective for assessing spillover potential. Further validation on larger datasets will be necessary to confirm these trends.

Discussion

The central challenge of applying protein language models to viral pathogens like SARS-CoV-2 is the deceptive nature of sequence homology. As highlighted by our benchmarking of random vs. position-stratified splits, standard validation protocols often lead to “homology leakage,” where models achieve high accuracy (R2 > 0.90) by memorizing site-specific fitness rather than learning the underlying biophysical rules. PRIME addresses this by establishing the importance of position-stratified validation.

While previous studies have noted that PLM-based models struggle to generalize to point mutations in protein-protein interactions [46], our results suggest that this is not an inherent limitation of the architecture, but rather a consequence of insufficient domain adaptation and improper validation splitting. By implementing position-stratified splits, we demonstrate that domain-specific fine-tuning can indeed recover a meaningful predictive signal (R2 ≈ 0.23 for ESM-C 600M) for binding affinity on entirely unseen sites. Our findings suggest that base models fail to generalize to novel mutational sites (R2 < 0), whereas domain-specific fine-tuning on large-scale “outbreak” datasets lead to improved predictive performance.

While domain-specific fine-tuning consistently improves stratified performance relative to base models — which show no predictive signal (R² < 0) — the resulting R² values of approximately 0.18–0.23 for binding affinity on unseen mutational sites reflect a meaningful but modest level of position-stratified generalization — which, while not strictly zero-shot given the domain-specific fine-tuning applied, represents a meaningful test of the model’s ability to extrapolate to entirely unseen mutational positions. These results should not be interpreted as a resolution of the generalization challenge, but rather as evidence that fine-tuning on large-scale outbreak data provides a foundation for genuine prospective prediction. True generalization to entirely novel mutational contexts remains an open problem, likely requiring richer structural priors, larger domain-specific corpora, or multi-modal training signals beyond sequence alone. We therefore frame PRIME’s stratified benchmark as a more honest baseline from which future work can measure real progress.

Our systematic evaluation reveals that neither model scale nor pre-training alone is sufficient for pathogen-specific accuracy. General-purpose PLMs, trained on “tree of life” scale data with limited coverage of viral sequence variations, often lack the resolution to distinguish the subtle variations that determine viral host specificity or immune escape. We found that even state-of-the-art architectures like ESM-C 600 M require fine-tuning to move from negative to positive correlation on stratified tasks. This suggests that fine-tuning allows the model to capture nuanced biophysical constraints—such as those at functionally critical sites like N501—that are otherwise invisible to base foundation models. Furthermore, our analysis confirms that mean pooling consistently outperforms CLS-token representations across all five ESM model scales under five-fold cross-validation. This advantage likely reflects the nature of the RBD itself: phenotypic properties such as ACE2 binding affinity are determined by the collective contribution of residues distributed across the domain rather than any single site. Mean pooling aggregates these distributed site-specific signals into a single representation, whereas the CLS token — originally designed to capture global sequence context during pre-training — may not optimally encode this kind of position-averaged biochemical information when repurposed as a downstream regression feature. The robustness of these findings across three random seeds and multiple fold assignments (Supplementary Table 6, Supplementary Fig. 10) further supports the stability of this conclusion.

PRIME’s embedding-based clustering and traditional phylogenetic methods address related but distinct questions: phylogeny aims to reconstruct evolutionary history, whereas PRIME’s embedding space captures functional and biochemical similarity that may not strictly follow neutral genetic drift. These approaches are therefore best viewed as complementary tools for biosurveillance. Both methods successfully separated MERS-CoV and hibecoviruses from SARS-associated viruses, consistent with their divergent receptor usage (DPP4 vs. ACE2). Where phylogeny provides evolutionary context and ancestral relationships, PRIME may offer additional resolution for identifying sequences with convergent functional properties — such as shared receptor binding profiles — regardless of phylogenetic distance. By focusing on features related to host receptor interactions rather than neutral sequence similarity, PRIME can help highlight mutations that may be functionally relevant even when phylogenetic signal is limited or misleading.

The betacoronavirus analysis should be interpreted with appropriate caution. The dataset is small (n = 75 RBD sequences) and host labels are coarse, and the boundary separating bat-associated sequences from human-infective clusters in the embedding space is conceptual rather than quantitatively derived. While PRIME identified 3.03% of bat coronavirus sequences clustering near known human-infective strains, this observation reflects functional similarity in embedding space and does not constitute evidence of elevated zoonotic potential. These sequences are best understood as candidates for experimental prioritization — for example, for ACE2 binding assays — rather than confirmed high-risk variants. Future work with larger, more diverse datasets and paired experimental validation would be needed to determine whether embedding-space proximity is genuinely predictive of host-jump capacity.

Notably, PRIME may provide a more informative and functional assessment of zoonotic risk than baseline foundation models. In the non-fine-tuned baseline (Fig. 4B), several bat coronavirus sequences appeared proximal to the SARS-CoV-1 group. However, following domain-specific fine-tuning, PRIME re-assigned these sequences to the primary bat-associated Cluster 2 (Fig. 4D). This suggests that PRIME may better differentiate between neutral genetic homology and the specific functional requirements needed for efficient human ACE2 binding.

While no bat viruses were directly assigned to the human-pathogen Cluster 1, PRIME identified 3.03% of bat coronavirus sequences that exhibited high functional similarity to human pathogens as outliers (Cluster − 1), pinpointing specific candidates within the “human-infective” embedding space (Fig. 5D and E). This group includes RaTG-13, which occupies a unique position in the embedding space near the hypothetical zoonotic boundary, reflecting its high similarity to human pathogens while accurately signaling its functional distinctness. Similarly, PRIME classified 50% of pangolin-derived sequences within Cluster 1 (Fig. 5D and E), aligning with experimental reports that specific pangolin-CoV strains exhibit high affinity for human ACE2 [59]. By focusing on “human vs. non-human” functional profiles rather than over-interpreting evolutionary distance, PRIME identifies candidates for experimental prioritization based on their embedding-space proximity to human-infective strains, offering a potentially complementary signal for early-stage surveillance.

The computational efficiency of PRIME suggests potential for near real-time deployment. Embedding-based clustering scales significantly better than maximum likelihood phylogenetics, allowing for the analysis of thousands of sequences in minutes. Additionally, the framework’s robustness to sequence divergence—demonstrated by the seamless integration of highly divergent hibecoviruses—makes it ideal for monitoring rapidly evolving pathogens that challenge traditional alignment tools.

PRIME is designed as an analytical tool to assess phenotypic risk from sequence data rather than a generative model for sequence design. All sequence data used in this study are drawn from publicly accessible databases (GISAID, GenBank) under their respective data access agreements. Model weights for the ESM-RBD model (8 M only) and code are released under the MIT license with the intent of supporting legitimate biosurveillance research. Limitations on GitHub repo size and file size prevent the addition of other weights. As PLMs become more capable, integrating built-in guardrail, such as restricting applications to surveillance rather than design contexts, and ensuring compliance with institutional biosafety review, will be essential for their responsible use and deployment.

Conclusions

PRIME establishes a scalable framework for pathogen biosurveillance that prioritizes true biological generalization over deceptive pattern memorization. By combining state-of-the-art model scale with domain-specific fine-tuning and stratified validation, it provides a framework that may assist in prioritizing sequences for experimental follow-up in the context of viral surveillance.

Methods

Data collection and curation

Three distinct datasets were utilized to develop and validate the PRIME framework:

Outbreak dataset

This dataset comprises 347,432 unique SARS-CoV-2 RBD sequences (amino acids 319–541of the spike protein) curated from GISAID and SRA as of February 3rd, 2023. All sequences containing ambiguous amino acids or duplicates were removed to ensure data integrity.

DMS dataset

For phenotype prediction, we utilized experimental Deep Mutational Scanning (DMS) data containing 116,257 unique RBD sequences with measured ACE2 binding affinities and 105,525 sequences with quantified protein expression levels from in vitro yeast display experiments.

BetaCov dataset

To assess cross-species generalization, we assembled 75 RBD sequences from diverse Sarbecovirus members, including SARS-CoV-1, SARS-CoV-2, Pangolin virus, Hibecovirus, and various bat viruses were sourced from a recent survey of sarbecovirus ACE2 binding [36]. In total, there are 63 GenBank/NCBI sequences and 3 GISAID sequences, accessible through doi: 10.55876/gis8.250709on. MERS sequences were manually retrieved by querying the accession number ALA49374.1 using NIH’s BLASTp. From the top few hundred results, we carefully filtered out duplicates and identified relevant host species. The complete list of this dataset is presented in Supplementary Table 1.

Model architecture and scale

We systematically benchmarked five protein language model (PLM) architectures to evaluate the impact of parameter scale:

ESM-2 family

We utilized the 8 M (6 layers), 150 M (30 layers), and 650 M (33 layers) parameter models as baseline foundations.

ESM-C family

We incorporated the state-of-the-art ESM-C 300 M and ESM-C 600 M models to assess the benefits of modern architecture design on viral representation learning.

BERT-RBD

A BERT-based model was trained from scratch with a 320-dimensional embedding space as a domain-specific control.

Domain-specific fine-tuning

Fine-tuning was performed using a Masked Language Modeling (MLM) objective. For the ESM-RBD 8 M model, 15% of amino acids were randomly masked, and the model was tasked with predicting these residues based on contextual information. Fine-tuning was conducted over 100 epochs at a learning rate of 1 × 10− 5. For scaling tests, fine-tuning was performed over 15 epochs at the same learning rate. Fine-tuning used the AdamW optimizer with β1 = 0.9, β2 = 0.999 and no warm-up schedule. The effective batch size was 512, or 64 sequences per GPU across eight A100 GPUs using Distributed Data Parallel. Model selection was based on highest validation MLM accuracy across training epochs.

Position-stratified validation protocol

To mitigate “homology leakage,” we implemented a rigorous position-stratified split for all phenotype precision tasks.

Leakage control

Unlike random splits, where mutations at the same site can appear in both training and test sets, position-stratified splitting ensures that all mutations at a specific residue position are held out together.

Cross-validation

We utilized 5-fold cross-validation. Residue positions were randomly partitioned into five subsets, and sequences were assigned to training or testing sets based on whether their mutated positions belonged exclusively to those subsets. To assess sensitivity to fold definition, we repeated the stratified evaluation across three independent random seeds (seeds 0, 1, 2) for fold assignment. Supplementary Fig. 10 confirms that mutation count distributions across partitions remain consistent across seeds and folds, indicating that reported performance metrics are not sensitive to the specific fold construction.

Input features

Frozen embeddings from the last hidden layer (or mean embeddings where indicated) served as input to a multi-task FCN to jointly predict binding affinity and expression. The FCN consisted of 5 fully connected layers with hidden dimensions determined by the ESM embedding size (320 for ESM2 8 M, 640 for ESM2 150 M, 1280 for ESM2 650 M, 960 for ESMC 300 M, and 1152 for ESMC 600 M), ReLU activations, and no dropout, trained using mean squared error loss.Within each cross-validation split, the model was reinitialized, trained for 1000 epochs with a learning rate of 1e-5, and evaluated on the corresponding test set. Performance metrics, including R2 and RMSE, were computed per fold and then averaged across folds.

Clustering and phylogenetic analysis

Latent space visualization

High-dimensional embeddings were projected into 2D space using t-SNE [60] with perplexity optimized between 30 and 750. Clustering accuracies were calculated by identifying the percentage of sequences correctly assigned to their majority clusters (100% for MERS, SARS-CoV-1, SARS-CoV-2, Pangolin Virus, and Hibecovirus; 69.7% for Bat Virus). This yielded an overall clustering accuracy of 73.7% when weighted by the number of sequences in each virus category. We note that t-SNE projections are used here for visualization and exploratory analysis. Clustering was performed in the original high-dimensional embedding space via HDBSCAN, with t-SNE used solely for 2D visualization of the resulting structure.

Clustering

HDBSCAN [58] was applied to t-SNE projections to identify de novo clusters. Performance was quantified using the Adjusted Rand Index (ARI) and Silhouette Coefficient (SC). To assess robustness to hyperparameter choices, we performed a systematic grid search over HDBSCAN min_cluster_size and min_sample parameters (Supplementary Figs. 9, 7E–F, 8E–F) and swept t-SNE perplexity from 30 to 750 (Supplementary Figs. 3–5). Lineage separation results were additionally validated across nine independent random downsampling seeds at fixed perplexity (Supplementary Fig. 2). All parameter sweep code is available in the GitHub repository.

Phylogenetics

Sequences were aligned using MUSCLE (v5.3) with default settings [61]. A maximum likelihood tree was constructed using IQ-TREE (v2.4.0) [62] with the WAG+R2 substitution model recommended by ModelFinder [63] and 1000 ultrafast bootstrap [64].

The tree was midpoint rooted using DendroPy (v5.0.6) [65] and visualized with ggtree (v3.10.1) [66].

Computational resources and reproducibility

PRIME is implemented in PyTorch Lightning [2.5.1] (https://github.com/Lightning-AI/pytorch-lightning). All experiments (excluding UMAP generation and split comparisons post initial embedding of sequences) used Python 3.11.13, PyTorch [2.6.0 + cu124], PyTorch Lightning [2.5.1], and ESM library version [3.2.1]. For UMAP and split comparisons, we used Python 3.13.12, PyTorch [2.11.0 + cu130], and scikit-learn [1.8.0]. UMAP and HDBSCAN GPU versions provided by RAPIDS cuML [26.04.000]. Random seeds for fold assignment were set to 0, 1, and 2 for reproducibility. For model training, random seed was set to 0. Model weights, source code, and curated datasets are available under the MIT license in the GitHub repository (https://github.com/lanl/prime) to ensure compliance with FAIR data standards. We used eight NVIDIA A100 GPUs via a Distributed Data Parallel (DDP) strategy implemented in Pytorch Lightning. NVIDIA RTX Pro 6000 GPUs (not using DDP) were used for UMAP generation (available in the repository at https://github.com/lanl/prime/tree/main/notebooks/clustering/blackwell) as well as the comparison between random split and position-stratified split (Table 1 and Supplementary Table 6). The saved checkpoint with the highest validation accuracy from the ESM-RBD model was used for downstream tasks.

Calculation of binding affinity and expression level errors (Fig. 4C and D) were determined using the formula: (predicted-measured)/measured * 100%.

LLM statement

LLMs were used to aid code development.

Supplementary Information

Supplementary Material 2. (358.4KB, xlsx)

Acknowledgements

We gratefully acknowledge all data contributors, i.e., the Authors and their Originating laboratories responsible for obtaining the specimens, and their Submitting laboratories for generating the genetic sequence and metadata and sharing via the GISAID Initiative, on which this research is based.

Authors' contributions

B.H. developed the concept of this study. K.G., M.B., and B.H. implemented all the models. K.G. tuned and benchmarked all model performances. G.W.S. and K.G. developed model parallel execution scripts. P. L. and V.L. collected and curated data. M.D. performed phylogeny analysis. K.G., L.H., P.C. and B.H. interpreted the model results. All authors contributed to the writing of the paper.

Funding

The authors appreciate funding from Los Alamos National Laboratory (LDRD Director Initiated Research, 20250637DI, 20250638DI, 20250639DI, 20240734DI, 20210767DI, 20200732ER). Part of this work was funded by the DOE Office of Science through the National Virtual Biotechnology Laboratory, a consortium of DOE national laboratories focused on response to COVID-19, with funding provided by the Coronavirus CARES Act. This project has been funded in part with Federal funds under Interagency Agreement No. 22FED2200087IPD (RRJJ) between the Centers for Disease Control and Prevention, Influenza Division and the US Department of Energy, Los Alamos National Laboratory. The GPU cluster was purchased by bioassurance funding through DOD. This work is approved for public release under LA-UR-26-21490.

Data availability

All genome sequences and associated metadata in the outbreak dataset are published in GISAID’s EpiCoV database with the GISAID identifier: EPI_SET_240219yp. It is composed of 347,409 individual genome sequences with collection dates ranging from 2019-06-25 to 2023-05-17; data were collected in 202 countries and territories. To view the contributors of each individual sequence with details such as accession number, Virus name, Collection date, Originating Lab and Submitting Lab and the list of Authors, visit doi:10.55876/gis8.240219ypThe reference sequence for SARS-CoV-2 used in this study is hCoV-19/Wuhan/WIV04/2019 (WIV04), the official reference sequence employed by GISAID (EPI_ISL_402124, https://gisaid.org/WIV04).All GISAID sequences and associated metadata used in the BetaCov dataset are published in GISAID’s EpiCoV database with the identifier: EPI_SET_250709on. It is composed of 3 individual genome sequences with collection dates ranging from 2017 to 2019-06-25; the data was collected in 1 countries and territories. To view the contributors of each individual sequence with details such as accession number, Virus name, Collection date, Originating Lab and Submitting Lab and the list of Authors, visit doi: 10.55876/gis8.250709on. PRIME source code is available under the MIT license in the GitHub repository (https://github.com/lanl/prime).

Declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Pybus OG, Rambaut A. Evolutionary analysis of the dynamics of viral infectious disease. Nat Rev Genet. 2009;10:540–50. 10.1038/nrg2583. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Tsetsarkin KA, Vanlandingham DL, McGee CE, Higgs S. A Single Mutation in Chikungunya Virus Affects Vector Specificity and Epidemic Potential. PLOS Pathog. 2007;3:e201. 10.1371/journal.ppat.0030201. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Zhao S, Lou J, Cao L, Zheng H, Chong MKC, Chen Z, et al. Real-time quantification of the transmission advantage associated with a single mutation in pathogen genomes: a case study on the D614G substitution of SARS-CoV-2. BMC Infect Dis. 2021;21:1039. 10.1186/s12879-021-06729-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Korber B, Fischer WM, Gnanakaran S, Yoon H, Theiler J, Abfalterer W, et al. Tracking Changes in SARS-CoV-2 Spike: Evidence that D614G Increases Infectivity of the COVID-19 Virus. Cell. 2020;182:812–e82719. 10.1016/j.cell.2020.06.043. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Volz E, Hill V, McCrone JT, Price A, Jorgensen D, O’Toole Á, et al. Evaluating the Effects of SARS-CoV-2 Spike Mutation D614G on Transmissibility and Pathogenicity. Cell. 2021;184:64–e7511. 10.1016/j.cell.2020.11.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Kleanthous H, Silverman JM, Makar KW, Yoon I-K, Jackson N, Vaughn DW. Scientific rationale for developing potent RBD-based vaccines targeting COVID-19. Npj Vaccines. 2021;6:1–10. 10.1038/s41541-021-00393-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Yang J, Wang W, Chen Z, Lu S, Yang F, Bi Z, et al. A vaccine targeting the RBD of the S protein of SARS-CoV-2 induces protective immunity. Nature. 2020;586:572–7. 10.1038/s41586-020-2599-8. [DOI] [PubMed] [Google Scholar]
  • 8.Carabelli AM, Peacock TP, Thorne LG, Harvey WT, Hughes J, de Silva TI, et al. SARS-CoV-2 variant biology: immune escape, transmission and fitness. Nat Rev Microbiol. 2023;21:162–77. 10.1038/s41579-022-00841-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.McCallum M, Walls AC, Sprouse KR, Bowen JE, Rosen LE, Dang HV, et al. Molecular basis of immune evasion by the Delta and Kappa SARS-CoV-2 variants. Science. 2021. 10.1126/science.abl8506. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Longdon B, Brockhurst MA, Russell CA, Welch JJ, Jiggins FM. The Evolution and Genetics of Virus Host Shifts. PLOS Pathog. 2014;10:e1004395. 10.1371/journal.ppat.1004395. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Long JS, Mistry B, Haslam SM, Barclay WS. Host and viral determinants of influenza A virus species specificity. Nat Rev Microbiol. 2019;17:67–81. 10.1038/s41579-018-0115-z. [DOI] [PubMed] [Google Scholar]
  • 12.Peacock TP, Moncla L, Dudas G, VanInsberghe D, Sukhova K, Lloyd-Smith JO, et al. The global H5N1 influenza panzootic in mammals. Nature. 2025;637:304–13. 10.1038/s41586-024-08054-z. [DOI] [PubMed] [Google Scholar]
  • 13.Feng DF, Doolittle RF. Progressive sequence alignment as a prerequisite to correct phylogenetic trees. J Mol Evol. 1987;25:351–60. 10.1007/BF02603120. [DOI] [PubMed] [Google Scholar]
  • 14.Hall BG, Barlow M. Phylogenetic Analysis as a Tool in Molecular Epidemiology of Infectious Diseases. Ann Epidemiol. 2006;16:157–69. 10.1016/j.annepidem.2005.04.010. [DOI] [PubMed] [Google Scholar]
  • 15.Phillips A, Janies D, Wheeler W. Multiple Sequence Alignment in Phylogenetic Analysis. Mol Phylogenet Evol. 2000;16:317–30. 10.1006/mpev.2000.0785. [DOI] [PubMed] [Google Scholar]
  • 16.Ashkenazy H, Sela I, Levy Karin E, Landan G, Pupko T. Multiple Sequence Alignment Averaging Improves Phylogeny Reconstruction. Syst Biol. 2019;68:117–30. 10.1093/sysbio/syy036. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Thomson EC, Rosen LE, Shepherd JG, Spreafico R, da Silva Filipe A, Wojcechowskyj JA, et al. Circulating SARS-CoV-2 spike N439K variants maintain fitness while evading antibody-mediated immunity. Cell. 2021;184:1171–e118720. 10.1016/j.cell.2021.01.037. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Hadfield J, Megill C, Bell SM, Huddleston J, Potter B, Callender C, et al. Nextstrain: real-time tracking of pathogen evolution. Bioinforma Oxf Engl. 2018;34:4121–3. 10.1093/bioinformatics/bty407. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Steenwyk JL, Li Y, Zhou X, Shen X-X, Rokas A. Incongruence in the phylogenomics era. Nat Rev Genet. 2023;24:834–50. 10.1038/s41576-023-00620-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.De Maio N, Kalaghatgi P, Turakhia Y, Corbett-Detig R, Minh BQ, Goldman N. Maximum likelihood pandemic-scale phylogenetics. Nat Genet. 2023;55:746–52. 10.1038/s41588-023-01368-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Posada D, Crandall KA. The Effect of Recombination on the Accuracy of Phylogeny Estimation. J Mol Evol. 2002;54:396–402. 10.1007/s00239-001-0034-9. [DOI] [PubMed] [Google Scholar]
  • 22.Rancati S, Nicora G, Prosperi M, Bellazzi R, Salemi M, Marini S. Forecasting dominance of SARS-CoV-2 lineages by anomaly detection using deep AutoEncoders. Brief Bioinform. 2024;25:bbae535. 10.1093/bib/bbae535. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Rancati S, Nicora G, Bergomi L, Buonocore TM, Czyz DM, Parimbelli E, et al. SARITA: a large language model for generating the S1 subunit of the SARS-CoV-2 spike protein. Brief Bioinform. 2025;26:bbaf384. 10.1093/bib/bbaf384. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Fung TS, Liu DX. Human Coronavirus: Host-Pathogen Interaction. Annu Rev Microbiol. 2019;73:529–57. 10.1146/annurev-micro-020518-115759. [DOI] [PubMed] [Google Scholar]
  • 25.Cui J, Li F, Shi Z-L. Origin and evolution of pathogenic coronaviruses. Nat Rev Microbiol. 2019;17:181–92. 10.1038/s41579-018-0118-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Shang J, Wan Y, Luo C, Ye G, Geng Q, Auerbach A, et al. Cell entry mechanisms of SARS-CoV-2. Proc Natl Acad Sci U S A. 2020;117:11727–34. 10.1073/pnas.2003138117. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Starr TN, Zepeda SK, Walls AC, Greaney AJ, Alkhovsky S, Veesler D, et al. ACE2 binding is an ancestral and evolvable trait of sarbecoviruses. Nature. 2022;603:913–8. 10.1038/s41586-022-04464-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Lan J, Ge J, Yu J, Shan S, Zhou H, Fan S, et al. Structure of the SARS-CoV-2 spike receptor-binding domain bound to the ACE2 receptor. Nature. 2020;581:215–20. 10.1038/s41586-020-2180-5. [DOI] [PubMed] [Google Scholar]
  • 29.Mou H, Raj VS, van Kuppeveld FJM, Rottier PJM, Haagmans BL, Bosch BJ. The receptor binding domain of the new Middle East respiratory syndrome coronavirus maps to a 231-residue region in the spike protein that efficiently elicits neutralizing antibodies. J Virol. 2013;87:9379–83. 10.1128/JVI.01277-13. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Wang N, Shi X, Jiang L, Zhang S, Wang D, Tong P, et al. Structure of MERS-CoV spike receptor-binding domain complexed with human receptor DPP4. Cell Res. 2013;23:986–93. 10.1038/cr.2013.92. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Cao Y, Wang J, Jian F, Xiao T, Song W, Yisimayi A, et al. Omicron escapes the majority of existing SARS-CoV-2 neutralizing antibodies. Nature. 2022;602:657–63. 10.1038/s41586-021-04385-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Dejnirattisai W, Huo J, Zhou D, Zahradník J, Supasa P, Liu C, et al. SARS-CoV-2 Omicron-B.1.1.529 leads to widespread escape from neutralizing antibody responses. Cell. 2022;0. 10.1016/j.cell.2021.12.046. [DOI] [PMC free article] [PubMed]
  • 33.McCallumM, Czudnochowski N, Rosen LE, Zepeda SK, Bowen JE, Walls AC et al. Structural basis of SARS-CoV-2 Omicron immune evasion and receptor engagement. Science. 2022; 375(6583):864-8 . 10.1126/science.abn8652. [DOI] [PMC free article] [PubMed]
  • 34.Willett BJ, Grove J, MacLean OA, Wilkie C, De Lorenzo G, Furnon W, et al. SARS-CoV-2 Omicron is an immune escape variant with an altered cell entry pathway. Nat Microbiol. 2022;7:1161–79. 10.1038/s41564-022-01143-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Fowler DM, Fields S. Deep mutational scanning: a new style of protein science. Nat Methods. 2014;11:801–7. 10.1038/nmeth.3027. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Starr TN, Greaney AJ, Hilton SK, Ellis D, Crawford KHD, Dingens AS, et al. Deep Mutational Scanning of SARS-CoV-2 Receptor Binding Domain Reveals Constraints on Folding and ACE2 Binding. Cell. 2020;182:1295–e131020. 10.1016/j.cell.2020.08.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Frank F, Keen MM, Rao A, Bassit L, Liu X, Bowers HB, et al. Deep mutational scanning identifies SARS-CoV-2 Nucleocapsid escape mutations of currently available rapid antigen tests. Cell. 2022;185:3603–e361613. 10.1016/j.cell.2022.08.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Dadonaite B, Brown J, McMahon TE, Farrell AG, Figgins MD, Asarnow D, et al. Spike deep mutational scanning helps predict success of SARS-CoV-2 clades. Nature. 2024;631:617–26. 10.1038/s41586-024-07636-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Jumper J, Evans R, Pritzel A, Green T, Figurnov M, Ronneberger O, et al. Highly accurate protein structure prediction with AlphaFold. Nature. 2021;596:583–9. 10.1038/s41586-021-03819-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Abramson J, Adler J, Dunger J, Evans R, Green T, Pritzel A, et al. Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature. 2024;630:493–500. 10.1038/s41586-024-07487-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Rives A, Meier J, Sercu T, Goyal S, Lin Z, Liu J, et al. Biological structure and function emerge from scaling unsupervised learning to 250 million protein sequences. Proc Natl Acad Sci. 2021;118(15):e2016239118 . 10.1073/pnas.2016239118. [DOI] [PMC free article] [PubMed]
  • 42.Lin Z, Akin H, Rao R, Hie B, Zhu Z, Lu W, et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science. 2023;379:1123–30. 10.1126/science.ade2574. [DOI] [PubMed] [Google Scholar]
  • 43.Brandes N, Ofer D, Peleg Y, Rappoport N, Linial M. ProteinBERT: a universal deep-learning model of protein sequence and function. Bioinformatics. 2022;38:2102–10. 10.1093/bioinformatics/btac020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Rao R, Bhattacharya N, Thomas N, Duan Y, Chen X, Canny J et al. Evaluating Protein Transfer Learning with TAPE. 2019. 10.48550/arXiv.1906.08230 [PMC free article] [PubMed]
  • 45.Shaw R, Love SD, McWhite CD. Evaluating Pretrained Protein Language Model Embeddings as Proxies for Functional Similarity. J Mol Evol. 2025;93:765–76. 10.1007/s00239-025-10282-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Szymborski J, Emad A. A flaw in using pretrained protein language models in protein–protein interaction inference models. Nat Mach Intell. 2026;8:197–208. 10.1038/s42256-025-01176-7. [Google Scholar]
  • 47.Elbe S, Buckland-Merrett G. Data, disease and diplomacy: GISAID’s innovative contribution to global health. Glob Chall. 2017;1:33–46. 10.1002/gch2.1018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Leinonen R, Sugawara H, Shumway M. The Sequence Read Archive. Nucleic Acids Res. 2011;39. 10.1093/nar/gkq1019. Database issue:D19–21. [DOI] [PMC free article] [PubMed]
  • 49.Wu F, Zhao S, Yu B, Chen Y-M, Wang W, Song Z-G, et al. A new coronavirus associated with human respiratory disease in China. Nature. 2020;579:265–9. 10.1038/s41586-020-2008-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Zhou P, Yang X-L, Wang X-G, Hu B, Zhang L, Zhang W, et al. A pneumonia outbreak associated with a new coronavirus of probable bat origin. Nature. 2020;579:270–3. 10.1038/s41586-020-2012-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Skowronski DM, Astell C, Brunham RC, Low DE, Petric M, Roper RL, et al. Severe Acute Respiratory Syndrome (SARS): A Year in Review. Annu Rev Med. 2005;56:357–81. 10.1146/annurev.med.56.091103.134135. [DOI] [PubMed] [Google Scholar]
  • 52.Zaki AM, van Boheemen S, Bestebroer TM, Osterhaus ADME, Fouchier RAM. Isolation of a novel coronavirus from a man with pneumonia in Saudi Arabia. N Engl J Med. 2012;367:1814–20. 10.1056/NEJMoa1211721. [DOI] [PubMed] [Google Scholar]
  • 53.Xiao K, Zhai J, Feng Y, Zhou N, Zhang X, Zou J-J, et al. Isolation of SARS-CoV-2-related coronavirus from Malayan pangolins. Nature. 2020;583:286–9. 10.1038/s41586-020-2313-x. [DOI] [PubMed] [Google Scholar]
  • 54.DevlinJ, Chang M-W, Lee K, Toutanova K, BERT. Pre-training of Deep Bidirectional Transformers for Language Understanding. ArXiv181004805 Cs. 2019. 10.48550/arXiv.1810.04805.
  • 55.Zhang S, Tong H, Xu J, Maciejewski R. Graph convolutional networks: a comprehensive review. Comput Soc Netw. 2019;6:11. 10.1186/s40649-019-0069-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Hochreiter S, Schmidhuber J. Long Short-Term Memory. Neural Comput. 1997;9:1735–80. 10.1162/neco.1997.9.8.1735. [DOI] [PubMed] [Google Scholar]
  • 57.Gu H, Chen Q, Yang G, He L, Fan H, Deng Y-Q, et al. Adaptation of SARS-CoV-2 in BALB/c mice for testing vaccine efficacy. Science. 2020;369:1603–7. 10.1126/science.abc4730. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.McInnes L, Healy J, Astels S. hdbscan: Hierarchical density based clustering. J Open Source Softw. 2017;2:205. 10.21105/joss.00205. [Google Scholar]
  • 59.Zhang T, Wu Q, Zhang Z. Probable Pangolin Origin of SARS-CoV-2 Associated with the COVID-19 Outbreak. Curr Biol. 2020;30:1346–e13512. 10.1016/j.cub.2020.03.022. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 60.van der Maaten L. Visualizing Data using t-SNE. J Mach Learn Res. 2008;9:2579–605. [Google Scholar]
  • 61.Edgar RC. MUSCLE: a multiple sequence alignment method with reduced time and space complexity. BMC Bioinformatics. 2004;5:113. 10.1186/1471-2105-5-113. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62.Minh BQ, Schmidt HA, Chernomor O, Schrempf D, Woodhams MD, von Haeseler A, et al. IQ-TREE 2: New Models and Efficient Methods for Phylogenetic Inference in the Genomic Era. Mol Biol Evol. 2020;37:1530–4. 10.1093/molbev/msaa015. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Kalyaanamoorthy S, Minh BQ, Wong TKF, von Haeseler A, Jermiin LS. ModelFinder: fast model selection for accurate phylogenetic estimates. Nat Methods. 2017;14:587–9. 10.1038/nmeth.4285. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Hoang DT, Chernomor O, von Haeseler A, Minh BQ, Vinh LS. UFBoot2: Improving the Ultrafast Bootstrap Approximation. Mol Biol Evol. 2018;35:518–22. 10.1093/molbev/msx281. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Moreno MA, Holder MT, Sukumaran J. DendroPy 5: a mature Python library for phylogenetic computing. J Open Source Softw. 2024;9:6943. 10.21105/joss.06943. [Google Scholar]
  • 66.Yu G. Data Integration, Manipulation and Visualization of Phylogenetic Trees. New York: Chapman and Hall/CRC; 2022. 10.1201/9781003279242. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Material 2. (358.4KB, xlsx)

Data Availability Statement

All genome sequences and associated metadata in the outbreak dataset are published in GISAID’s EpiCoV database with the GISAID identifier: EPI_SET_240219yp. It is composed of 347,409 individual genome sequences with collection dates ranging from 2019-06-25 to 2023-05-17; data were collected in 202 countries and territories. To view the contributors of each individual sequence with details such as accession number, Virus name, Collection date, Originating Lab and Submitting Lab and the list of Authors, visit doi:10.55876/gis8.240219ypThe reference sequence for SARS-CoV-2 used in this study is hCoV-19/Wuhan/WIV04/2019 (WIV04), the official reference sequence employed by GISAID (EPI_ISL_402124, https://gisaid.org/WIV04).All GISAID sequences and associated metadata used in the BetaCov dataset are published in GISAID’s EpiCoV database with the identifier: EPI_SET_250709on. It is composed of 3 individual genome sequences with collection dates ranging from 2017 to 2019-06-25; the data was collected in 1 countries and territories. To view the contributors of each individual sequence with details such as accession number, Virus name, Collection date, Originating Lab and Submitting Lab and the list of Authors, visit doi: 10.55876/gis8.250709on. PRIME source code is available under the MIT license in the GitHub repository (https://github.com/lanl/prime).


Articles from BMC Genomics are provided here courtesy of BMC

RESOURCES