betaFeedback

WorksAgricultural and Biological Sciences

An Integrative Computational Approach to Predict Viral Epitopes by Targeting the MHC-TCR Complexation

Abstract

T-cell immunity acts as a major defense system against controlling viral infections in vertebrates. During viral entry, innate immune cells degrade the viral proteins (antigens) and present them on their surface via Major Histocompatibility (MHC) proteins. T-cell receptors (TCRs) recognize these antigens/peptides presented by MHC (pMHC), initiating a T-cell mediated immune response. Despite its significance, the mechanism by which pMHC-TCR binding triggers T-cell activation remains unclear. In this study, we employed an integrative computational approach combining Bioinformatics, Molecular Dynamics (MD) simulations, and Machine Learning (ML) to identify viral epitopes as potential vaccine candidates. We performed large-scale all-atom and coarse-grained MD simulations on MHC-peptide-TCR complexes embedded into dendritic and T-cells, for which experimental immunogenicity data is available. One hundred fifty such systems are simulated for 1 μs each to capture the conformational and dynamical changes that underlie T-cell activation. Our ML model (DynamiT), trained on simulation-derived structural and dynamical features extracted from 2500 time points, revealed key determinants responsible for T-cell activation with an accuracy of 73.3%. Notably, we have identified the bending of the TCR transmembrane region, major dynamic motions of the TCRα constant region and the buried surface area at the pMHC and TCR interface as critical factors influencing immune response initiation. Our approach unravels the mechanism of T-cell mediated immune response and helps ML-guided screening of viral epitopes for vaccine development.

article.pdf

Introduction

Viral infections continue to impose a substantial global health burden, causing millions of deaths annually and affecting populations worldwide. According to the Global Burden of Disease 2021 study, viral infections caused an estimated 8.7 million deaths and 259.2 million disability-adjusted life years (DALYs), accounting for nearly 13% of global mortality and highlighting their profound impact on public healthcare [1]. Individual viral pathogens have caused some of the most devastating outbreaks in history, including HIV/AIDS, which has led to over 40 million deaths since the early 1980s, influenza pandemics with millions of fatalities, and the recent COVID-19 pandemic with hundreds of millions of confirmed cases and over 7 million deaths [2].

More recent estimates for 2024–2025 continue to underscore the ongoing impact of viral diseases. Chronic viral hepatitis (B and C) accounted for approximately 1.3 million deaths in 2024, while dengue virus caused around 14.1 million cases and roughly 9,500 deaths globally [2][3]. Other emerging viruses, such as Nipah, Ebola, Zika and the 2022-2025 Mpox epidemic, continue to pose localized health challenges.

Viruses present unique therapeutic challenges due to their rapid mutation rates, antigenic variability and ability to evade host immune responses, often bypassing both natural immunity and existing antiviral therapies. For many clinically significant viruses, effective licensed therapies or vaccines are unavailable or limited, making it difficult in achieving long-term viral control. This highlights the urgent need for novel preventive strategies. Peptide-based vaccines have emerged as a promising alternative, utilizing short, well-defined peptide fragments to elicit highly targeted immune responses while minimizing allergenicity. Antiviral peptides (AVPs) offer broad-spectrum activity, low cytotoxicity, and multi-stage inhibition of viral replication, often combined with immune-modulatory effects [4], thus opening avenues for next-generation antiviral therapies.

Within the host immune response, T-cell immunity plays an important role in controlling viral infections, enabling recognition and elimination of infected cells while establishing long-lived immunological memory. CD8+ cytotoxic T lymphocytes (CTLs) recognize viral peptides presented on major histocompatibility complex class I (MHC I) molecules in dendritic or infected cells, triggering targeted cytolysis and limiting viral dissemination. Croft et al. found that in vaccinia virus-infected mice, more than 80% of MHC I presented viral peptides were immunogenic, highlighting the broad capacity of CD8+ T cells to detect and respond to viral antigens [5]. Thus, T-cell epitope-based vaccines are designed to generate long-lived memory T-cells capable of rapidly activating effector functions upon re-exposure, thereby providing durable protection even against viral variants that evade antibody-mediated immunity, as observed with emerging pathogens such as SARS-CoV-2 [6]. For example, peptide-based vaccines such as CoVac-1, comprising six HLA-DR-restricted SARS-CoV-2 peptides, induced robust multifunctional CD4+CD4^{+} and CD8+CD8^{+} T-cell responses in vaccinated individuals, demonstrating the feasibility of eliciting strong cellular immunity in humans [6]. Similarly, the hepatitis C virus peptide vaccine IC41 having five synthetic T-cell epitopes, elicited virus-specific T-cell responses, except for patients receiving interferon therapy [7]. These findings emphasize the critical role of TCR-mediated immunity in antiviral defense, contributing to viral clearance, memory formation, and resilience against viral mutation, making T-cell based peptide vaccine strategies a promising avenue for next-generation vaccines and antiviral therapies.

Current TCR-mediated vaccine design strategies increasingly rely on integrated in-silico pipelines that combine viral epitope identification, structural validation and MHC-epitope binding affinity predictions to prioritize candidates for downstream in-vitro and in-vivo evaluation. Recent advances in machine learning (ML) have fundamentally reshaped Immunoinformatics by enabling data-driven modeling of complex sequence-structure-function relationships from large-scale immune datasets. Tools such as NetMHCpan [8], NetCTLpan [9] etc., identify peptides likely to be processed and presented by integrating sequence-derived features, proteasomal cleavage, TAP transport efficiency and peptide-MHC binding affinity predictions, drawing on databases such as IEDB [10], VDJdb [11] and SYFPEITHI [12]. More recently, predictive frameworks have expanded beyond antigen presentation to estimate peptide immunogenicity. For example, BigMHC [13] employs an ensemble of pan-allelic deep neural networks trained on mass spectrometry-derived MHC-eluted ligands followed by transfer learning on experimentally validated immunogenicity datasets. Whereas ImmunoStruct [14] integrates peptide sequence, peptide-MHC structural information and biochemical features within a multimodal deep learning framework to improve immunogenicity prediction and interpretability. However, peptide-MHC binding affinity alone does not reliably predict cytotoxic T lymphocyte (CTL) responses, as immunogenicity does not strictly correlate with MHC binding strength [15].

TCRs continuously scan pMHC complexes on antigen-presenting cells, yet only specific interactions initiate signaling. Effective immune activation ultimately requires recognition of the peptide-MHC complex by a cognate TCR, underscoring the need to model pMHC-TCR interactions. Accordingly, TCR-specific frameworks such as POPSIP8K [16], NetTCR2.2 [17], PRIME2.1 [18], T-SCAPE [19] have leveraged experimentally validated TCR-epitope interaction datasets curated in publicly available immunological databases [10, 11, 12] to learn statistical relationships between complementarity-determining regions (CDRs), particularly the hypervariable CDR3 loops, and epitope recognition. For instance, PRIME2.1 combines antigen presentation predictions with experimentally validated neoepitope datasets to estimate the likelihood of productive T-cell recognition [18], whereas T-SCAPE employs adversarial domain adaptation to integrate heterogeneous immunological information, including MHC presentation, peptide-MHC binding, pMHC-TCR interactions, source organism information and T-cell activation [19]. Despite these advances, current models predominantly learn statistical relationships from static sequence or structural datasets, providing limited mechanistic insight into the dynamic molecular determinants governing selective TCR activation. Consequently, the conformational changes associated with TCR signaling remain poorly understood.

In this context, molecular dynamics (MD) simulations provide a complementary and mechanistic framework for understanding how dynamic structural fluctuations triggers T-cell activation. Early MD studies by Knapp et al. explored conformational variations in the LC13 TCR when bound to immunogenic and non-immunogenic peptides using all-atom simulations of multiple pMHC-TCR complexes, but reported no striking structural differences between the two classes [20]. Subsequent simulations of different TCRs in bound and unbound states similarly failed to reveal clear discriminative features [21]. More recent studies have incorporated membrane environments to better mimic physiological conditions. Alba et al. performed membrane-bound all-atom simulations of pMHC alone and pMHC-TCR complexes and demonstrated that TCR binding restricts the conformational space of pMHC and that fluctuations in the TCRβ\beta constant region correlate with immune response [22]. Extending this work, the same group reported increased solvent exposure of CD3ε\varepsilon2 and CD3δ\delta regions upon pMHC binding in membrane-bound pMHC-TCR-CD3 complexes, suggesting a mechanistic link between extracellular recognition and intracellular signaling. Similarly, Floris et al. observed that pMHC binding induces TCR rigidification and decoupling of the CD3 complex, facilitating immunoreceptor tyrosine-based activation motif (ITAM) phosphorylation and signal propagation [23] showed. However, it is important to note that most existing MD studies have primarily compared bound and unbound states of pMHC-TCR or pMHC-TCR-CD3 complexes, whereas in physiological settings TCRs continuously sample and bind a broad spectrum of peptides presented by MHC molecules, including self-antigens with weak affinity (Scheme 1). Discriminating immunogenic from non-immunogenic interactions therefore requires understanding how TCR conformational dynamics differ across functionally distinct bound states, rather than simply between bound and unbound configurations. Capturing these subtle yet functionally relevant dynamic signatures is essential for elucidating the mechanistic basis of TCR-mediated immune activation.

In this study, we adopt an integrative computational framework combining bioinformatics tools, molecular dynamics (MD) simulations, and machine learning (ML) algorithms to identify viral epitopes as promising candidates for peptide vaccine design. Bioinformatics-based methods are first employed to predict a list of antigenic epitopes of a given virus based on sequence composition, antigenicity, and binding affinity to major histocompatibility complex (MHC) molecules. For an effective immune response to occur, the resulting peptide-MHC (pMHC) complex must be recognized by a cognate T cell receptor (TCR), thereby initiating downstream signaling cascades. To address this, we perform large-scale all-atom and coarse-grained MD simulations to elucidate the conformational and dynamical changes in TCRs upon binding to pMHC complexes that drive T-cell activation. Subsequently, machine learning algorithms are applied on the MD-derived trajectories data to extract informative dynamic descriptors associated with T-cell immunogenicity and to generate an Immunogenicity prediction model (DynamiT) to screen the most viable viral epitopes for vaccine development (Scheme 1).

Results

In this study, we focus on identifying conformational changes within the T cell receptor (TCR) that distinguish immunogenic from non-immunogenic pMHC complexes using MD simulations and time-series based ML classifiers. Although crystal structures of peptide-MHC-TCR (pMHC-TCR) complexes have provided valuable insights, they represent static snapshots and are often insufficient to differentiate immunogenic from non-immunogenic complexes [24], motivating the use of a dynamic, time-resolved framework. To achieve this, we performed 1 μs1\ \mu\mathrm{s} coarse-grained (CG) simulations of membrane-embedded pMHC-TCR complexes representing experimentally characterized immunogenic and non-immunogenic peptide variants to generate a large-scale dataset of TCR conformational dynamics. The resulting trajectories were analyzed to characterize TCR dynamics, develop an interpretable time-series machine learning classifier for immunogenicity prediction, and identify structural signatures associated with productive T-cell activation. Finally, the robustness and generalizability of these signatures were evaluated using independent pMHC-TCR complexes spanning multiple viral systems as an out-of-class test set.

To establish the training dataset, we selected the well-characterized pMHC-TCR system reported by Kjer-Nielsen et al. [25], in which the Epstein-Barr virus (EBV)-derived epitope FLRGRAYGL from the EBNA3A protein is presented by HLA-B08:01 and recognized by the LC13 TCR. The authors performed residue-wise mutations of the peptide and experimentally quantified the resulting T-cell responses, making it a well-suited system for linking conformational dynamics to functional activation. Using the crystal structure of the HLA-B*08:01–FLRGRAYGL–LC13 TCR complex (PDB ID: 1MI5), we generated both all-atom and Martini coarse-grained models of the membrane-embedded pMHC–TCR complex (Figure 1A,B). The transmembrane regions of the MHC and TCR were first modeled and subsequently embedded into biologically relevant dendritic-cell and T-cell membrane compositions, respectively, using experimentally derived lipid compositions [26, 27] (Figure 1C; methodology detailed in Section 3). Systematic single-residue mutations of the wild-type EBV peptide were introduced to generate a dataset comprising 50 immunogenic systems (IS) and 50 non-immunogenic systems (NIS) having peptide variants based on experimentally measured T-cell response (Figure 1D). Immunogenic variants correspond to the top 50 peptides have exhibiting high 50% lysis at a peptide concentration of 10−7 M10^{-7}\ \mathrm{M}, whereas non-immunogenic variants failed to induce 50% lysis at any tested peptide concentration [25]. Each membrane-embedded pMHC-TCR complex was subsequently subjected to 1 μs1\ \mu\mathrm{s} coarse-grained molecular dynamics simulations, as described in Section 3.

Overview of the proposed epitope-prediction pipeline

Figure 1. Overview of the proposed epitope-prediction pipeline (DynamiT) integrating molecular dynamics (MD), and machine learning. (A) T-cell activation is initiated when a T-cell receptor (TCR) recognizes a peptide–MHC (pMHC) complex and only a subset of pMHC–TCR interactions induces the conformational changes required for downstream signaling. (B) MD simulations of multiple immunogenic-response (IR) and non-immunogenic-response (NIR) pMHC–TCR complexes to capture conformational changes and generate structural/dynamical descriptors. (C) Time-series features extracted from the simulations are used to build the DynamiT framework. DynamiT classifies peptide immunogenicity while identifying the key conformational features that drive T-cell activation. (D) End-to-end application of the pipeline from candidate peptides to immunogenicity predictions.

Construction of membrane-embedded pMHC-TCR systems and generation of the simulation dataset

Figure 1. Construction of membrane-embedded pMHC-TCR systems and generation of the simulation dataset. (A, B) Atomistic and coarse-grained (CG) representations of the MHC-peptide-TCR complex with transmembrane (TM) domains embedded in the dendritic cell and T-cell membranes. (C) Lipid composition of dendritic cell and T-cell membranes used in the simulations. (D) Representation of training set peptide composition and systematic peptide mutagenesis to produce immunogenic and non-immunogenic variants.

Membrane Dynamics Supports System Architecture

Before performing large-scale simulations of the complete dataset, we first evaluated whether the CG simulation protocol accurately reproduces the structural differences observed experimentally between immunogenic and non-immunogenic pMHC-TCR complexes. For this purpose, we selected four experimentally characterized peptide variants sharing the same TCR and MHC but exhibiting distinct immunogenic outcomes (two immunogenic and two non-immunogenic complexes) with available crystal structures [24] (PDB IDs: 1AO7 (WT), 1QSE (V7R), 1QRN (P6A) and 1QSF (Y8A)). Starting from the wild-type structure (PDB ID: 1AO7), point mutations corresponding to V7R, P6A and Y8A were introduced, followed by modeling of the transmembrane regions and construction of full-length membrane-embedded pMHC-TCR complexes (Figure 1A,B). All-atom (100 ns) and Martini coarse-grained (1 μs1\ \mu\mathrm{s}) simulations were performed in triplicates as discussed in Section 3, allowing direct assessment of the ability of the CG framework to reproduce experimentally observed mutation-dependent structural differences.

