TLimmuno2 icon

TLimmuno2

(1.0.0+8b02617)

Transfer learning-based MHC-II immunogenicity prediction for CD4+ T cell epitopes Learn more

What is TLimmuno2?

TLimmuno2 predicts whether a peptide presented by an MHC class II molecule will trigger a CD4+ T cell immune response. Where most immunogenicity tools focus on MHC class I (CD8+ T cells), TLimmuno2 addresses the less-covered class II pathway, which is central to helper T cell activation, vaccine design, and cancer neoantigen identification.

The model uses transfer learning: an LSTM network is first trained on over 100,000 peptide-MHC binding affinity measurements, then fine-tuned on immunogenicity data. This two-stage approach compensates for the limited amount of experimentally validated immunogenicity data available for MHC-II epitopes.

How does TLimmuno2 work?

Two-stage prediction

TLimmuno2 runs two neural networks in sequence:

  1. Binding affinity model (BAmodel): An LSTM trained on 107,008 binding measurements from NetMHCIIpan across 71 MHC-II molecules. Rather than using the final binding prediction, TLimmuno2 extracts intermediate features from this model's penultimate layer, capturing learned representations of peptide-MHC interaction patterns.

  2. Immunogenicity model: A second LSTM that takes three inputs — the BLOSUM62-encoded peptide, the encoded MHC pseudosequence, and the binding affinity features from stage one — and returns a continuous immunogenicity prediction score.

Sequence encoding

Both peptides and MHC pseudosequences are encoded using the BLOSUM62 substitution matrix, which captures biochemical similarity between amino acids. Peptides are padded to 21 residues and MHC pseudosequences to 34 residues, producing fixed-size matrices that the LSTM layers can process.

Percentile ranking

Raw immunogenicity scores lack context without a reference distribution. TLimmuno2 scores approximately 90,000 random human peptides (sampled across lengths 13–21) against the same HLA allele and reports where the query peptide falls in that distribution. Lower Rank values are stronger: a value near 0 means the query is near the high-scoring end of the background distribution, while a value near 1 means it is near the low-scoring end.

How to use TLimmuno2 online

ProteinIQ provides cloud-hosted access to the native TLimmuno2 model and pseudosequence table. The current published dataset contains 5,640 allele keys spanning human DRB and HLA-DP entries plus mouse H-2 and bovine BoLA alleles. No installation or Python environment required.

Inputs

InputDescription
Peptide SequencesOne or more peptide sequences in FASTA format or one per line. TLimmuno2 accepts up to 10,000 peptides of 13–21 amino acids, including X as the source model's unknown-residue code.
CSV/TSV uploadOptional native two-column file with peptide in column 1 and HLA allele in column 2, matching the format of Python/data/example.csv in the original repository.

Settings

SettingDescription
HLA assignment modeSingle HLA for all peptides applies one allele to every input sequence. One HLA per peptide allows specifying a different allele for each sequence.
HLA alleleUsed when assignment mode is set to single. Exact native keys work directly (for example DRB1_0101, HLA-DPA10103-DPB10201, H-2-IAb), and common aliases like DRB1*01:01 or DPA1*01:03-DPB1*02:01 are resolved automatically.
Per-sequence HLA allelesOne allele per line, matching the order of input peptides. Required when using per-sequence mode. The same exact-key and alias rules apply, with at most 12 unique alleles per job.

Every run includes the source model's background Rank calculation. Runtime grows with the number of unique HLA alleles because each allele requires its own background distribution.

Output columns

ColumnDescription
pepInput peptide sequence.
HLAExact TLimmuno2 HLA key used for scoring.
sequencenative MHC pseudosequence associated with that HLA key.
predictionContinuous model score. Higher values indicate greater predicted immunogenic potential, but the publication does not establish it as a calibrated probability.
RankPosition relative to background peptides for the same HLA allele (0–1). Lower values indicate stronger predictions.

Interpreting results

Interpret prediction and Rank together: stronger candidates generally combine a higher prediction score with a lower Rank value. The publication does not define universal score bands or a clinical decision threshold, so compare candidates within the same experimental context and validate prioritized peptides experimentally.

MHC class I vs class II

MHC class I molecules present intracellular peptides (typically 8–11 residues) to CD8+ cytotoxic T cells. MHC class II molecules present extracellular peptides (typically 13–25 residues) to CD4+ helper T cells. The two pathways involve different antigen processing machinery, binding groove geometry, and downstream immune effects.

