PepGen: conditional generation of peptides for MHC binding
Open Access
- 1 August 2026
- journal article
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 42 (Supplement)
Abstract
Motivation: Peptide-MHC II binding drives adaptive immunity, yet discovery of novel binder peptides remains challenging due to open binding grooves of MHC-II that accommodate variable-length peptides. While discriminative models perform well, they are unfeasible for generation via enumeration due to vast peptide space (2013≈8×1016 for peptides of length 13 amino acids). Generative AI approaches could accelerate binder design to enable vaccines targeted to particular MHC-II alleles or optimize other peptide chemical properties. Results: We introduce PepGen, the first protein language model for MHC II peptide generation building on Generalized Language Modeling. PepGen conditions on alleles, arbitrary partial peptides including putative TCR-interacting motifs, and continuous binding affinity. Across multiple benchmarks including infilling and de novo generation, PepGen outperformed frequency sampling, Gibbs clustering, and autoregressive baselines. Adjusted log-probabilities enable good classification performance. Experimental validation confirmed that the SARS-CoV-2 peptide TEGALNTPKDHIGTR binding the HLA-DQA101:03-DQB106:03 allele can be redesigned to bind the HLA-DQA101:02-DQB105:02 allele. PepGen generated three putative TCR-motif-preserving binders gaining up to 70% of original MFI. Overall, PepGen provides scalable, motif-constrained MHC II peptide redesign and de novo generation, validated through thorough benchmarks and functional assays. Availability and implementation: Code and Data are available at https://github.com/DaniTheOrange/PepGen.Keywords
Funding Information
- Research Council of Finland (359135)
- Cancer Foundation of Finland
- Sigrid Juséliuksen Säätiö
- Juhani Aho Medical Foundation
- Swedish Academy of Engineering Sciences in Finland
This publication has 8 references indexed in Scilit:
- Reshaping the discovery of self-assembling peptides with generative AI guided by hybrid deep learningNature Machine Intelligence, 2024
- Accurate prediction of HLA class II antigen presentation across all loci using tailored data acquisition and refined machine learningScience Advances, 2023
- Multi-tiered approach to detect autoimmune cross-reactivity of therapeutic T cell receptorsScience Advances, 2023
- HLA-II immunopeptidome profiling and deep learning reveal features of antigenicity to inform antigen discoveryImmunity, 2023
- Binding peptide generation for MHC Class I proteins with deep reinforcement learningBioinformatics, 2023
- Machine learning optimization of peptides for presentation by class II MHCsBioinformatics, 2021
- GibbsCluster: unsupervised clustering and alignment of peptide sequencesNucleic Acids Research, 2017
- Autoreactive T cells specific for insulin B:11-23 recognize a low-affinity peptide register in human subjects with autoimmune diabetesProceedings of the National Academy of Sciences, 2014