Although the experimentally resolved crystal structures differ by only 0.6 A˚0.6\ \mathring{\mathrm{A}} RMSD, they exhibit distinct buried surface areas (BSA) at the pMHC-TCR interface between immunogenic and non-immunogenic complexes [24]. We therefore used interface BSA as an independent structural metric to evaluate the simulation protocols. Experimentally determined immunogenic complexes exhibited slightly larger interface BSA (20.7320.73 and 20.85 nm220.85\ \mathrm{nm}^{2}) than the non-immunogenic complexes (20.4620.46 and 20.12 nm220.12\ \mathrm{nm}^{2}) [24]. To facilitate comparison of relative BSA trends, values in (Figure 2A) were normalized independently within each dataset (Experimental, AA and CG). The CG simulations closely reproduced the experimental trend, maintaining higher normalized BSA values for the immunogenic complexes than the non-immunogenic complexes. In contrast, the all-atom simulations showed a substantially larger reduction in normalized BSA, particularly for the non-immunogenic variants, resulting in greater deviation from experimental values (Figure 2A). This improved agreement of CG simulations with the experimental structural details, likely due to the enhanced conformational sampling at longer timescales enabling mutation-induced structural rearrangements to relax towards conformations that are more closely to the experimentally observed structures. The inclusion of membrane environments, combined with extended sampling, further enables CG simulations to capture biologically relevant TCR dynamics more realistically. Given the substantial computational cost of all-atom simulations for large membrane-embedded systems at microsecond timescales, we therefore adopted the CG framework for simulating multiple pMHC-TCR complexes. Since TCR activation occurs within a highly heterogeneous cellular membrane, we next assessed whether the simulations accurately reproduce key membrane properties.

Validation of the coarse-grained simulation framework

Figure 2. Validation of the coarse-grained simulation framework. (A) Comparison of normalized buried surface area (BSA) for four pMHC-TCR complexes obtained from experimental structures, all-atom simulations, and coarse-grained (CG) simulations. All-atom and CG systems were generated from the wild-type structure by introducing the corresponding peptide mutations. (B) Leaflet interdigitation between the dendritic-cell and T-cell membranes, demonstrating stable overlap between opposing membrane leaflets throughout the simulations. Lipid order parameters (SCDS_{CD}) of POPC for the palmitoyl and oleoyl acyl chains in the T-cell and dendritic-cell membranes obtained from all-atom (C,D) and CG (E,F) simulations. Membrane curvature of immunogenic (IS) and non-immunogenic (NIS) systems at the initial simulation frame (G,J) and during the production run (H,I,K,L). (G-I) Two-dimensional membrane undulation maps showing local deviations of the membrane midplane relative to the mean membrane plane. (J-L) Corresponding three-dimensional membrane surface reconstructions highlighting differences in membrane curvature between IS (K) and NIS (L) systems.