TLimmuno2 specifically models the class II pathway. For MHC class I immunogenicity prediction, DeepImmuno covers 20 HLA-A/B/C alleles with a CNN-based approach.

Limitations

  • Predictions are for immunogenicity (T cell activation), not binding affinity alone. High binding does not guarantee immunogenicity, and the model accounts for factors beyond binding.
  • The MHC-II binding groove is open-ended, but the released TLimmuno2 model only accepts peptides up to 21 residues. Longer peptides must be trimmed before submission.
  • Background ranking is computationally expensive. Each unique HLA allele requires scoring ~90,000 background peptides through both models, adding several minutes per allele.
  • Jobs are limited to 12 unique HLA alleles so native background ranking can complete within the hosted runtime window. Split larger panels across jobs.
  • The model was trained primarily on human data. Mouse H-2 and bovine BoLA keys are present in the pseudosequence database, but the publication does not independently benchmark them.

Table of contents

TLimmuno2 icon

TLimmuno2

(1.0.0+8b02617)

Transfer learning-based MHC-II immunogenicity prediction for CD4+ T cell epitopes Learn more

What is TLimmuno2?

TLimmuno2 predicts whether a peptide presented by an MHC class II molecule will trigger a CD4+ T cell immune response. Where most immunogenicity tools focus on MHC class I (CD8+ T cells), TLimmuno2 addresses the less-covered class II pathway, which is central to helper T cell activation, vaccine design, and cancer neoantigen identification.

The model uses transfer learning: an LSTM network is first trained on over 100,000 peptide-MHC binding affinity measurements, then fine-tuned on immunogenicity data. This two-stage approach compensates for the limited amount of experimentally validated immunogenicity data available for MHC-II epitopes.

How does TLimmuno2 work?

Two-stage prediction

TLimmuno2 runs two neural networks in sequence:

  1. Binding affinity model (BAmodel): An LSTM trained on 107,008 binding measurements from NetMHCIIpan across 71 MHC-II molecules. Rather than using the final binding prediction, TLimmuno2 extracts intermediate features from this model's penultimate layer, capturing learned representations of peptide-MHC interaction patterns.

  2. Immunogenicity model: A second LSTM that takes three inputs — the BLOSUM62-encoded peptide, the encoded MHC pseudosequence, and the binding affinity features from stage one — and returns a continuous immunogenicity prediction score.

Sequence encoding

Both peptides and MHC pseudosequences are encoded using the BLOSUM62 substitution matrix, which captures biochemical similarity between amino acids. Peptides are padded to 21 residues and MHC pseudosequences to 34 residues, producing fixed-size matrices that the LSTM layers can process.

Percentile ranking

Raw immunogenicity scores lack context without a reference distribution. TLimmuno2 scores approximately 90,000 random human peptides (sampled across lengths 13–21) against the same HLA allele and reports where the query peptide falls in that distribution. Lower Rank values are stronger: a value near 0 means the query is near the high-scoring end of the background distribution, while a value near 1 means it is near the low-scoring end.

How to use TLimmuno2 online

ProteinIQ provides cloud-hosted access to the native TLimmuno2 model and pseudosequence table. The current published dataset contains 5,640 allele keys spanning human DRB and HLA-DP entries plus mouse H-2 and bovine BoLA alleles. No installation or Python environment required.

Inputs

InputDescription
Peptide SequencesOne or more peptide sequences in FASTA format or one per line. TLimmuno2 accepts up to 10,000 peptides of 13–21 amino acids, including X as the source model's unknown-residue code.
CSV/TSV uploadOptional native two-column file with peptide in column 1 and HLA allele in column 2, matching the format of Python/data/example.csv in the original repository.

Settings

SettingDescription
HLA assignment modeSingle HLA for all peptides applies one allele to every input sequence. One HLA per peptide allows specifying a different allele for each sequence.
HLA alleleUsed when assignment mode is set to single. Exact native keys work directly (for example DRB1_0101, HLA-DPA10103-DPB10201, H-2-IAb), and common aliases like DRB1*01:01 or DPA1*01:03-DPB1*02:01 are resolved automatically.
Per-sequence HLA allelesOne allele per line, matching the order of input peptides. Required when using per-sequence mode. The same exact-key and alias rules apply, with at most 12 unique alleles per job.