Leaflet interdigitation remained stable throughout the simulations, with an average normalized overlap fraction of approximately 0.6 (Figure 2B), indicating stable coupling between opposing membrane leaflets and the absence of membrane packing defects [28]. This demonstrates that insertion of the pMHC-TCR complex does not perturb bilayer integrity, thereby preserving a realistic environment for transmembrane protein dynamics. Lipid order parameters (SCDS_{CD}) were calculated for POPC, one of the major phospholipid components of both membrane models. As membrane order is strongly influenced by cholesterol content and lipid composition [29], the simulated order parameters were compared with previously reported experimental and computational values [30, 31]. Both all-atom and CG simulations reproduced the expected qualitative ordering of lipid acyl chains ([]{#fig:2}C-F), with minor deviations attributing to the more complex lipid compositions employed in the present cell-mimetic membrane models compared with simpler reference bilayers. Collectively, these results confirm that lipid packing is preserved throughout the simulations. We next examined membrane curvature, given its established role in regulating transmembrane protein organization and receptor activation [32]. At the beginning of the simulations, the membrane remained largely planar with minimal surface undulations ([]{#fig:2}G,J). As the simulations progressed, localized membrane curvature emerged around the TCR transmembrane domain. In IS, these deformations became progressively more pronounced, producing membrane height differences approaching 8 Å ([]{#fig:2}H,K), whereas NIS exhibited only slight curvature throughout the simulations ([]{#fig:2}I,L). Analysis of multiple independent IS and NIS further confirmed that membrane curvature is consistently more pronounced in immunogenic complexes (Supplementary Figure S1). These observations suggest that productive TCR activation is accompanied by localized membrane remodeling, consistent with previous studies linking membrane curvature to lipid organization, receptor clustering and membrane mechanics during immune activation [33].

Membrane curvature analysis of immunogenic and non-immunogenic systems

Figure S1. Membrane curvature analysis of representative immunogenic (IS1–IS4) and non-immunogenic (NIS1–NIS4) systems. The top two rows (A–H) correspond to immunogenic systems, whereas the bottom two rows (I–P) correspond to non-immunogenic systems. The first and third rows show two-dimensional membrane undulation maps illustrating local height deviations of the membrane midplane relative to the mean plane. The corresponding second and fourth rows present three-dimensional surface topographies, providing spatial reconstructions of membrane curvature. Immunogenic systems consistently exhibit larger membrane deformations and more pronounced local curvature than non-immunogenic systems, indicating enhanced membrane remodeling during immunogenic activation.

Collectively, the agreement in interface BSA and membrane properties demonstrates that the coarse-grained simulation protocol captures the structural and biophysical characteristics of membrane-embedded pMHC-TCR complexes, supporting its application to the complete dataset for subsequent analyses of TCR dynamics and immunogenicity prediction.

Data determining the complex TCR dynamics

Following validation of the coarse-grained simulation protocol, we performed 1 μs1\ \mu\mathrm{s} simulations for 100 pMHC-TCR complexes, comprising 50 immunogenic systems (IS) and 50 non-immunogenic systems (NIS), as defined by experimentally measured immune responses [25]. All comparative analyses were restricted to the final 500 ns of each trajectory to minimize the influence of initial structural relaxation.

We first examined commonly used structural descriptors, including the distances between the peptide and the CDR3αCDR3\alpha and CDR3βCDR3\beta loops (as CDR3αCDR3\alpha and CDR3βCDR3\beta determine the peptide recognition), buried surface area (BSA) at the pMHC-TCR interface, TCR-MHC distance, root-mean-square deviation (RMSD), and radius of gyration (RgR_{g}). of different domains of the TCR. The distributions of these individual descriptors showed substantial overlap between the IS and NIS data points, and their average temporal profiles did not exhibit consistent class-wise separation (Supplementary Figure S2). Considerable system-to-system variation was also observed within each class. Thus, immunogenicity could not be explained by a single structural descriptor or a universal threshold in the raw feature space.

Distribution and temporal evolution of structural features across immunogenic and non-immunogenic systems

Figure S2. Distribution and temporal evolution of different structural features across immunogenic (IS, black) and non-immunogenic (NIS, red) systems. (A) Peptide–CDR3α\alpha loop distance. (B) Peptide–CDR3β\beta loop distance. (C) Root-mean-square displacement (RMSD) of the TCR constant region. (D) Radius of gyration (RgR_g) of the TCRα\alpha constant domain. (E) Radius of gyration (RgR_g) of the TCRβ\beta constant domain. (F) Buried surface area (BSA) at the pMHC–TCR interface. For each feature, the upper panel shows the distribution across all sampled frames, with dashed lines indicating the class mean, while the lower panel shows the corresponding class-averaged time evolution over the final 500 ns of the simulations (500 ns–1 μ\mus); shaded regions represent the standard deviation across systems.

We therefore hypothesized that immunogenicity is encoded by coordinated changes across multiple structural and dynamical properties of the pMHC–TCR complex. To capture these collective signatures, we extracted 25 time-dependent biophysical descriptors spanning three interconnected aspects of TCR dynamics: structural stability, interfacial organization, and domain-level conformational motion (Supplementary Table 1). Structural stability was characterized using the RMSD and RgR_g of the TCR variable (VαV_{\alpha} and VβV_{\beta}), constant (CαC_{\alpha} and CβC_{\beta}), and transmembrane (TM) regions. Interfacial organization was described using the BSA at the pMHC–TCR interface, distances between the peptide and the CDR3α\alpha and CDR3β\beta loops, distances between the MHC and the germline-encoded CDR1α\alpha, CDR2α\alpha, CDR1β\beta, and CDR2β\beta loops, and intermolecular contacts defined using a 0.6 nm cutoff (detailed in Section 3). These descriptors provided complementary measures of global structural stability and local recognition at the pMHC–TCR interface. To determine whether peptide recognition produces conformational changes beyond the binding interface, we additionally characterized domain-level motions of the VαV_{\alpha}, VβV_{\beta}, CαC_{\alpha} and CβC_{\beta} regions. The orientations of the TCRα\alpha and TCRβ\beta TM helices relative to their corresponding constant domains were also monitored. For each chain, the TM bending angle was defined using three centres of mass: the constant domain and the N- and C-terminal segments of the TM helix, represented by its first and last four residues, respectively. The analysed TM spans correspond to VIGFRILLLKVAGFNLLMTLRLW in TCRα\alpha and TILYEILLGKATLYAVLVSALVL-MAM in TCRβ\beta. Complete definitions and calculation procedures for all descriptors (Supplementary Table 1) are provided in Section 3. This representation therefore connected local peptide recognition with conformational changes across the complete TCR complex.

HCVAdenovirusHantavirus
CINGVCWTVTDLGQNLLYISNQEPLKL
CVNGVCWTVLTDLGQNLLYQLGQRKIVL
TISGILWTVLLDQLIEEVQLGQRIIVL
TVNGVLWTVLLDQLIIEVQLGQRIKVL
TINGVLWTVLLDQWIEEVQLGWRIKVL
LLDELIEEVQLGYRIKVL
LLDILIEEV
LLDWLIEEV

Table 1. Potential peptide vaccines for HCV, adenovirus, and hantavirus with already experimentally known peptides highlighted in purple

Each system contributed 2,500 time points from the final 500 ns of its trajectory. The complete dataset was therefore represented as X∈R100×2500×25\mathbf{X} \in\mathbb{R}^{100 \times2500 \times25}, where the dimensions correspond to systems, time points, and biophysical features, respectively. Preprocessing adjusted the temporal dimension to meet the MANTIS input requirement, which produced XMANTIS∈R100×2496×25\mathbf{X}_{\mathrm{MANTIS}} \in\mathbb{R}^{100 \times2496 \times25}. This adjustment retained all 25 features, the balanced class composition, and the system-level unit of analysis. The resulting representation preserved coordinated and time-dependent changes across the pMHC–TCR interface, extracellular TCR domains, connecting regions, and TM helices. It therefore supported system-level classification based on the combined dynamics of the complete complex.

Performance on an independent external cohort

DynamiT achieved the strongest overall performance on the independent external cohort of 30 pMHC–TCR systems (Figure 3). This cohort contained 17 immunogenic and 13 non-immunogenic systems. Across the 12 evaluated methods, DynamiT obtained the highest accuracy (0.7333), F1F_1 score (0.7647), precision (0.7647), and Matthews correlation coefficient (MCC; 0.4570). Its recall was 0.7647.

Performance of DynamiT and the baseline methods on the independent external cohort

Figure 3. Performance of DynamiT and the baseline methods on the independent external cohort (n=30n = 30). (A) DynamiT architecture. (B) Accuracy, (C) F1F_1 score, (D) precision, (E) recall, and (F) Matthews correlation coefficient (MCC). (G) Mean rank across the five performance metrics. DynamiT achieved the highest accuracy, F1F_1 score, precision, and MCC, and obtained the best mean rank. The asterisk identifies the zero-shot evaluations of BigMHC and ImmunoStruct. The arrows indicate whether higher or lower values are preferred.

Arsenal was the strongest time-series baseline. DynamiT increased accuracy from 0.7000 to 0.7333, F1F_1 score from 0.7429 to 0.7647, precision from 0.7222 to 0.7647, and MCC from 0.3845 to 0.4570. Both models achieved a recall of 0.7647. DynamiT also outperformed ROCKET, MUSE, the Shapelet Transform, kk-nearest neighbours, and the summary-statistics classifier across the overall set of metrics. The summary-statistics classifier achieved an accuracy of 0.4000 and an MCC of −0.2217-0.2217. This result was consistent with a loss of relevant temporal information when each trajectory was reduced to global summary values.

The existing immunogenicity predictors showed a different performance profile. T-SCAPE, PRIME2.1, the IEDB model, and zero-shot BigMHC achieved recall values from 0.8235 to 0.9412. However, their precision ranged from 0.5517 to 0.5833, and their MCC ranged from −0.1624-0.1624 to 0.0673. Thus, their higher recall was accompanied by more false-positive predictions and weaker discrimination between the two classes. Zero-shot BigMHC achieved an accuracy of 0.5333 and an MCC of −0.0301-0.0301. Zero-shot ImmunoStruct achieved an accuracy of 0.4333 and an MCC of −0.1648-0.1648.

DynamiT obtained the best mean rank across the five metrics (1.9), followed by Arsenal (2.7) and T-SCAPE (4.5). These results show that DynamiT provided the most balanced performance among the methods evaluated on this cohort. They also support the use of coordinated pMHC–TCR dynamics as predictive information that complements sequence- and structure-based immunogenicity scores. However, the small external cohort limits the scope of this comparison, and larger independent datasets are required to establish broader generalizability.

Key TCR dynamics associated with immunogenicity

The attribution analysis linked DynamiT predictions to coordinated motions across the pMHC–TCR complex (Figure 4). Grouped feature ablation ranked the TCRβ\beta TM angle as the strongest contributor (Figure 4). The dominant motion of the TCRα\alpha constant domain ranked second. The TCRα\alpha TM angle and the buried surface area (BSA) at the pMHC–TCR interface also ranked among the leading features. These signals span the binding interface, extracellular constant domains, and membrane-proximal regions. DynamiT therefore used information distributed across the receptor rather than one static interfacial descriptor.

Feature- and time-resolved attributions associated with predicted immunogenicity

Figure 4. Feature- and time-resolved attributions associated with predicted immunogenicity. (A) Grouped feature ablation identifies the TCRβ\beta TM angle as the leading global feature. (B) Temporal attribution reaches its maximum at 790 ns. (C) Within-feature normalization shows the most informative periods for each dynamical coordinate. (D) Signed local attributions for matched wild-type and substitution pairs show changes in the feature contributions associated with the annotated class. Error bars in panel D show 95% bootstrap confidence intervals. All attribution analyses used the independent external test complexes.

Temporal importance varied across the analyzed trajectory and reached its maximum at 790 ns (Figure 4). The strongest classification signal therefore occurred during the later part of the simulation. The channel-by-time map showed that different features contributed during distinct periods (Figure 4C). Each row was normalized within its corresponding feature. The colour scale therefore identifies the most informative periods for each feature but does not compare absolute importance between features. These results indicate that the model used feature-specific temporal patterns rather than trajectory averages alone.

Local attributions showed how these signals differed between matched systems (Figure 4D). The immunogenic wild-type complexes 3MV9 and 7N1F were compared with their non-immunogenic substitution variants, 3MV9 E5D and 7N1F P4L, respectively. Both substitutions changed the features that supported or opposed the experimentally assigned class. Thus, a single amino acid substitution was associated with a change in the dynamic evidence used by the model, despite the structural similarity of each matched pair. These attributions describe model sensitivity and do not establish that either substitution causes the observed immunogenicity outcome. The 95estimated contributions.

Together, the global, temporal, and local analyses associated immunogenicity prediction with time-dependent motions across the binding interface, TCR constant domains, connecting regions, and TM helices. The following sections examine these leading features and their possible structural roles.

TCR TM Bending - Tunes Immunity?

Interpretability analysis revealed the TCRβ\beta transmembrane (TM) bending angle as the most prominent feature distinguishing immunogenic systems (IS) from non-immunogenic systems (NIS), with the TCRα\alpha TM bending angle emerging as the third most important feature. These features quantify the orientation of the TM helix relative to the extracellular constant domain and were designed to capture conformational changes that may be transmitted from the extracellular TCR domains toward the membrane-proximal signalling machinery. The TM bending angle was defined geometrically using three points: the centroid of the TCR constant domain, the start of the TM region, and the end of the TM region (detailed in Section 3). The TCRα\alpha and TCRβ\beta TM helices anchor the TCR within the T-cell membrane and are closely associated with the CD3 signaling complex. These CD3 chains contain immunoreceptor tyrosine-based activation motifs (ITAMs), which are phosphorylated upon TCR activation, initiating downstream signalling pathways including ZAP-70 recruitment, MAPK, NF-κ\kappaB, and calcium signalling [34]. Consequently, structural rearrangements within the TCR, particularly those propagating toward the TM region, are important for initiating intracellular signaling through the CD3 complex. We therefore examined whether TM bending dynamics differ systematically between IS and NIS.

Class-averaged trajectories show a clear separation between IS and NIS throughout the final 500 ns of the simulations (Figure 5A), with interval between 700 and 840 ns contributing most strongly to the feature importance identified by our interpretability analysis (Figure 4C). Though the average bending angle difference between the two classes remains nearly same, this temporal window was assigned the highest importance by the model. IS consistently adpot lower TM bending angles (∼144∘\sim144^\circ) than NIS (∼148∘\sim148^\circ), indicating that the TCRβ\beta TM helix acquires more tilted orientation relative to the extracellular domain and away from the membrane normal. Representative trajectories (IS-1, NIS-1) further illustrate this behaviour (Figure 5B). Following the initial equilibration phase (0-500 ns), both systems exhibit stable TM bending angles. Over time, the representative immunogenic system (IS-1) undergoes a pronounced reorientation of the TCRβ\beta TM helix, with the TM bending angle decreasing by approximately 27∘27^\circ (∼16.5%\sim16.5\%) (Figure 5D). In contrast, the representative non-immunogenic system (NIS-1) shows only a minor change in TM orientation (Figure 5G), indicating that large-scale TM reorientation is characteristic of the immune response. Similar divergence is observed across additional representative pairs (Supplementary Figure 3), suggesting that increased bending of the TCRβ\beta TM domain as a consistent structural signature of immunogenic triggering.

TCRβ transmembrane bending dynamics in immunogenic and non-immunogenic systems

Figure 5. TCRβ\beta transmembrane (TM) bending dynamics in immunogenic and non-immunogenic systems. (A) Average TCRβ\beta TM bending angle for all immunogenic (IS) and non-immunogenic systems (NIS) during the final 500 ns of the simulations (500 ns–1 μ\mus). (B) Time evolution of TCRβ\beta TM bending angle for one representative IS (IS-1) and NIS system (NIS-1). The blue shaded region indicates the critical window identified by the interpretability analysis as contributing most strongly to the predictive importance of this feature. (C–H) Structural comparison of the TCRβ\beta TM region in IS-1 and NIS-1, showing the initial structure (red), the average structure from the critical window (blue), and their superimposed orientations. Panels C–E correspond to IS-1 and illustrate a pronounced bending motion, whereas panels F–H correspond to NIS-1 and show comparatively limited bending. In all structural panels, the equilibrated MHC, TCRα\alpha, and TCRβ\beta are shown in magenta, green, and yellow, respectively.

Parallelly, the TCRα\alpha TM bending with respect to its constant domain also emerges as an important feature (Figure 6) with 720 to 780 ns as the critical window (Figure 4C). Across the simulations, IS display a lower average TCRα\alpha TM bending angle (141∘141^\circ) compared to NIS systems (144∘144^\circ), implying a more pronounced bending motion of TCRα\alpha away from the Z-axis over time (Figure 6A). This difference is particularly evident in representative trajectories (IS-1, NIS-1). In Figure 6B, both IS-1 and NIS-1 systems begin with similar initial bending angles, but by the end of the simulation, the IS-1 TCRα\alpha TM angle decreases to 125∘125^\circ, representing a 9%9\% reduction (Figure 6C,D), whereas NIS-1 remains relatively higher at 140∘140^\circ (Figure 6F,G). A steady trend is observed in additional representative pairs (IS-2 and NIS-2; Supplementary Figure 4), demonstrating that systematic reorientation of the TCRα\alpha TM domain is a recurring feature of immunogenic systems.

Figure 6. TCRα\alpha transmembrane (TM) bending dynamics in immunogenic and non-immunogenic systems. (A) Average TCRα\alpha TM bending angle for all immunogenic (IS) and non-immunogenic systems (NIS) during the final 500 ns of the simulations (500 ns–1 μ\mus). (B) Time evolution of TCRα\alpha TM bending angle for one representative IS (IS-1) and NIS system (NIS-1). The blue shaded region indicates the critical window identified by the interpretability analysis as contributing most strongly to the predictive importance of this feature. (C–H) Structural comparison of the TCRα\alpha TM region in IS-1 and NIS-1, showing the initial structure (red), the average structure from the critical window (blue), and their superimposed orientations. Panels C–E correspond to IS-1 and illustrate a pronounced bending motion, whereas panels F–H correspond to NIS-1 and show comparatively limited bending. In all structural panels, the equilibrated MHC, TCRα\alpha, and TCRβ\beta are shown in magenta, green, and yellow, respectively.

Together, these results indicate that coordinated TM bending of both TCRα\alpha and TCRβ\beta chains is a hallmark of functional activation in IS. Given that the TCR-CD3 complex forms a tightly coupled transmembrane signaling assembly, even subtle changes in TM orientation can alter CD3 interactions and downstream signaling [35]. Notably, the absence of significant TM reorientation in NIS systems reflects a structurally constrained or inactive receptor state, consistent with previous reports of reduced conformational flexibility or altered TM organization in low-responsive systems [36]. Having identified TM bending as the most informative predictor of immunogenicity, we next sought to determine which extracellular conformational changes give rise to these transmembrane rearrangements. Interpretability analysis identified the collective motions of the TCRα\alpha constant domain as the second-most informative feature, motivating a detailed analysis of its conformational landscape.

Cryptic Dynamics in TCRα Constant Domain

To investigate conformational dynamics across the various TCR domains and their influence on immunogenicity, we performed principal component analysis (PCA) on the constant (CαC\alpha, CβC\beta) and variable (VαV\alpha, VβV\beta) domains of TCRα\alpha and TCRβ\beta chains. The first two principal components (PC1 and PC2) capture the dominant collective motions, together accounting for up to ∼60%\sim60\% of the total dynamic variance, with PC1 contributing ∼45%\sim45\% and PC2 ∼15%\sim15\%. Such 1D or 2D projections are widely used to reveal functionally relevant conformational changes in TCR signaling systems. PC1 primarily represents large-scale conformational changes, while PC2 reflects secondary rotational or twisting motions. PC1 projections together with the combined PC1 and PC2 for CαC\alpha, CβC\beta, VαV\alpha and VβV\beta, were included as input features for the machine learning classifier. Notably, model interpretability identified the TCRα\alpha constant domain (CαC\alpha) as the second most important feature in determining immunogenicity (fig:4C), highlighting the functional relevance of its collective motions.

Among all TCR domains, the CαC\alpha domain has shown a distinguished PC1-PC2 conformational landscape projection between immunogenic and non-immunogenic systems (Supplementary fig:5A,E), while this separation is weak or absent in the corresponding PC1-PC2 projections of the remaining TCR domains (Supplementary fig:5B-D,F-H). To characterize the energetic basis of these conformational differences, we calculated one-dimensional free-energy surfaces (FES) along PC1 and PC2, and also two-dimensional FES combining both, for few IS and NIS (Section 3). FES of representataive IS-1 TCR CαC\alpha domain exhibited a rugged conformational landscape with deep energy minima corresponding to distinct conformational states (States 1-3; fig:7A,B). Along the primary PC1 axis, which accounts for the largest portion of variance (∼45%\sim45\%), energy barriers are relatively low (fig:7A), allowing the CαC\alpha domain to bend in a hinge-like manner and transition between functionally relevant conformations with ease. In contrast, the representative NIS-1 displayed a comparatively smoother landscape with poorly resolved minima and substantially higher barriers along PC1 (approximately 4 kJ/mol; fig:7D), restricting transitions between conformational states. Structural snapshots corresponding to the three principal free-energy minima (fig:7C,F) further support these observations. IS-1 (fig:7C and F, with state transitions color-coded from white to blue based on the timeframe of the structure and aligned to the original white structure) reveals a coordinated hinge-like movements in the connecting peptide (CP) region that links the CαC\alpha domain to the transmembrane (TM) region, suggesting a mechanically coupled motion that may facilitate propagation of extracellular conformational changes toward the membrane. On the other hand in NIS-1, the structural ensembles shown in fig:7F, largely overlap and display local motions imposed by the higher PC1 energy barriers.

Importantly, this pattern of well-defined, rugged minima and guided conformational switching in IS systems, versus shallow and disorganized landscapes in NIS systems, is consistent across multiple IS and NIS trajectories (Supplementary Figure 6). In Supplementary Figure 6, IS uniformly show lower barriers along PC1 when compared to NIS with similar PC1 and PC2 projection profiles, as discussed above. To further assess structural similarities across systems, analysis of additional representative systems (IS-2 and NIS-2; Supplementary Figure 7) shows the same pattern of connecting-peptide bending in IS-2 and restricted conformational changes in NIS-2. These observations propose that immunogenic peptides guide the Cα\alpha domain along energetically favorable pathways, involving coordinated motion of the Cα\alpha CP region. The dominant collective motions underlying these transitions were further visualized using porcupine analysis (Figure 7G-J). In the IS, the TCR Cα\alpha CP exhibits pronounced bending and relaxation motions (Figure 7G,H), whereas these dynamics are largely suppressed in the NIS (Figure 7I,J), consistent with our Cα\alpha FES analysis. To quantify these structural rearrangements, we measured the bending angle of the TCRα\alpha CP using three reference residues spanning the linker between the Cα\alpha domain and the transmembrane helix (Figure 7G-K; Section 3). In the IS-1, this angle varies substantially, ranging from approximately 96∘96^\circ to 127∘127^\circ (Figure 7K), reflecting significant conformational flexibility. By comparison, the NIS-1 remains nearly rigid, with the angle confined to a narrow range of 147∘147^\circ-148∘148^\circ (Figure 7K). These observations are consistent across the Immunogenic and Non-immunogenic classes (dotted lines in (Figure 7K)) indicating that immunogenic systems undergoes differential changes in the connecting-peptide conformations, that can occasionally bring it close to nearby chains or even surrounding lipids.

Principal component analysis and differential dynamics of the TCRα constant regions in immunogenic and non-immunogenic systems

Figure 7. Principal component analysis and differential dynamics of the TCRα\alpha constant regions in immunogenic and non-immunogenic systems. (A–C) Immunogenic system (IS) and (D–F) non-immunogenic system (NIS). (A,D) One-dimensional free-energy profiles along PC1 and PC2. (B,E) Two-dimensional free-energy landscapes projected onto PC1 and PC2, with major conformational minima numbered. (C,F) Representative structures corresponding to these minima, colored according to their occurrence over simulation time, with blue representing later time points. IS shows a pronounced change in the orientation of the TCRα\alpha connecting peptide (CP), consistent with a bending motion, whereas NIS retains similar CP orientations. (G,H) Porcupine plots of the dominant motions along PC1 and PC2 in IS-1, with CP bending angles of 127.6∘127.6^\circ and 96.37∘96.37^\circ, respectively. (I,J) Corresponding motions in NIS-1, showing no pronounced CP bending. (K) Time evolution of the TCRα\alpha CP angle for representative IS-1 and NIS-1 trajectories together with their class-averaged profiles. (L) Residue-wise RMSF of the CP in IS and NIS, shown as class averages (solid lines) with corresponding standard deviations (shaded region). (M) Structural representation of the CP highlighting residues with the largest differences in flexibility between IS and NIS. (N) Dynamic cross-correlation matrix (DCCM) of TCRα\alpha, showing correlated motions between the CP and transmembrane (TM) region.

Residue-level analysis using RMSF profiles further localizes these collective motions to a discrete segment within the TCRα\alpha CP (Figure 7L). Residues E216-D218 have elevated fluctuations in the IS compared with the NIS, suggesting that it functions as a local hinge facilitating bending motions. The three-dimensional representation of the CP region (blue) and the highly fluctuating regions-SFETDTN (grey) are shown in Figure 7M. The functional importance of this region is supported by previous experimental studies demonstrating that disruption of the conserved FETDxNLN motif within the TCRα\alpha CP abolishes productive TCR signalling, implicating its role in transmitting conformational changes from the TCRαβ\alpha\beta heterodimer to the CD3/ζ\zeta signalling complex [37]. To examine whether these CP hinge motions are correlated with the TCR TM region bending, we calculated the dynamic cross-correlation matrix (DCCM) for the TCRα\alpha (Figure 7N) and β\beta chains together (Supplementary Figure 8). The DCCM reveals strong positive correlations within the CP itself (residues 206-222), indicating that this segment moves as a coordinated structural unit. In contrast, the TCRα\alpha CP exhibits pronounced negative correlations with the adjacent TCRα\alpha transmembrane helix, suggesting coordinated anti-correlated motions between these two regions. A similar dynamic coupling pattern is observed for the TCRα\alpha CP region and the TCRβ\beta TM region (Supplementary Fig. 8). These correlation patterns suggests that the TCRα\alpha CP acts as a dynamic mechanical coupler linking TCR extracellular conformational rearrangements to the TCR transmembrane region.

Altogether, these results suggest that immune response is associated with a flexible, multi-state conformational landscape that enables dynamic coupling between extracellular ligand recognition and the TM region with TCRα\alpha CP as a central linker of this process, especially E216-D218 residues contributing to its dynamic adaptability.

Interfacial Buried Surface Area: A constant player

The fourth most important feature identified by our model interpretability is the interfacial buried surface area (BSA) between the pMHC complex and the TCR. As shown in fig:8A, IS consistently exhibit higher BSA than NIS, with the time window between 720-780 ns being particularly informative for classifying immunogenicity. While averaging across all IS and NIS smooths out differences, the overall trend remains observable. To explore this behavior in detail, we analyzed representative systems IS-1 and NIS-1. Despite starting from similar BSA values (fig:8B), reflecting from the structural perturbations by the point mutations, the immunogenic system progressively increases its BSA by approximately 3 A˚23\ \AA^{2}, corresponding to 10% rise. This increase reflects the conformational changes the peptides undergo to better complement the TCR binding pocket. While in NIS, the mutations are either disrupting the hydrophobic core interactions being formed or some certain residues that could potentially engage the TCR remain restricted due to stabilizing interactions with the MHC. Although BSA is correlated with binding affinity, it is not sufficient to explain immunogenicity, as affinity-based approaches alone often do not accurately predict T-cell activation [38].

To uncover the structural basis underlying these differences, we next examined how the peptide mutations alter residue positioning within the pMHC-TCR interface. In a pMHC-TCR complex, previous studies on the presentation of HLA class I peptides have stated that the positions of peptides P2, P3 and P9 primarily anchor the peptide within the MHC binding groove, whereas the central residues remain solvent exposed and actively interact with TCRs [39] (illustrated schematically in fig:8E). Structural analysis throughout the simulation (0 ns, 500 ns, 750 ns, corresponding to the center of the critical window, and 1 μs1\ \mu\mathrm{s}; fig:8F-fig:8H) reveals that, in IS, peptide residue Y7 progressively reorients and inserts into the hydrophobic groove of the TCR, increasing peptide-TCR contacts and consequently the buried surface area. In contrast, this insertion is absent in the NIS-1, where the Y7G mutation reduces hydrophobicity of the peptide, leading to a further decrease in solvent-accessible surface area (SASA) and limiting peptide-TCR interactions (fig:8I-fig:8K). In TCR, the CDR3β\beta loop forms the major peptide interacting region and contributes the most for TCR-specific peptide recognition [40]. Interestingly, the CDR3β\beta loop is enriched in aromatic residues, particularly tyrosines, which frequently participate in hydrophobic packing at the center of the peptide-TCR interface [40, 41]. In the LC13 TCR, residue Y98 forms part of the CDR3β\beta loop (ASSLGQAYEQY). fig:8F-fig:8H, inset panels show that CDR3β\beta residue Y98 reorients itself during the simulation to account for more tight packing. At 500 ns, Y98 remains relatively distant from the peptide residue Y7, whereas by the center of the critical window (750 ns), it directly interacts with the inserted aromatic side chain, strengthening the peptide-TCR interface.

To quantify this, we calculated the number of contacts formed between peptide residue Y7 and CDR3β\beta residue Y98 over time. As shown in fig:8L, the number of contacts increases by approximately two contacts in the IS, whereas in NIS it remains the same. This increase in local aromatic interactions coincides with the rise in buried surface area, directly linking peptide rearrangement to the enhanced peptide-TCR interface identified by our model. Further, to confirm this hypothesis, we analyzed additional systems, IS-2 and NIS-2 (Supplementary Figure 9). IS-2 contains a F1W mutation, while NIS-2 carries an A6I mutation (Supplementary Figure 9C,D). Consistent with our previous observations, IS-2 shows a ∼18%\sim18\% increase in BSA over time (Supplementary Figure 9B), accompanied by enhanced movements of aromatic side chains within the TCR binding pocket. Interestingly, as phenylalanine is mutated to tryptophan in IS-2, the bulkier tryptophan engages more effectively with the TCR interface, enhancing contacts (Supplementary Figure 9E,F,G). In contrast, the BSA of NIS-2 (A6I) remains the same, likely due to stabilizing interactions with MHC, particularly due to the hydrophobic mutation at position 6, which restricts the flexibility of the peptide (Supplementary Figure 9H,I,J). These results suggest that specific point mutations can modulate peptide-TCR complementarity, contributing to the observed differences in BSA between IS and NIS. Although this orientation of peptide residues may vary depending on the MHC allele, this behavior is consistent with class I viral peptides, which are typically 9 amino acids in length.

We next investigated sequence-level contributions to understand their influence on the BSA, amino acids were grouped into five physicochemical classes: hydrophobic, aromatic, polar, acidic, and basic. Global composition analysis (Figure 8M) shows similar distributions across immunogenic and non-immunogenic peptides, indicating that overall amino acid frequency is not a distinguishing factor. However, position-specific analysis (Figure 8N) reveals clear patterns: hydrophobic residues are enriched at positions P2, P4, and P6, while aromatic residues frequently occupy P1 and P7 in both classes. A key distinction emerges at intermediate positions (P2–P7), which primarily interact with the TCR (Figure 8N). Immunogenic peptides largely lack polar, acidic, or basic residues at these positions, whereas non-immunogenic peptides frequently contain such residues. These polar or charged residues likely reduce favorable insertion into the hydrophobic TCR interface, thereby weakening TCR engagement. These observations are consistent with prior studies demonstrating that central peptide positions (P4–P6) are critical for TCR recognition and that aromatic residues enhance immunogenic potential [39]. Furthermore, TCR recognition is driven primarily by peptide-specific interactions and conformational sampling rather than overall binding affinity [42]. Structural studies further support that peptide-induced conformational changes are transmitted across the TCR-CD3 complex to initiate signaling [36, 43].

Time-dependent Buried surface area variation determining peptide–CDR3β orientations and peptide characteristics in immunogenic and non-immunogenic systems

Figure 8. Time-dependent Buried surface area (BSA) variation determining peptide–CDR3β\beta orientations and peptide characteristics in immunogenic (IS) and non-immunogenic systems (NIS). (A) Average pMHC–TCR interfacial BSA for all IS and NIS over the equilibrated simulation window (500 ns–1 µs), with the critical window identified by the interpretability analysis highlighted in blue. (B) Time evolution of BSA for representative IS-1 and NIS-1 systems. (C,D) Peptide structures and sequences of IS-1 and NIS-1, carrying L9V and Y7G mutations, respectively. (E) Schematic representation of the peptide-binding interface, showing position-specific interactions with HLA-I and TCR in the reference pMHC–TCR structure (PDB ID: 1MI5). Representative conformations of IS-1 (F–H) and NIS-1 (I–K) at 0, 500, and 750 ns, with 750 ns corresponding to the critical time window. MHC, TCRα\alpha, and TCRβ\beta are shown in mauve, green, and yellow, respectively, with the peptide shown in licorice representation and colored by residue. In IS-1, peptide residue Y7 progressively reorients at the TCR interface, accompanied by movement of CDR3β\beta residue Y98 toward hydrophobic peptide residues (highlighted in the insets), supporting tighter peptide–TCR packing and increased BSA; these rearrangements are not observed for the corresponding G7 residue and CDR3β\beta loop in NIS-1. (L) Time evolution of peptide–Y98 contacts in IS and NIS, shown as class averages with shaded regions indicating standard deviations. (M) Average occurrence of hydrophobic, aromatic, basic, acidic, and polar residues in IS and NIS peptides. (N) Position-wise physicochemical characteristics of 50 IS and 50 NIS peptides across positions P1–P9, showing a higher occurrence of polar or acidic residues at central positions in NIS.

Overall, our results demonstrate that while BSA contributes to immunogenicity, it is not the primary determinant. Instead, dynamic structural rearrangements, residue positioning, and local physicochemical compatibility at the TCR interface govern immune activation, underscoring the need for dynamic, structure-based predictive models. (Figure 8H).

TCR TM Bending to Immunogenicity via CD3 Activation

As discussed in the Introduction and in Scheme 1, the CD3 complex surrounding the TCR plays a key role in transmitting conformational changes of the TCR into downstream intracellular signaling events. Since our previous analyses highlighted membrane bending of the TCRα\alpha chain as an important dynamic feature associated with immunogenicity, we extended our simulations to include the CD3 complex in order to investigate how these TCRα\alpha conformational changes propagate further into the signaling machinery. To investigate structural coupling between antigen recognition and CD3-mediated signaling, we constructed a complete membrane-bound TCR–CD3 complex using the cryo-EM structure of the human TCR–CD3 assembly (PDB: 6JXR) [43]. The TCR–CD3 complex was structurally aligned with the pMHC–TCR complex (represented in black) used throughout this study to generate a membrane-embedded pMHC–TCR–CD3 system (Supplementary fig:10A). The resulting model comprises the pMHC–TCR complex together with the six associated CD3 subunits (CD3δ\delta, CD3γ\gamma, two CD3ϵ\epsilon, and two CD3ζ\zeta chains) surrounding the TCR within the membrane (Supplementary fig:10B). Five immunogenic (IS) and non-immunogenic (NIS) systems were subsequently simulated for 3 μ\mus using the same coarse-grained molecular dynamics protocol described in Section 3, enabling direct comparison of CD3 rearrangements during immune activation.

Consistent with previous studies, TCR activation is associated with coordinated conformational rearrangements in both TCR and CD3 subunits [36, 44]. In our simulations, IS exhibit distinct CD3 reorganization compared to NIS. Most notably, in IS the two CD3ζ\zeta chains move close to each other throughout the simulation, undergoing a clear transition after approximately 1 μ\mus leading to an increase of 20 contacts(Figure fig:9A). Following this transition, the number of inter-chain contacts reaches a stable plateau, whereas NIS remains constant. This increased ζ\zeta–ζ\zeta association is complemented by a reduction in interactions between the CD3ζ\zeta dimer and the TCRα\alpha transmembrane helix (Figure fig:9G), suggesting a coordinated rearrangement of the CD3 assembly driven by bending of the TCRα\alpha TM region. To determine which regions drive this structural reorganization, we calculated residue-level contact frequencies between the two CD3ζ\zeta chains (Figure fig:9B,C). In IS, the interaction interface is broader with stable contacts distributed across a continuous stretch of neighbouring residues. In particular, residues within the F10–V23 region show consistently higher contact occupancies, suggesting that closer association of the two CD3ζ\zeta transmembrane helices is initiated near the C-terminal end and propagates toward the N-terminal (extracellular) side, resulting in a more stronger interaction interface. In contrast, NIS exhibit fewer interactions, which remain confined to a smaller set of residues. This localized interaction pattern is consistent with the reduced number of inter-chain contacts observed in Figure fig:9A.

Structural snapshots provide direct visualization of this transition. Representative IS-1 and NIS-1 systems begin from nearly identical CD3ζ\zeta orientations; however, by the end of the simulation the two CD3ζ\zeta TM regions in IS-1 move closer, forming a compact dimeric arrangement (Figure fig:9D), whereas little structural reorganization is observed in NIS-1 (fig:9F). To characterize the molecular basis of this reorganization, the final coarse-grained structure of IS-1 was converted to an atomistic representation (fig:9E). The reconstructed structure reveals the formation of a well-defined interaction partners between the two CD3ζ\zeta chains. Specifically, reciprocal hydrogen-bond interactions between Y12 of one chain and T17 of the opposing chain, together with hydrogen bonds involving the conserved D6 and C2 residues (highlighted in yellow in fig:9E), stabilize the interface. Additional hydrophobic contacts formed by residues L9, F10, L19, and F20 further stabilize this association. Overall, the immunogenic system forms a much tighter interface between the two CD3ζ\zeta helices than observed at the beginning of the simulation, in agreement with the conserved transmembrane packing reported from experimentally determined TCR–CD3 complexes [43, 45].

As discussed above, the increased association between the two CD3ζ\zeta chains is complemented by loss of interactions between TCRα\alpha and the CD3ζ\zeta dimer by 29% (fig:9G). Residue-resolved contact maps further localize these changes (fig:9H,fig:9I). In NIS, interactions between TCRα\alpha and CD3ζ\zeta are distributed across a broad region of the TM interface remain largely preserved throughout the simulation. In contrast, IS display a reduced contact occupancies rather than complete loss of interactions. Instead, specific interaction hotspots are selectively weakened or disappear, indicating localized remodeling of the TCRα\alpha–CD3ζ\zeta interface during immunogenic activation. Structural comparison of the IS-1, NIS-1 final simulation frames illustrates the molecular basis of this contact redistribution (fig:9J,fig:9K,fig:9L). The bending of TCRα\alpha TM helix is sufficient to increase its separation from the adjacent CD3ζ\zeta dimer, leading to disruption of several stabilizing interactions present in the initial structure. The atomistic reconstruction of the final NIS-1 state (fig:9L) highlights the interaction network that is maintained at the TCRα\alpha-CD3ζ\zeta interface but becomes weakened in IS. Among these interactions, TCRα\alpha R232 emerges as a central interaction hub, remaining in close proximity to the conserved D6 and C2 residues of both CD3ζ\zeta chains and forming a dynamic network of electrostatic and hydrogen-bonding interactions (hydrogen bonds are highlighted in yellow in fig:9L) followed by K237 interactions with Y12. TCRα\alpha has a nice stretch of hydrophobic residues I229, I233, L235, L236, G240, and L243 involving in more hydrophobic interactions with the residues L1, L9, F10, and Y12 of the CD3ζ\zeta chains. In immunogenic systems, bending of the TCRα\alpha transmembrane helix weakens both the electrostatic interactions centered around R232 and the surrounding hydrophobic packing, resulting in reduction in TCRα\alpha–CD3ζ\zeta contacts. Many of these residues have previously been identified as important contributors to TCR–CD3 transmembrane assembly and stabilization [43, 45, 46].

Taken Together, these observations are consistent with our initial models proposing that TCR activation is driven by rearrangements in TM helix orientation rather than large-scale conformational changes of the receptor ectodomain. The weakening of TCRα\alpha–CD3ζ1\zeta_{1} interactions, together with enhanced CD3ζ\zeta–CD3ζ\zeta association, reveals a coordinated redistribution of transmembrane contacts within the TCR–CD3 complex. This structural reorganization provides a plausible mechanism by which extracellular ligand binding may be coupled to the membrane-proximal events that initiate T-cell activation.

Case study: Proposing potential vaccine candidates

As DynamiT captures the structural changes associated with T-cell activation, we next explored its potential for vaccine discovery. Given a pMHC–TCR complex, DynamiT requires only a short molecular dynamics simulation to predict whether the complex is likely to elicit an immunogenic or non-immunogenic response. Although the model was trained using Epstein–Barr virus (EBV) peptide systems, it generalized well to independent viral datasets, achieving an accuracy of 74% on 30 out-of-class pMHC–TCR complexes spanning multiple viruses. This suggests that although peptide sequences, TCR repertoires, and peptide recognition modes differ substantially across pathogens, the structural mechanisms that propagate extracellular antigen recognition into downstream T-cell activation are largely conserved. To assess its practical utility, we applied DynamiT to identify potential vaccine candidates for hepatitis C virus (HCV), hantavirus, and adenovirus. We first used HCV as a proof-of-concept to evaluate whether DynamiT could serve as a computational alternative to conventional experimental screening, enabling rapid and cost-effective prioritization of candidate peptides for subsequent in vitro and in vivo validation. We then extended this approach to hantavirus and adenovirus, two clinically important pathogens for which broadly effective vaccines remain unavailable or limited.

HCV epitopes

To evaluate DynamiT as a practical screening framework, we selected hepatitis C virus (HCV) as a proof-of-concept because a comprehensive study had previously characterized the immunogenicity of several NS31073NS3_{1073} peptide variants across multiple viral genotypes using T-cell activation assays, cytokine measurements, and MHC binding experiments [47]. The reported NS31073NS3_{1073} peptide variants CINGVCWTV and CVNGVCWTV, which are known to elicit strong T-cell responses, were included together with genotype variants 11 (SISGVLWTV) and 13 (TISGILWTV) from genotype 2, and variants 27 (TINGVLWTV) and 28 (TVNGVLWTV) from genotype 6 [47].

In addition, we evaluated the Influenza NA231NA_{231} peptide, which has previously been investigated alongside HCV because of structural similarities in peptide presentation and potential cross-reactive immune recognition. This dataset provided an ideal benchmark to assess whether DynamiT could reproduce the reported immunogenic responses without performing the underlying experimental workflow.

We extracted the peptide sequences together with the corresponding HLA and TCR information (TRAV4, TRAJ43, TRBV4, and TRBJ2-7 reported by Grant et al. [48]), constructed the corresponding pMHC–TCR complexes (pMHC–TCR initial structure and docking through TCRModel [49]), performed MD simulations, and predicted their immunogenicity using DynamiT (Scheme 1E). The overall computational workflow for the HCV case study is illustrated in Supplementary Figure S11. DynamiT successfully reproduced the reported immunogenicity trends with an overall agreement of 85.7%. Both immunogenic and non-immunogenic peptide variants were classified consistently with the published observations (Immunogenic peptides are presented in Table 1), demonstrating that the dynamic signatures learned by DynamiT are sufficient to recover experimentally measured T-cell responses directly from molecular simulations. Although the current workflow still requires structural modeling followed by a short molecular dynamics simulation, it substantially reduces the number of peptide candidates requiring downstream experimental evaluation. These results demonstrate the utility of DynamiT as a computational prioritization framework for narrowing large peptide libraries to a smaller set of high-confidence immunogenic epitopes for subsequent in vitro and in vivo validation.

Schematic workflow of the DynamiT immunogenicity prediction pipeline

Figure S11. Schematic workflow of the DynamiT immunogenicity prediction pipeline. Starting from a set of candidate peptide sequences, pMHC–TCR complex structures are obtained from available structural information or generated using the modeling protocol described in this study. The resulting complexes are subjected to coarse-grained (CG) simulations, and trajectory-derived dynamic features are used by DynamiT to predict peptide immunogenicity. The application of the complete workflow is demonstrated using an HCV case study, with HCV-specific steps and information highlighted in blue.

Adenovirus epitopes

Human adenoviruses are common pathogens responsible for respiratory, ocular, and gastrointestinal infections, with severe disease occurring primarily in immunocompromised individuals [50]. Although adenoviral vectors have been widely exploited for vaccine and gene-delivery applications, effective vaccines against wild-type adenoviral infections remain limited, highlighting the need to identify immunogenic T-cell epitopes that could support future vaccine development [50]. We therefore evaluated whether DynamiT could be used to prioritize potential adenoviral vaccine epitopes.

We selected two experimentally reported adenoviral peptides, TDLGQNLLY from the hexon protein and LLDQLIEEV from the E1A protein, from the VDJdb database [11], together with their associated HLA alleles and TCR information obtained from the Huisman group dataset [51]. When complete TCR chain annotations were unavailable, the missing TCR sequences were reconstructed using TCRdesign [52] together with our in-house TCR pairing strategy (Section 3). To explore sequence space beyond the reported epitopes, we generated all possible single amino acid variants for each peptide. These candidate peptides were initially screened using the benchmark immunogenicity prediction models employed in this study [10, 18, 19, 13, 14], and a consensus of the top-ranked immunogenic candidates across these models was selected for further evaluation, as existing sequence-based predictors often produce a considerable number of false-positive predictions. For each shortlisted peptide, a membrane-bound pMHC–TCR complex was generated using TCRmodel [49], followed by MD simulations and subsequently evaluation using DynamiT for immunogenicity prediction (Scheme 1E). The peptide sequences, reconstructed TCRs, and final immunogenicity predictions are summarized in Supplementary Table S3 with the final list of potential Adenovirus vaccine candidates are presented in Table 1.

S.NoViral ProteinPeptideMHCTCRα\alpha genesTCRβ\beta genesIR
1HexonTDLGQNLLYHLA-A*01:01TRAV38-2/DV8*01TRBV20-1, TRBJ2-31
2HexonLTDLGQNLLYHLA-A*01:01TRAV38-2/DV8*01TRBV20-1, TRBJ2-31
3E1ALLDQLIEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*011
4E1A (E7I)LLDQLIIEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*011
5E1A (L5W)LLDQWIEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*011
6E1A (Q4E)LLDELIEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*011
7E1A (Q4I)LLDILIEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*011
8E1A (Q4W)LLDWLIEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*011
9E1A (Q4F)LLDFLIEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*010
10E1A (Q4D)LLDDLIEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*010
11E1A (I6K)LLDQLKEEVHLA-A*02:01TRAV19, TRAJ4TRBV5-6*010

Table S3. Supplementary Table S3: Different possible adenovirus peptide candidates evaluated using DynamiT (predicted immunogenic response (IR): 0–No, 1–Yes). Wild-type peptides are highlighted in purple and single amino acid variants are shown in black along with their corresponding MHC, TCRα\alpha and TCRβ\beta gene details. TCR gene annotations experimentally known are in black and the ones reconstructed using our in-house TCRαβ\alpha\beta pairing strategy are highlighted in blue.

Hantavirus epitopes

Hantaviruses are zoonotic pathogens that cause hemorrhagic fever with renal syndrome (HFRS) and hantavirus cardiopulmonary syndrome (HCPS) in severe conditions, with severe cases reaching a mortality rate of 50% [53]. Despite their significant public health burden, there are currently no widely licensed antiviral therapies or vaccines for hantavirus infections, highlighting the need to identify effective T-cell epitopes for vaccine development. Therefore, we evaluated whether DynamiT could be used to propose potential hantavirus vaccine candidates. Among hantavirus proteins, the nucleocapsid protein (NP5) is one of the most extensively investigated vaccine targets [54]. We selected the NP5 peptide (QLGQRIIVL), presented by HLA-E*01:03, as the starting template for our computational screening workflow [54]. Unlike adenovirus, no experimentally characterized TCR repertoire was available for this peptide. A comprehensive survey of the literature, immune databases, and publicly available single-cell TCR sequencing datasets yielded no experimentally resolved TCRs for this epitope. Therefore, following the workflow described for adenovirus (Scheme 1E), we first predicted potential TCR binders computationally.

TCRdesign [52] was first used to identify candidate CDR3β\beta sequences together with their corresponding TCRβ\beta chains, with TRBV10-3*04 emerging as the highest-ranked TCRβ\beta candidate. The corresponding TCRα\alpha chains were subsequently reconstructed using our in-house TCR pairing strategy (Section 3). Since the reconstructed TCRα\alpha chain introduces additional uncertainty, we evaluated the two highest-ranked TCRαβ\alpha\beta receptor pairs, namely TRAV8-4*05/TRBV10-3*04 and TRAV12-3*01/TRBV10-3*04 (Supplementary Table S4). Next as discussed in case of Adenovirus, all possible single amino acid variants of the NP5 peptide were generated and initially screened using the benchmark immunogenicity prediction models. We then evaluated a set of consensus-positive and consensus-negative peptide variants using DynamiT. Benchmark-negative peptides served as controls to identify the TCR pair that best distinguished immunogenic from non-immunogenic variants (Supplementary Table S4). TRAV12-3*01/TRBV10-3*04 pair correctly identified the wt and the negative peptides correctly and was used for all subsequent analyses. Then additional positive variants of the NP5 peptide were simulated and evaluated using DynamiT, resulting in a final set of predicted immunogenic and non-immunogenic candidates, summarized in the Supplementary Table S5. The final shortlisted hantavirus peptide candidates are presented in Table 1.

Methods

In this section, we describe the methodologies used to develop a viral vaccine prediction model based on TCR dynamics, integrating molecular dynamics (MD) simulations and machine learning (ML). We begin with the generation of multiple transmembrane (TM)embedded MHC-epitope-TCR systems, followed by the optimization of both all-atom and coarse-grained MD simulation protocols. We then outline the analyses performed to validate the simulation protocols and to extract key features from the simulation data that characterize TCR dynamics. Further, we describe the development of a time series based ML classification model built on these features, along with its tuning and performance evaluation. Finally, we present the details of the interpretability analysis of the ML model to identify the key features driving immunogenicity classification.

System generation

MHC-peptide-TCR complexes were retrieved from the Protein Data Bank (PDB) and inspected for missing residues, which were reconstructed using PDBFixer [55]. Amino acid substitutions within the peptide were introduced using the Mutagenesis plugin in PyMOL Molecular Graphics System [56] to generate starting structures for multiple peptide variants. Transmembrane (TM) regions corresponding to MHC and TCR were obtained from UniProt, and full-length structures were modeled using AlphaFold2, resulting in complete MHC-peptide-TCR complexes including TM segments [57][58]. The TM-extended complexes were subsequently embedded into lipid bilayers representing cell membrane compositions of dendritic cell [26] and T-cell [27] and arranged appropriately using the INSANE script for coarse-grained simulation setups or CHARMM-GUI for all-atom system preparation [59] [60].

All-atom Molecular Dynamics Simulations

Protein-lipid bilayer systems were embedded in rectangular simulation boxes and solvated using the SPC/E water model, followed by neutralization and addition of 150 mM NaCl. Energy minimization was performed using the steepest descent algorithm for 10,000 steps. Systems were gradually heated from 0 to 310 K over 15 ns under the NVT ensemble using annealing. Subsequently, NPT equilibration was carried out with gradually reduced positional restraints on heavy atoms. Production runs were performed for 100 ns using a 2 fs integration time step under periodic boundary conditions, with three independent trajectories to ensure reproducibility. All simulations were carried out using GROMACS 2024.5 [61] with the CHARMM36m all-atom force field [62]. Temperature was maintained at 310 K using the Nosé-Hoover thermostat, and pressure was controlled at 1 bar using the Parrinello-Rahman semi-isotropic barostat. Long-range electrostatic interactions were treated using the Particle Mesh Ewald (PME) method [63], with a cutoff of 1.0 nm for short-range interactions. Bond constraints involving hydrogen atoms were applied using the LINCS algorithm.

Coarse-Grained Molecular Dynamics Simulations

Atomistic structures were converted to coarse-grained representations using the martinize script [64] within the Martini 2.2 force field [65] with DSSP-derived secondary structure assignment and backbone position restraints. Protein-membrane systems were constructed using the insane tool [59], embedding proteins into lipid bilayers representative of dendritic and T-cell membranes [26, 27]. Systems were solvated with Martini water, neutralized, and ionized to a physiological concentration of 150 mM NaCl. Energy minimization was performed using the steepest descent algorithm, followed by a step-wise equilibration process. During equilibration, position restraints were applied to protein backbone beads and gradually released. An initial time step of 5 fs was used and gradually increased to 20 fs. Temperature was raised to 310 K using annealing and was maintained with the velocity-rescale thermostat, while pressure was controlled at 1 bar using the Parrinello-Rahman barostat with semi-isotropic coupling, allowing independent scaling of the membrane plane and bilayer normal. Extended equilibration (up to 50 ns) ensured proper membrane relaxation and lipid mixing. Production runs were carried out under the NPT ensemble using GROMACS 2022.5 [61] with a 20 fs integration time step, in three replicates. Electrostatic interactions were treated using a reaction-field approach with a cutoff of 1.2 nm and a relative dielectric constant of 15, while van der Waals interactions were truncated between 0.9 and 1.2 nm according to standard Martini parameters. The neighbors lists were updated every 10 steps using a Verlet scheme. The Center-of-mass motion was removed separately for the protein-membrane and solvent components. For visualization and structural interpretation, the coarse-grained trajectories were converted into bond-represented models using MartiniGlass [66], allowing a clearer representation of molecular connectivity and transmembrane organization.

MD trajectory analysis and visualization

Cell Membrane Property Analysis

To characterize the structural and dynamical properties of the lipid bilayer under different simulation conditions, we evaluated key biophysical parameters including interdigitation fraction, membrane thickness, lipid tail order parameters, lipid density distribution, membrane curvature, and root mean square deviation (RMSD). Together, these metrics provide a comprehensive description of bilayer packing, ordering, and stability.

Interdigitation Fraction (finterf_{\mathrm{inter}}):

Interdigitation quantifies the extent of overlap between lipid tails from opposing leaflets, influencing membrane permeability and hydrophobic mismatch. It was computed based on the volumetric overlap of hydrophobic chains:

finter=VoverlapVleaflet1+Vleaflet2(1)f_{\mathrm{inter}} = \frac{V_{\mathrm{overlap}}}{V_{\mathrm{leaflet1}} + V_{\mathrm{leaflet2}}} \tag*{(1)}

where VoverlapV_{\mathrm{overlap}} represents the volume of overlapping tail regions, and Vleaflet1V_{\mathrm{leaflet1}} and Vleaflet2V_{\mathrm{leaflet2}} denote the total tail volumes of the respective leaflets. A spatial binning scheme along the bilayer normal (zz-axis) was employed to resolve interdigitation profiles over time.

Lipid Order Parameters (SCD):

Acyl chain ordering was quantified using the deuterium order parameter:

SCD=⟨3cos⁡2θ−12⟩(2)S_{CD} = \left\langle\frac{3\cos^{2}\theta- 1}{2} \right\rangle \tag*{(2)}

where θ\theta is the angle between the segmental vector (e.g., C-H bond or pseudo-bond) and the bilayer normal. Higher SCDS_{CD} values indicate increased chain alignment and reduced flexibility. Order parameters were computed per carbon segment and averaged across all lipids and trajectory frames.

Membrane curvature analysis

For each trajectory, headgroup beads per lipid species was selected and upper and lower membrane leaflets were identified using a connectivity-based leaflet detection method. Leaflet surfaces were projected onto a regular 12×1212 \times12 nm lateral grid, and local leaflet heights were obtained by averaging headgroup zz-coordinates within each grid cell. The bilayer midplane was defined as

h(x,y,t)=zupper(x,y,t)+zlower(x,y,t)2,(3)h(x,y,t) = \frac{z_{\mathrm{upper}}(x,y,t) + z_{\mathrm{lower}}(x,y,t)}{2}, \tag*{(3)}

where h(x,y,t)h(x,y,t) is the membrane midplane height at lateral position (x,y)(x,y) and time tt. Time-averaged midplanes were calculated over the selected trajectory window. Membrane undulations were quantified as height fluctuations relative to the mean membrane plane,

Δh(x,y)=h(x,y)−⟨h(x,y)⟩x,y,(4)\Delta h(x,y) = h(x,y) - \langle h(x,y) \rangle_{x,y}, \tag*{(4)}

where ⟨h(x,y)⟩x,y\langle h(x,y) \rangle_{x,y} denotes the spatial average over the membrane surface. The resulting height maps were Gaussian-smoothed to suppress grid-scale noise while preserving mesoscale bending modes and visualized as two-dimensional contour maps. The same reconstructed midplane was additionally mean-centered and plane-corrected and rendered as a three-dimensional surface to visualize large-scale membrane curvature, depressions, and protrusions.

Root Mean Square Deviation (RMSD):

RMSD was used to monitor structural deviations of the membrane relative to the initial configuration:

RMSD⁡(t)=1N∑i=1N[(xi(t)−xiref)2+(yi(t)−yiref)2+(zi(t)−ziref)2](5)\operatorname{RMSD}(t) = \sqrt{\frac{1}{N}\sum_{i=1}^{N}\left[(x_i(t)-x_i^{\mathrm{ref}})^2+(y_i(t)-y_i^{\mathrm{ref}})^2+(z_i(t)-z_i^{\mathrm{ref}})^2\right]} \tag*{(5)}

where (xi(t),yi(t),zi(t))(x_i(t), y_i(t), z_i(t)) are the coordinates of atom ii at time tt, and (xiref,yiref,ziref)(x_i^{\mathrm{ref}}, y_i^{\mathrm{ref}}, z_i^{\mathrm{ref}}) correspond to the reference structure. RMSD reflects lipid mobility, membrane relaxation, and overall structural stability.

Buried Surface Area (BSA)

Buried surface area was computed to quantify the extent of intermolecular contact formed between interacting biomolecular components upon complex formation. BSA was calculated as the difference between the solvent-accessible surface area (SASA) of the isolated components and that of the corresponding complex:

BSA=SASAA+SASAB−SASAAB(6)\mathrm{BSA} = \mathrm{SASA}_{\mathrm{A}} + \mathrm{SASA}_{\mathrm{B}} - \mathrm{SASA}_{\mathrm{AB}} \tag*{(6)}

where SASAA\mathrm{SASA}_{\mathrm{A}} and SASAB\mathrm{SASA}_{\mathrm{B}} denote the solvent-accessible surface areas of the individual molecules (e.g., TCR and pMHC), and SASAAB\mathrm{SASA}_{\mathrm{AB}} represents the SASA of the bound complex. SASA values were calculated using a rolling probe algorithm with a probe radius of 1.4 Å. Higher BSA values indicate increased interfacial contact and stronger molecular association.

Angular analysis

Angular metrics were computed to characterize the relative orientation of molecular components. The angle θ\theta between three points was defined as

θ=cos⁡−1(u⋅v∣u∣∣v∣)(7)\theta= \cos^{-1}\left(\frac{\mathbf{u} \cdot\mathbf{v}}{\lvert\mathbf{u}\rvert\lvert\mathbf{v}\rvert}\right) \tag*{(7)}

where u\mathbf{u} and v\mathbf{v} are vectors constructed from three selected coordinates. Transmembrane (TM) bending was quantified using three centers of mass (COMs): (i) the COM of the TCR constant domain, (ii) the COM of the first four residues of the TM helix (TCRα\alpha: VIGF; TCRβ\beta: ILLG), and (iii) the COM of the last four TM residues (TCRα\alpha: LRLW; TCRβ\beta: LMAM). The angle formed by these three reference points describes the orientation of the TM helix relative to the extracellular constant domain. Similarly, bending of the TCRα\alpha connecting peptide (CP) was quantified using the Cα\alpha backbone beads of three representative residues spanning the linker between the Cα\alpha domain and the transmembrane helix (S201, L210, and N222). Time-dependent angular profiles and their corresponding averages were used to compare conformational flexibility between immunogenic and non-immunogenic systems.

Inter-domain Contacts and Contact Maps

Interactions between distinct regions were quantified using minimum distance (mindist) analysis and contact maps. A contact was defined when the minimum distance between any pair of atoms from two regions was less than a cutoff of 0.6 nm:

Cij={1,dijmin⁡<0.6 nm0,otherwise(8)C_{ij} = \begin{cases} 1, & d_{ij}^{\min} < 0.6\ \mathrm{nm} \\ 0, & \text{otherwise} \end{cases} \tag*{(8)}

where dijmin⁡d_{ij}^{\min} is the minimum interatomic distance between regions ii and jj. Contact maps were constructed by averaging CijC_{ij} over simulation time to identify persistent interactions.

Radius of Gyration (Rg)

The radius of gyration was used to evaluate the compactness of the system:

Rg=1N∑i=1N∣ri−rCOM∣2(9)R_g = \sqrt{\frac{1}{N}\sum_{i=1}^{N}\left\lvert\mathbf{r}_i-\mathbf{r}_{\mathrm{COM}}\right\rvert^2} \tag*{(9)}

where ri\mathbf{r}_i is the position of atom ii and rCOM\mathbf{r}_{\mathrm{COM}} is the center of mass. Temporal evolution of RgR_g reflects structural expansion, compaction, and stability.

Principal Component Analysis (PCA)

Principal component analysis (PCA) was employed to extract dominant collective motions from the MD trajectories and to identify large-scale conformational changes. PCA was performed by constructing the covariance matrix of atomic positional fluctuations:

Cij=⟨(xi−⟨xi⟩)(xj−⟨xj⟩)⟩(10)C_{ij} = \left\langle(x_i-\langle x_i\rangle)(x_j-\langle x_j\rangle)\right\rangle \tag*{(10)}

where xix_i and xjx_j represent the Cartesian coordinates of atoms ii and jj, respectively, and ⟨⋅⟩\langle\cdot\rangle denotes time averaging over the trajectory. Diagonalization of the covariance matrix yields eigenvectors (principal components) and corresponding eigenvalues, which describe the direction and magnitude of collective motions. The first few principal components capture the most significant conformational variability and were used to compare dynamic behavior between different systems and functional states.

Free Energy Landscape

The free energy surface (FES) was constructed using the first two principal components (CV1 and CV2) obtained from principal component analysis (PCA) of the molecular dynamics (MD) trajectory, representing the dominant conformational motions of the system.

For each trajectory frame, projections (CV1iCV1_i, CV2iCV2_i) were extracted and used to estimate the probability density. The joint probability distribution P(CV1,CV2)P(CV1,CV2) was computed using either a two-dimensional histogram or kernel density estimation (KDE). The marginal distributions were obtained as:

P(CV1)=∫P(CV1,CV2) dCV2(11)P(CV1) = \int P(CV1,CV2)\,\mathrm{d}CV2 \tag*{(11)}
P(CV2)=∫P(CV1,CV2) dCV1(12)P(CV2) = \int P(CV1,CV2)\,\mathrm{d}CV1 \tag*{(12)}

The free energy surface was calculated via Boltzmann inversion:

G(CV1,CV2)=−kBTln⁡(P(CV1,CV2)Pmax⁡)(13)G(CV1,CV2) = -k_{B}T\ln\left(\frac{P(CV1,CV2)}{P_{\max}}\right) \tag*{(13)}

One-dimensional free energy profiles were similarly obtained:

G(CV1)=−kBTln⁡(P(CV1)Pmax⁡)(14)G(CV1) = -k_{B}T\ln\left(\frac{P(CV1)}{P_{\max}}\right) \tag*{(14)}
G(CV2)=−kBTln⁡(P(CV2)Pmax⁡)(15)G(CV2) = -k_{B}T\ln\left(\frac{P(CV2)}{P_{\max}}\right) \tag*{(15)}

where kBk_{B} is the Boltzmann constant, TT is the simulation temperature, and Pmax⁡P_{\max} is the maximum observed probability used for normalization. All free energy values were shifted such that the global minimum is zero:

Gshifted=G−min⁡(G)(16)G_{\mathrm{shifted}} = G - \min(G) \tag*{(16)}

Machine Learning-Based Epitope Immunogenicity Prediction

We developed a machine learning framework to predict epitope immunogenicity from molecular dynamics (MD) trajectories of pMHC–TCR complexes. The framework uses structural and dynamical descriptors instead of antigen-processing or MHC-binding signals alone. It therefore models conformational changes in the complete pMHC–TCR complex that may be associated with T-cell activation. We formulated the task as supervised binary classification of multivariate time series. For system ii, the MD trajectory is represented as Xi=xi(1),xi(2),…,xi(T)\mathbf{X}_{i} = \mathbf{x}_{i}^{(1)},\mathbf{x}_{i}^{(2)},\ldots,\mathbf{x}_{i}^{(T)}, where xi(t)∈RP\mathbf{x}_{i}^{(t)} \in\mathbb{R}^{P} is a PP-dimensional feature vector at time point tt. Each system has a binary label yi∈{0,1}y_{i} \in\{0,1\}, where yi=1y_{i}=1 denotes an immunogenic system and yi=0y_{i}=0 denotes a weakly or non-immunogenic system.

The dataset contained N=100N=100 pMHC–TCR systems, with 50 systems in each class. Each system was represented by P=25P=25 biophysical features extracted at T=2496T=2496 time points from the final 500 ns of a 11 μ\mus simulation. Although the number of systems was modest, each trajectory required substantial computational resources.

Experimental immunogenicity measurements are also available for only a limited number of structurally characterized pMHC–TCR complexes. The selected features described both local peptide recognition and global receptor dynamics. They included TCR membrane-bending angles, buried surface area at the TCR–pMHC interface, distances between peptide residues and TCR complementarity-determining regions, RMSD and RMSF of receptor domains, and principal components of TCR motion.

Our proposed model, DynamiT, combines Piecewise Aggregate Approximation (PAA), MANTIS time-series embeddings, and an XGBoost classifier. PAA standardized the temporal dimension from 2500 to 2496 frames while retaining the complete simulation interval [67]. MANTIS, a pretrained time-series foundation model, then encoded each processed trajectory as a fixed-dimensional representation [68]. XGBoost used these representations to produce the final immunogenicity probabilities [69].

We compared DynamiT with two groups of baseline methods. The first group comprised existing immunogenicity predictors: T-SCAPE [19], PRIME2.1 [18], the IEDB immunogenicity model [10], BigMHC [13], and ImmunoStruct [14]. For BigMHC and ImmunoStruct, we used only zero-shot scores. Neither model was trained nor fine-tuned on the present dataset. The second group comprised time-series classifiers applied to the MD-derived trajectories. These classifiers included Arsenal [70], ROCKET [71], MUSE [72], the Shapelet Transform [73], kk-nearest neighbours [74], and a classifier trained on summary statistics.

We estimated model performance using random 10-fold cross-validation repeated five times. During each repeat, the dataset was divided into ten folds. Nine folds were used for training, and the remaining fold was used for evaluation. This procedure produced 50 held-out fold evaluations for each model. We assessed performance using accuracy, precision, recall, F1F_1 score and Mathews Correlation Coefficient (MCC).

We evaluated model generalization on an external set of experimentally annotated pMHC–TCR complexes. This set contained distinct viral epitopes, TCRs, and MHC backgrounds, including systems associated with cytomegalovirus, influenza A virus, hepatitis C virus, and SARS-CoV-2. We processed these systems with the same MD feature-extraction and preprocessing pipeline. They were not used for model fitting, hyperparameter selection, or cross-validation. This analysis tested whether the learned trajectory-level patterns transferred to independent pMHC–TCR recognition systems.

Model Interpretability Analysis

We applied post hoc interpretability methods to determine which molecular features and trajectory intervals influenced the final model. We wrapped the trained pipeline as a probability-output function that mapped each multivariate trajectory to its predicted class probabilities. This interface enabled perturbation-based attribution with Time Interpret and Captum [75, 76].

For global interpretation, we used grouped feature ablation with a zero-valued reference in the preprocessed input space [76]. Channel-level ablation replaced all time points of one MD feature with the reference value. This analysis produced one overall importance score for each molecular feature. Temporal-window ablation replaced contiguous time intervals across all features and identified trajectory regions that influenced the model output. Channel-by-time ablation replaced each feature within coarse temporal windows. It therefore produced a two-dimensional attribution map across molecular features and simulation time. We computed all attributions for the experimentally annotated class and averaged them across samples. Training and held-out test samples were analyzed separately to obtain their global importance profiles.

For local interpretation, we used AugmentedOcclusion, BayesLime, and BayesKernelShap to explain individual predictions. AugmentedOcclusion applied sliding-window perturbations and used reference segments sampled from the training distribution [75]. BayesLime fitted a Bayesian local surrogate model and reported feature attributions with credible intervals [75, 77]. BayesKernelShap estimated local Shapley-value attributions together with their uncertainty [75, 78]. Each method targeted the experimentally annotated class. The resulting explanations therefore measured how each feature or temporal region increased or decreased the probability assigned to that class. These perturbation-based scores describe model sensitivity and do not establish causal molecular mechanisms.

Reconstruction of Paired TCRαβ\alpha\beta Receptors

For peptide candidates lacking experimentally determined TCR pairs, TCRβ\beta sequences together with their corresponding TRBV gene assignments were first predicted using TCRdesign [52]. Since no computational framework currently predicts paired TCRα\alpha chains directly from peptide sequences, the corresponding TCRα\alpha chain was assigned using a nearest-neighbour sequence matching strategy. Given a predicted TCRβ\beta sequence (B∗B^{*}), the closest experimentally observed TCRβ\beta sequence (BiB_i) in the paired TCRαβ\alpha\beta repertoire of the TCRdesign training dataset was identified by minimizing the Levenshtein edit distance:

i∗=arg⁡min⁡idL(B∗,Bi),(17)i^{*} = \arg\min_{i} d_{L}(B^{*}, B_i), \tag*{(17)}

where dLd_{L} denotes the Levenshtein edit distance between two TCRβ\beta amino acid sequences. The TCRα\alpha chain paired with the identified TCRβ\beta sequence (Bi∗B_{i^{*}}) was subsequently assigned to the predicted TCRβ\beta sequence, and the reconstructed TCRαβ\alpha\beta receptor was used for downstream pMHC–TCR structural modelling and molecular dynamics simulations.

Conclusion

In this study, we developed DynamiT, a computational framework that combines molecular dynamics simulations with an interpretable time-series classifier to investigate T-cell activation and predict peptide immunogenicity. Our results show that immune activation is not solely determined by pMHC–TCR binding or static structural properties, but is strongly linked to specific conformational changes in the TCR. Model attribution ranked the TCRβ\beta transmembrane bending angle as the leading predictive feature. The dominant collective motion of the TCRα\alpha constant domain ranked second, followed by the TCRα\alpha transmembrane bending angle. An extended in-depth analysis of TCR–CD3 complexes revealed that TCR TM bending further loosens CD3 ζ\zeta chains and exposes phosphorylation sites that trigger downstream signaling. Although buried surface area remains an important descriptor of peptide–TCR interactions, our analyses show that dynamic structural features contribute more strongly to immunogenicity prediction.

DynamiT achieved an accuracy of 73.3% on an independent external cohort of 30 viral pMHC–TCR systems. Among the 12 evaluated methods, it achieved the highest accuracy, F1F_1 score, precision, and Matthews correlation coefficient, and obtained the best mean rank across the five evaluation metrics. These results show that DynamiT provided the most balanced performance on this cohort. They also indicate that the learned dynamic signatures transferred across distinct viral epitopes, TCRs, and MHC backgrounds. However, the small external cohort limits conclusions about broader generalizability or a conserved activation mechanism.

We further evaluated the practical use of DynamiT through three case studies. For hepatitis C virus, DynamiT reproduced the reported immunogenicity trends with an agreement of 85.7%. This result supports its use for prioritizing peptide candidates before experimental evaluation. We then applied the same workflow to adenovirus and hantavirus and shortlisted candidate epitopes for subsequent validation. These adenovirus and hantavirus predictions remain computational proposals and require experimental confirmation.

Overall, our study establishes a direct link between TCR structural dynamics and peptide immunogenicity while demonstrating how molecular dynamics simulations and interpretable machine learning can be integrated for mechanistic immune response prediction. DynamiT is intended to complement existing screening pipelines by evaluating candidates shortlisted by faster sequence-based methods and prioritizing a smaller set for experimental validation. Although the current framework requires molecular dynamics simulations as an initial step, ongoing advances in enhanced sampling methods, accelerated molecular simulations, and AI-based structural dynamics prediction are expected to substantially improve its computational efficiency. We anticipate that this work will provide a foundation for future studies exploring the role of structural dynamics in immunogenicity prediction, while also advancing our understanding of pMHC–TCR and pMHC–TCR–CD3 signaling and facilitating better peptide vaccine designs.

Structural representations, contact-frequency maps, and time-evolution plots of CD3$\zeta$ chain association and TCR$\alpha$–CD3$\zeta$ contacts

Figure 9. Structural basis of CD3ζ\zeta chain association and their dissociation from TCRα\alpha in immunogenic and non-immunogenic systems. (A) Time evolution of the total number of contacts between the two CD3ζ\zeta chains in immunogenic (IS) and non-immunogenic systems (NIS). Thick lines represent class-averaged profiles and shaded regions indicate the corresponding standard deviations. (B,C) Residue-wise CD3ζ\zeta–CD3ζ\zeta contact-frequency maps for IS and NIS, respectively, with darker red indicating higher contact frequencies. IS exhibits broader and more persistent inter-chain contacts than NIS. (D,F) Final conformations of representative systems IS-1 and NIS-1, respectively, showing closer association of the CD3ζ\zeta chains in IS-1. (E) Interfacial interactions stabilizing the CD3ζ\zeta–CD3ζ\zeta association in IS-1, with hydrogen bonds indicated by yellow dashed lines. (G) Time evolution of TCRα\alpha–CD3ζ\zeta contacts in IS and NIS, shown as class averages with corresponding standard deviations. (H,I) Residue-wise TCRα\alpha–CD3ζ\zeta contact-frequency maps for IS and NIS, showing reduced contacts in IS compared with NIS. (J,K) Final conformations of representative IS-1 and NIS-1 systems, respectively, highlighting the separation of CD3ζ\zeta from TCRα\alpha in IS-1 and their retained association in NIS-1. (L) Interfacial interactions stabilizing the TCRα\alpha–CD3ζ\zeta association in NIS-1, with hydrogen bonds indicated by yellow dashed lines. In the structural representations, TCRα\alpha, CD3ζ\zeta1, and CD3ζ\zeta2 are shown in green, navy blue, and purple, respectively, with the remaining TCR–CD3 subunits shown as transparent surfaces.

supplementary.pdf

Supplementary Information for: An Integrative Computational Approach to Predict Viral Epitopes by Targeting the MHC-TCR Complexation

Supplementary Figures

Figure S3. TCRβ\beta transmembrane (TM) bending dynamics in immunogenic and non-immunogenic systems. (A) Average TCRβ\beta TM bending angle for all immunogenic (IS) and non-immunogenic systems (NIS) during the final 500 ns of the simulations (500 ns–1 μ\mus). (B) Time evolution of TCRβ\beta TM bending angle for one representative IS (IS-2) and NIS system (NIS-2). The blue shaded region indicates the critical window identified by the interpretability analysis as contributing most strongly to the predictive importance of this feature. (C–H) Structural comparison of the TCRβ\beta TM region in IS-2 and NIS-2, showing the initial structure (red), the average structure from the critical window (blue), and their superimposed orientations. Panels C–E correspond to IS-2 and illustrate a pronounced bending motion, whereas panels F–H correspond to NIS-2 and show comparatively limited bending. In all structural panels, the equilibriated MHC, TCRα\alpha, and TCRβ\beta are shown in magenta, green, and yellow, respectively.

TCRα transmembrane bending dynamics in immunogenic and non-immunogenic systems

Figure S4. TCRα transmembrane (TM) bending dynamics in immunogenic and non-immunogenic systems. (A) Average TCRα TM bending angle for all immunogenic (IS) and non-immunogenic systems (NIS) during the final 500 ns of the simulations (500 ns–1 µs). (B) Time evolution of TCRα TM bending angle for one representative IS (IS-2) and NIS system (NIS-2). The blue shaded region indicates the critical window identified by the interpretability analysis as contributing most strongly to the predictive importance of this feature. (C–H) Structural comparison of the TCRα TM region in IS-2 and NIS-2, showing the initial structure (red), the average structure from the critical window (blue), and their superimposed orientations. Panels C–E correspond to IS-2 and illustrate a pronounced bending motion, whereas panels F–H correspond to NIS-2 and show comparatively limited bending. In all structural panels, the equilibriated MHC, TCRα, and TCRβ are shown in magenta, green, and yellow, respectively.

Principal component analysis projections and conformational landscapes for TCR domains

Figure S5. Principal component analysis (PCA) of TCR domain motions in immunogenic and non-immunogenic systems. (A–D) Two-dimensional PCA projections (PC1 vs. PC2) for the TCRα\alpha constant (Cα\alpha), TCRβ\beta constant (Cβ\beta), TCRα\alpha variable (Vα\alpha), and TCRβ\beta variable (Vβ\beta) domains, respectively, across four immunogenic (IS) and four non-immunogenic (NIS) systems. Gray projections represent IS, whereas red projections represent NIS. The left panels show the overlaid projections of all IS and NIS trajectories, while the right panels show the corresponding PCA conformational landscapes for each individual system, illustrating the conformational space sampled by each TCR domain during the simulations. Among the four domains, the Cα\alpha domain shows the most distinct separation in conformational sampling between the IS and NIS systems.

Principal component analysis and free-energy surfaces for immunogenic and non-immunogenic systems

Figure S6. Principal component analysis (PCA) and free-energy surfaces (FES) of the TCRα\alpha constant (Cα\alpha) domain for immunogenic (IS) and non-immunogenic (NIS) systems. (A–C) One-dimensional free-energy profiles projected along the first (PC1) and second (PC2) principal components for representative immunogenic systems (IS-1, IS-2, and IS-3). (D–F) Corresponding two-dimensional free-energy surfaces projected onto PC1 and PC2 for the same immunogenic systems. (G–I) One-dimensional free-energy profiles along PC1 and PC2 for representative non-immunogenic systems (NIS-1, NIS-2, and NIS-3). (J–L) Corresponding two-dimensional free-energy surfaces projected onto PC1 and PC2 for the non-immunogenic systems. The overall free-energy landscapes are consistent across systems within each class, with immunogenic systems exhibiting multiple well-defined energy minima separated by relatively low barriers along PC1.

Principal component analysis of TCRα constant-region dynamics, showing free-energy landscapes and representative minimum-energy conformations for immunogenic and non-immunogenic systems

Figure S7. Principal component analysis of TCRα constant-region dynamics. (A,B) Representative immunogenic system (IS-2) and (C,D) representative non-immunogenic system (NIS-2). (A,C) Three-dimensional free-energy landscapes (FES) of the TCRα constant region projected along PC1 and PC2, with free energy represented on the Z-axis, highlighting the conformational space sampled by IS-2 and NIS-2. (B,D) Representative minimum-energy conformations extracted from the corresponding FES, showing a pronounced bending of the TCRα connecting peptide region in IS-2, which is not observed in NIS-2.

Dynamic cross-correlation matrix of the TCRα and TCRβ chains

Figure S8. Dynamic cross-correlation matrix (DCCM) of the TCRα\alpha and TCRβ\beta chains calculated over the simulation time. Positive correlations (red) indicate residues moving in the same direction, whereas negative correlations (blue) indicate anti-correlated motions. Blue boxes highlight the connecting-peptide (CP) regions of TCRα\alpha and TCRβ\beta, which exhibit strong intrasegment positive correlations and pronounced anti-correlated motions with their respective transmembrane helices.

Figure S9. Buried surface area (BSA) variation and peptide characteristics in immunogenic (IS-2) and non-immunogenic systems (NIS-2). (A) Average BSA at the pMHC–TCR interface for all IS and NIS, computed over the equilibrated simulation window (500 ns–1 μ\mus).with the critical window identified by the interpretability analysis highlighted in blue. (B) Time evolution of BSA for one representative IS-2 and one representative NIS-2, highlighting differences in interfacial buried surface area (C,D) Peptide structures and corresponding amino acid sequences for representative IS-2 and NIS-2 complexes having F1W and A6I mutations respectively.(E–J) Representative conformations of IS-2 and NIS-2 at 0, 500, and 750 ns showing reorientation of peptide and CDR3β\beta loop regions at the pMHC-TCR interface. MHC, TCRα\alpha, and TCRβ\beta are shown in mauve, green, and yellow, respectively, with the peptide shown in licorice representation and colored by residue. (E–G) In IS-2 peptide residue Y7 reorients and goes deeper into the TCR groove. Insets highlight the corresponding reorientation of CDR3β\beta residue Y98, bringing it into closer proximity to Y7. (H–J) Corresponding conformations of NIS-2, where Y7 does not exhibit a similar reorientation over the simulation.

Figure S10. Construction of the membrane-embedded pMHC–TCR–CD3 system. (A) Structural alignment of the TCR–CD3 cryo-EM assembly (PDB: 6JXR) to the reference pMHC–TCR complex used throughout this study. (B) Resulting membrane-bound pMHC–TCR–CD3 model showing the pMHC–TCR complex together with the six CD3 subunits (CD3δ\delta, CD3γ\gamma, two CD3ϵ\epsilon, and two CD3ζ\zeta chains) surrounding the TCR within the membrane.

Supplementary Tables

Features
Pair distance between MHC and CDRα\alpha1 loop
Pair distance between MHC and CDRα\alpha2 loop
Pair distance between peptide and CDRα\alpha3 loop
Pair distance between MHC and CDRβ\beta1 loop
Pair distance between MHC and CDRβ\beta2 loop
Pair distance between peptide and CDRβ\beta3 loop
RMSD of TCRα\alpha constant region
RMSD of TCRβ\beta constant region
RMSD of TCR constant region
RMSD of TCRα\alpha variable region
RMSD of TCRβ\beta variable region
RMSD of TCR variable region
pMHC–TCR buried surface area
Radius of gyration of TCRα\alpha constant region
Radius of gyration of TCRβ\beta constant region
PC1 of TCRα\alpha constant region
PC1 of TCRβ\beta constant region
PC1 of TCRα\alpha variable region
PC1 of TCRβ\beta variable region
PC2 of TCRα\alpha constant region
PC2 of TCRβ\beta constant region
PC2 of TCRα\alpha variable region
PC2 of TCRβ\beta variable region
Angle between TCRα\alpha constant and membrane
Angle between TCRβ\beta constant and membrane

Table S1. Complete list of structural and dynamic features extracted from the molecular dynamics trajectories and used as input variables for machine learning-based immunogenicity prediction. The feature set includes intermolecular distances, RMSD, radius of gyration, principal component (PC) projections, buried surface area (BSA), and angular descriptors characterizing TCR conformational dynamics.

S. NoPDB IDImmunogenicityMutation TypeVirusMHC TypeTCR TypeReference
11ao7HighWTHuman T-cell Lymphotropic VirusHLA-A*0201A69586631
21qrnLowP6AHuman T-cell Lymphotropic VirusHLA-A*0201A69586631
31qseHighV7RHuman T-cell Lymphotropic VirusHLA-A*0201A69586631
41qsfLowY8AHuman T-cell Lymphotropic VirusHLA-A*0201A69586631
55jziHighWTHepatitis C virusHLA-A*0201140628572406
65jziHighV10AHepatitis C virusHLA-A*0201140628572406
75jziLowG6AHepatitis C virusHLA-A*0201140628572406
85jziLowK1AHepatitis C virusHLA-A*0201140628572406
93sjvHighWTEpstein–Barr virusHLA-A*0201AS0124759101
103sjvLowG8WEpstein–Barr virusHLA-A*0201AS0124759101
114prhHighE5DEpstein–Barr virusHLA-B*0801LC1324759101
124prhLowE5QEpstein–Barr virusHLA-B*0801LC1324759101
135w1vHighWTCytomegalovirusHLA-A*0201GF428972140
142esvHighWTCytomegalovirusHLA-A*0201RA1416474394
157n5pHighWTInfluenza A virusHLA-A*0201621835999236
167n5pLowR7KInfluenza A virusHLA-A*0201621835999236
175tezHighWTInfluenza A virusHLA-A*0201F5028931605
187n1fHighWTSARS-CoV-2HLA-A*0201YLQ735013235
197n1fLowP4LSARS-CoV-2HLA-A*0201YLQ735013235
203mv7HighWTEpstein–Barr virusHLA-B*0801LC1320566715
213mv7LowE5DEpstein–Barr virusHLA-B*0801LC1320566715
223mv8LowWTEpstein–Barr virusHLA-B*0801LC1320566715
233mv8LowE5DEpstein–Barr virusHLA-B*0801LC1320566715
243mv9HighWTEpstein–Barr virusHLA-B*0801LC1320566715
253mv9LowE5DEpstein–Barr virusHLA-B*0801LC1320566715
261bd2HighWTHuman T-cell Lymphotropic VirusHLA-A*0201A69586631
271bd2LowY5AHuman T-cell Lymphotropic VirusHLA-A*0201A69586631
281bd2LowY8AHuman T-cell Lymphotropic VirusHLA-A*0201A69586631
295wkhHighWTDengue virus–3HLA-A*0201D3028945243
305wkhLowN9D_R10KDengue virus–3HLA-A*0201D3028945243

Table S2. List of different virus pMHC–TCR complexes used in the test set along with their immunogenicity information, type of mutations, corresponding viral sources, MHC type, and TCR type.

S.NoViral ProteinConsensus BenchmarkPeptideMHCTCRα\alpha genesTCRβ\beta genesIR
1NP51QLGQRIIVLHLA-E*01:03TRAV8-4*05TRBV10-3*040
2NP51QLGQRIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*041
3NP5 (I6K)0QLGQRKIVLHLA-E*01:03TRAV8-4*05TRBV10-3*041
4NP5 (I6K)0QLGQRKIVLHLA-E*01:03TRAV12-3*01TRBV10-3*040
5NP5 (I7K)0QLGQRIKVLHLA-E*01:03TRAV8-4*05TRBV10-3*041
6NP5 (I7K)0QLGQRIKVLHLA-E*01:03TRAV12-3*01TRBV10-3*040

Table S4. Supplementary Table S4: Selection of the reconstructed TCRαβ\alpha\beta receptor for hantavirus peptide screening. Two TCRαβ\alpha\beta receptors reconstructed using TCRdesign together with our in-house TCR pairing strategy were evaluated using the wild-type NP5 peptide and representative benchmark-negative peptide variants. The TCR pair showing the best agreement with the benchmark consensus was selected for subsequent screening of additional peptide variants. Wild-type peptide is shown in purple. Predicted immunogenic response (IR): 0–No, 1–Yes)

S.NoViral ProteinPeptideMHCTCRα\alpha genesTCRβ\beta genesIR
1NP5QLGQRIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*041
2NP5 (I6K)QLGQRKIVLHLA-E*01:03TRAV12-3*01TRBV10-3*040
3NP5 (I7K)QLGQRIKVLHLA-E*01:03TRAV12-3*01TRBV10-3*040
4NP5 (R5F)QLGQFIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*041
5NP5 (Q1Y)YLGQRIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*041
6NP5 (Q1K)KLGQRIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*040
7NP5 (Q4D)QLGDRIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*041
8NP5 (G3D)QLDQRIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*041
9NP5 (Q1V)VLGQRIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*040
10NP5 (R5Y)QLGQYIIVLHLA-E*01:03TRAV12-3*01TRBV10-3*041

Table S5. Supplementary Table S5: Predicted immunogenicity of hantavirus NP5 peptide variants using the selected TCRαβ\alpha\beta receptor (TRAV12-3*01/TRBV10-3*04). Wild-type peptide is highlighted in purple. Predicted immunogenic response (IR) is reported as 1 (immunogenic) and 0 (non-immunogenic).

References

  1. [1]Li, X.-C. et al. Global burden of viral infectious diseases of poverty based on Global Burden of Diseases Study 2021. Infectious Diseases of Poverty 13, 71 (2024).DOI
  2. [2]World Health Organization. World health statistics 2025: Monitoring health for the sdgs. (2025).
  3. [3]Haider, N. et al. Global dengue epidemic worsens with record 14 million cases and 9000 deaths reported in 2024. International Journal of Infectious Diseases 158 (2025).DOI
  4. [4]Kuroki, A., Tay, J., Lee, G. H. & Yang, Y. Y. Broad-Spectrum Antiviral Peptides and Polymers. Advanced Healthcare Materials 10, 2101113 (2021).
  5. [5]Croft, N. P. et al. Most viral peptides displayed by class I MHC on infected cells are immunogenic. Proceedings of the National Academy of Sciences 116, 3112–3117 (2019).
  6. [6]Heitmann, J. S. et al. A COVID-19 peptide vaccine for the induction of SARS-CoV-2 T cell immunity. Nature 601, 617–622 (2022).
  7. [7]Firbas, C. et al. Immunogenicity and safety of a novel therapeutic hepatitis C virus (HCV) peptide vaccine: A randomized, placebo controlled trial for dose optimization in 128 healthy subjects. Vaccine 24, 4343–4353 (2006).
  8. [8]Nilsson, J. B., Greenbaum, J., Peters, B. & Nielsen, M. Netmhcpan-4.2: improved prediction of cd8+ epitopes by use of transfer learning and structural features. Frontiers in Immunology 16, 1616113 (2025).DOI
  9. [9]Stranzl, T., Larsen, M. V., Lundegaard, C. & Nielsen, M. Netctlpan: pan-specific mhc class i pathway epitope predictions. Immunogenetics 62, 357–368 (2010).DOI
  10. [10]Vita, R. et al. The immune epitope database (iedb): 2024 update. Nucleic Acids Research 53, D436–D443 (2025).
  11. [11]Shugay, M. et al. Vdjdb: a curated database of t-cell receptor sequences with known antigen specificity. Nucleic acids research 46, D419–D427 (2018).
  12. [12]Rammensee, H.-G., Bachmann, J., Emmerich, N. P. N., Bachor, O. A. & Stevanović, S. Syfpeithi: database for mhc ligands and peptide motifs. Immunogenetics 50, 213–219 (1999).
  13. [13]Bighmc improves prediction of peptide presentation and immunogenicity with deep learning. Nature Machine Intelligence (2023).
  14. [14]Immunostruct: Multimodal deep learning for peptide-mhc immunogenicity prediction. Nature Machine Intelligence (2025).
  15. [15]Ochoa-Garay, J., McKinney, D. M., Kochounian, H. H. & McMillan, M. The ability of peptides to induce cytotoxic t cells in vitro does not strongly correlate with their affinity for the h-2ld molecule: implications for vaccine design and immunotherapy. Molecular immunology 34, 273–281 (1997).
  16. [16]Tung, C.-W., Ziehm, M., Kämper, A., Kohlbacher, O. & Ho, S.-Y. Popisk: T-cell reactivity prediction using support vector machines and string kernels. BMC bioinformatics 12, 446 (2011).DOI
  17. [17]Jensen, M. F. & Nielsen, M. Enhancing tcr specificity predictions by combined pan- and peptide-specific training, loss-scaling, and sequence similarity integration. eLife 12, RP93934 (2024).
  18. [18]Improved prediction of antigen presentation and tcr recognition with mixmhcpred2.2 and prime2.0. Nature Biotechnology (2023).
  19. [19]T-scale: T cell immunogenicity scoring via cross-domain aided predictive engine. Science Advances (2024).
  20. [20]Knapp, B., Dunbar, J. & Deane, C. M. Large scale characterization of the lc13 tcr and hla-b8 structural landscape in reaction to 172 altered peptide ligands: a molecular dynamics simulation study. PLoS computational biology 10, e1003748 (2014).DOI
  21. [21]Knapp, B., van der Merwe, P. A., Dushek, O. & Deane, C. M. Mhc binding affects the dynamics of different t-cell receptors in different ways. PLOS Computational Biology 15, e1007338 (2019).DOI
  22. [22]Alba, J., Di Rienzo, L., Milanetti, E., Acuto, O. & D’Abramo, M. Molecular dynamics simulations reveal canonical conformations in different pmhc/tcr interactions. Cells 9, 942 (2020).DOI
  23. [23]van Eerden, F. J. et al. Tcr-pmhc complex formation triggers cd3 dynamics. eLife 12 (2023).
  24. [24]Ding, Y.-H., Baker, B. M., Garboczi, D. N., Biddison, W. E. & Wiley, D. C. Four A6-TCR/peptide/HLA-A2 structures that generate very different T cell signals are nearly identical. Immunity 11, 45–56 (1999).
  25. [25]Kjer-Nielsen, L. et al. A Structural Basis for the Selection of Dominant αβ T Cell Receptors in Antiviral Immunity. Immunity 18, 53–64 (2003).
  26. [26]L’ühr, J. J. et al. Maturation of monocyte-derived DCs leads to increased cellular stiffness, higher membrane fluidity, and changed lipid composition. Frontiers in Immunology 11, 590121 (2020).DOI
  27. [27]Zech, T. et al. Accumulation of raft lipids in T-cell plasma membrane domains engaged in TCR signalling. The EMBO Journal 28, 466–476 (2009).DOI
  28. [28]Venturoli, M. et al. Mesoscopic models of biological membranes. Physics Reports 437, 1–54 (2008).
  29. [29]Plesnar, E. et al. Saturation with cholesterol increases vertical order and smoothes the surface of the phosphatidylcholine bilayer. Langmuir 27, 2737–2747 (2011).DOI
  30. [30]Mendes Ferreira, T. et al. Cholesterol and POPC segmental order parameters in lipid membranes: solid state ¹H–¹³C NMR and MD simulation studies. Physical Chemistry Chemical Physics 15, 1976–1989 (2013).
  31. [31]Piggot, T. J., Allison, J. R., Sessions, R. B. & Essex, J. W. On the calculation of acyl chain order parameters from lipid simulations. Journal of Chemical Theory and Computation 13, 5683–5696 (2017).DOI
  32. [32]Jiang, P., Zhang, C., Lin, C., Wang, Y. & Wang, X. Membrane curvature: a key regulator of membrane protein structure and function. Drug Discovery Today (2025).
  33. [33]Farrell, M. V., Webster, S., Gaus, K. & Goyette, J. T cell membrane heterogeneity aids antigen recognition and t cell activation. Frontiers in Cell and Developmental Biology 8, 609 (2020).DOI
  34. [34]Richard, A. C., Frazer, G. L., Ma, C. Y. & Griffiths, G. M. Staggered starts in the race to T cell activation. Trends in Immunology 42, 994–1008 (2021).DOI
  35. [35]Call, M. E. & Wucherpfennig, K. W. The organizing principle in the formation of the t cell receptor-cd3 complex. Cell 111, 967–979 (2002).
  36. [36]Brazin, K. N. et al. The T Cell Antigen Receptor α Transmembrane Domain Coordinates Triggering through Regulation of Bilayer Immersion and CD3 Subunit Associations. Immunity 49, 829–841.e6 (2018).DOI
  37. [37]Backstrom, B.-M. et al. A motif within the t cell receptor α chain constant region connecting peptide domain controls antigen responsiveness. Immunity 5, 437–447 (1996).
  38. [38]Wells, D. K. et al. Beyond mhc binding: immunogenicity prediction tools to refine neoantigen selection in cancer patients. Frontiers in Immunology (2017).
  39. [39]Calis, J. J. et al. Properties of mhc class i presented peptides that enhance immunogenicity. PLoS computational biology 9, e1003266 (2013).DOI
  40. [40]Rossjohn, J. et al. T cell antigen receptor recognition of antigen-presenting molecules. Annual review of immunology 33, 169–200 (2015).DOI
  41. [41]Stadinski, B. D. et al. Hydrophobic CDR3 residues promote the development of self-reactive T cells. Nature Immunology (2016).
  42. [42]Cole, D. K. et al. T-cell receptor (tcr)-peptide specificity overrides affinity-enhancing tcr-mhc interactions. Journal of Biological Chemistry (2014).
  43. [43]Dong, D. et al. Structural basis of assembly of the human t cell receptor-cd3 complex. Nature 573, 546–552 (2019).
  44. [44]Al-Aghbar, M. A., Jainarayanan, A. K., Dustin, M. L. & Røffler, S. R. The interplay between membrane topology and mechanical forces in regulating T cell receptor activity. Communications Biology 5, 40 (2022).
  45. [45]Call, M. E. et al. The structure of the ζζ transmembrane dimer reveals features essential for its assembly with the T cell receptor. Cell 127, 355–368 (2006).
  46. [46]Krshnan, L., Park, S., Im, W., Call, M. J. & Call, M. E. A conserved αβ transmembrane interface forms the core of a compact T-cell receptor–CD3 structure within the membrane. Proceedings of the National Academy of Sciences of the United States of America 113, E6649–E6658 (2016).
  47. [47]Fytili, P. et al. Cross-genotype-reactivity of the immunodominant HCV CD8 T-cell epitope NS3-1073. Vaccine 26, 3818–3826 (2008).
  48. [48]Quigley, M. F. et al. Lack of heterologous cross-reactivity toward HLA-A*02:01-restricted viral epitopes is underpinned by distinct t cell receptor signatures. Journal of Biological Chemistry 291, 24398–24413 (2016).
  49. [49]Yin, R. et al. TCRmodel2: high-resolution modeling of T cell receptor recognition using deep learning. Nucleic Acids Research (2023).
  50. [50]Lion, T. Adenovirus infections in immunocompetent and immunocompromised patients. Clinical Microbiology Reviews 27, 441–462 (2014).
  51. [51]Huisman, W. et al. Public t-cell receptors (tcrs) revisited by analysis of the magnitude of identical and highly-similar tcrs in virus-specific t-cell repertoires of healthy individuals. Frontiers in Immunology 13, 851868 (2022).
  52. [52]Li, X. et al. TCRdesign: an antigen-specific generative language model for de novo design of T-cell receptors. Briefings in Bioinformatics 26, bbaf691 (2025).
  53. [53]World Health Organization. Hantavirus infections. Fact sheet.
  54. [54]Xue, M. et al. Hantaan virus-derived peptides that stabilize HLA-E could abrogate inhibition of CD56dimNKG2A+ NK cells. PLoS Pathogens 21, e1012717 (2025).
  55. [55]Eastman, P., Friedrichs, M. S., Chodera, J. D. et al. Openmm 4: a reusable, extensible, hardware independent library for high performance molecular simulation. Journal of Chemical Theory and Computation 9, 461–469 (2013).
  56. [56]Schrödinger, LLC. The pymol molecular graphics system, version 1.8 (2015).
  57. [57]The UniProt Consortium. Uniprot: the universal protein knowledgebase in 2023. Nucleic Acids Research 51, D523–D531 (2023).
  58. [58]Jumper, J., Evans, R., Pritzel, A. et al. Highly accurate protein structure prediction with alphafold. Nature 596, 583–589 (2021).
  59. [59]Wassenaar, T. A., Ingólfsson, H. I. et al. Computational lipidomics with insane: a versatile tool for generating custom membranes for molecular simulations. Journal of Chemical Theory and Computation 11, 2144–2155 (2015).
  60. [60]Jo, S., Kim, T. et al. Charmm-gui: a web-based graphical user interface for charmm. Journal of Computational Chemistry 29, 1859–1865 (2008).
  61. [61]Abraham, M. J. et al. Gromacs: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX 1, 19–25 (2015).
  62. [62]Huang, J., Rauscher, S., Nawrocki, G. et al. Charmm36m: an improved force field for folded and intrinsically disordered proteins. Nature Methods 14, 71–73 (2017).
  63. [63]Darden, T., York, D. & Pedersen, L. Particle mesh ewald: An n log(n) method for ewald sums in large systems. Journal of Chemical Physics 98, 10089–10092 (1993).
  64. [64]Monticelli, L. et al. The martini coarse-grained force field: Extension to proteins. Journal of Chemical Theory and Computation 4, 819–834 (2008).
  65. [65]Marrink, S. J., Risselada, H. J., Yefimov, S., Tieleman, D. P. & de Vries, A. H. The martini force field: Coarse grained model for biomolecular simulations. Journal of Physical Chemistry B 111, 7812–7824 (2007).
  66. [66]Schott-Verdugo, S. & Gohlke, H. Martiniglass: visualizing martini coarse-grained molecular dynamics simulations. Journal of Chemical Information and Modeling 62, 353–359 (2022).
  67. [67]Keogh, E., Chakrabarti, K., Pazzani, M. & Mehrotra, S. Dimensionality reduction for fast similarity search in large time series databases. Knowledge and Information Systems 3, 263–286 (2001).
  68. [68]Feofanov, V. et al. Mantis: Lightweight calibrated foundation model for user-friendly time series classification. arXiv preprint arXiv:2502.15637 (2025).arxiv.org/abs/2502.15637
  69. [69]Chen, T. & Guestrin, C. XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining 785–794 (2016).
  70. [70]Middlehurst, M. et al. HIVE-COTE 2.0: A new meta ensemble for time series classification. Machine Learning 110, 3211–3243 (2021).
  71. [71]Dempster, A., Petitjean, F. & Webb, G. I. ROCKET: Exceptionally fast and accurate time series classification using random convolutional kernels. Data Mining and Knowledge Discovery 34, 1454–1495 (2020).
  72. [72]Schäfer, P. & Leser, U. Multivariate time series classification with WEASEL+MUSE. arXiv preprint arXiv:1711.11343 (2018).arxiv.org/abs/1711.11343
  73. [73]Bostrom, A. & Bagnall, A. Binary shapelet transform for multiclass time series classification. In: Transactions on Large-Scale Data- and Knowledge-Centered Systems XXXII (LNCS 10420), Springer, pp. 24–46 (2017).
  74. [74]Cover, T. M. & Hart, P. E. Nearest neighbor pattern classification. IEEE Transactions on Information Theory 13, 21–27 (1967).
  75. [75]Enguehard, J. Time interpret: a unified model interpretability library for time series. arXiv preprint arXiv:2306.02968 (2023).arxiv.org/abs/2306.02968
  76. [76]Kokhликyan, N. et al. Captum: A unified and generic model interpretability library for pytorch. arXiv preprint arXiv:2009.07896 (2020).arxiv.org/abs/2009.07896
  77. [77]Ribeiro, M. T., Singh, S. & Guestrin, C. “why should i trust you?”: Explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1135–1144 (2016).
  78. [78]Lundberg, S. M. & Lee, S.-I. A unified approach to interpreting model predictions. In: Advances in Neural Information Processing Systems (NeurIPS), vol. 30 (2017). Proceedings paper.

Paper details

vlnc:W_5q2kaqyq
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Agricultural and Biological Sciences

Not recorded for this paper

View statement
Looking for related papers…
Contents