Every run includes the source model's background Rank calculation. Runtime grows with the number of unique HLA alleles because each allele requires its own background distribution.

Output columns

ColumnDescription
pepInput peptide sequence.
HLAExact TLimmuno2 HLA key used for scoring.
sequencenative MHC pseudosequence associated with that HLA key.
predictionContinuous model score. Higher values indicate greater predicted immunogenic potential, but the publication does not establish it as a calibrated probability.
RankPosition relative to background peptides for the same HLA allele (0–1). Lower values indicate stronger predictions.

Interpreting results

Interpret prediction and Rank together: stronger candidates generally combine a higher prediction score with a lower Rank value. The publication does not define universal score bands or a clinical decision threshold, so compare candidates within the same experimental context and validate prioritized peptides experimentally.

MHC class I vs class II

MHC class I molecules present intracellular peptides (typically 8–11 residues) to CD8+ cytotoxic T cells. MHC class II molecules present extracellular peptides (typically 13–25 residues) to CD4+ helper T cells. The two pathways involve different antigen processing machinery, binding groove geometry, and downstream immune effects.

TLimmuno2 specifically models the class II pathway. For MHC class I immunogenicity prediction, DeepImmuno covers 20 HLA-A/B/C alleles with a CNN-based approach.

Limitations

  • Predictions are for immunogenicity (T cell activation), not binding affinity alone. High binding does not guarantee immunogenicity, and the model accounts for factors beyond binding.
  • The MHC-II binding groove is open-ended, but the released TLimmuno2 model only accepts peptides up to 21 residues. Longer peptides must be trimmed before submission.
  • Background ranking is computationally expensive. Each unique HLA allele requires scoring ~90,000 background peptides through both models, adding several minutes per allele.
  • Jobs are limited to 12 unique HLA alleles so native background ranking can complete within the hosted runtime window. Split larger panels across jobs.
  • The model was trained primarily on human data. Mouse H-2 and bovine BoLA keys are present in the pseudosequence database, but the publication does not independently benchmark them.

Table of contents

Related tools

DeepImmuno

DeepImmuno

Score peptide-HLA immunogenicity, rank the official HLA panel, or generate candidate peptides with the pinned DeepImmuno models.

protein-analysisdeep-learning+3
CleaveNet

CleaveNet

Official CleaveNet tool for matrix metalloproteinase cleavage prediction and peptide generation. Predict cleavage z-scores plus uncertainty across 18 MMP variants, evaluate against truth z-scores, or generate candidate peptides unconditionally or from MMP z-score profiles.

protein-analysisai-powered+4
EvoIF

EvoIF

Score protein mutations with evolutionary profiles from homologous sequences and inverse folding. EvoIF returns a dimensionless log-odds score for each submitted single or multi-site mutation.

protein-analysisproperty-prediction+3
Prot2Prop

Prot2Prop

Predict multiple protein developability properties from amino-acid sequences using a multitask ProstT5 adapter.

protein-analysisdeep-learning+5
ThermoMPNN

ThermoMPNN

Predict protein thermostability changes (ΔΔG) for point mutations using a graph neural network. Enables computational saturation mutagenesis screening to identify stabilizing mutations.

protein-analysisproperty-prediction+3
Aggrescan3D

Aggrescan3D

Static-mode Aggrescan3D analysis for per-residue aggregation propensity from a single protein structure.

protein-analysisproperty-prediction+3
Molecular descriptors

Molecular descriptors

Compute 200+ RDKit molecular descriptors, drug-likeness rule violations, and structural fingerprints for QSAR, virtual screening, and ML workflows

protein-analysisproperty-prediction+3
PROPKA 3

PROPKA 3

Predict pKa values of ionizable groups in proteins and protein-ligand complexes from 3D structure. PROPKA calculates environment-driven pKa shifts for standard ionizable residues, terminal groups, and supported ligand atom types.

protein-analysisproperty-prediction+3
AllMetal3D

AllMetal3D

Predict metal and water binding sites in protein structures using 3D convolutional neural networks (AllMetal3D + Water3D).

structure-analysisdeep-learning+3
FindPept

FindPept

Match experimental peptide masses against theoretical digest fragments of a protein sequence. Identify peptides from mass spectrometry data by peptide mass fingerprinting.

protein-analysisphysicochemical-properties+2