{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,29]],"date-time":"2026-05-29T09:16:44Z","timestamp":1780046204383,"version":"3.53.1"},"reference-count":24,"publisher":"Oxford University Press (OUP)","issue":"11","license":[{"start":{"date-parts":[[2023,10,17]],"date-time":"2023-10-17T00:00:00Z","timestamp":1697500800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2023,11,1]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:sec>\n                    <jats:title>Summary<\/jats:title>\n                    <jats:p>T-cell receptors (TCRs) on T cells recognize and bind to epitopes presented by the major histocompatibility complex in case of an infection or cancer. However, the high diversity of TCRs, as well as their unique and complex binding mechanisms underlying epitope recognition, make it difficult to predict the binding between TCRs and epitopes. Here, we present the utility of transformers, a deep learning strategy that incorporates an attention mechanism that learns the informative features, and show that these models pre-trained on a large set of protein sequences outperform current strategies. We compared three pre-trained auto-encoder transformer models (ProtBERT, ProtAlbert, and ProtElectra) and one pre-trained auto-regressive transformer model (ProtXLNet) to predict the binding specificity of TCRs to 25 epitopes from the VDJdb database (human and murine). Two additional modifications were performed to incorporate gene usage of the TCRs in the four transformer models. Of all 12 transformer implementations (four models with three different modifications), a modified version of the ProtXLNet model could predict TCR\u2013epitope pairs with the highest accuracy (weighted F1 score 0.55 simultaneously considering all 25 epitopes). The modification included additional features representing the gene names for the TCRs. We also showed that the basic implementation of transformers outperformed the previously available methods, i.e. TCRGP, TCRdist, and DeepTCR, developed for the same biological problem, especially for the hard-to-classify labels. We show that the proficiency of transformers in attention learning can be made operational in a complex biological setting like TCR binding prediction. Further ingenuity in utilizing the full potential of transformers, either through attention head visualization or introducing additional features, can extend T-cell research avenues.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Availability and implementation<\/jats:title>\n                    <jats:p>Data and code are available on https:\/\/github.com\/InduKhatri\/tcrformer.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.1093\/bioinformatics\/btad632","type":"journal-article","created":{"date-parts":[[2023,10,16]],"date-time":"2023-10-16T16:50:03Z","timestamp":1697475003000},"source":"Crossref","is-referenced-by-count":5,"title":["Determining epitope specificity of T-cell receptors with transformers"],"prefix":"10.1093","volume":"39","author":[{"given":"Abdul Rehman","family":"Khan","sequence":"first","affiliation":[{"name":"Department of Intelligent Systems, Delft University of Technology , Delft 2600 GA, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1148-1562","authenticated-orcid":false,"given":"Marcel J T","family":"Reinders","sequence":"additional","affiliation":[{"name":"Department of Intelligent Systems, Delft University of Technology , Delft 2600 GA, The Netherlands"},{"name":"Leiden Computational Biology Center, Department of Molecular Epidemiology, Leiden University Medical Center , Leiden 2333 ZA, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7993-1953","authenticated-orcid":false,"given":"Indu","family":"Khatri","sequence":"additional","affiliation":[{"name":"Leiden Computational Biology Center, Department of Molecular Epidemiology, Leiden University Medical Center , Leiden 2333 ZA, The Netherlands"},{"name":"Department of Immunology, Leiden University Medical Center , Leiden 2333 ZA, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"286","published-online":{"date-parts":[[2023,10,17]]},"reference":[{"key":"2023111005482115200_btad632-B1","first-page":"2623","author":"Akiba","year":"2019"},{"key":"2023111005482115200_btad632-B2","author":"Clark","year":"2020"},{"key":"2023111005482115200_btad632-B3","first-page":"4171","author":"Devlin","year":"2018"},{"key":"2023111005482115200_btad632-B4","doi-asserted-by":"crossref","first-page":"7112","DOI":"10.1109\/TPAMI.2021.3095381","article-title":"ProtTrans: Toward understanding the language of life through self-supervised learning","volume":"44","author":"Elnaggar","year":"2022","journal-title":"IEEE Trans Pattern Anal Mach Intell"},{"key":"2023111005482115200_btad632-B5","first-page":"373472","volume-title":"Front Immunol","author":"Gielis","year":"2019"},{"key":"2023111005482115200_btad632-B6","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1136\/jcp.56.1.1","article-title":"Diagnostic role of tests for T cell receptor (TCR) genes","volume":"56","author":"Hodges","year":"2003","journal-title":"J Clin Pathol"},{"key":"2023111005482115200_btad632-B7","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3571730","article-title":"Survey of hallucination in natural language generation","volume":"55","author":"Ji","year":"2023","journal-title":"ACM Comput Surv"},{"key":"2023111005482115200_btad632-B8","doi-asserted-by":"crossref","first-page":"e1008814","DOI":"10.1371\/journal.pcbi.1008814","article-title":"Predicting recognition between T cell receptors and epitopes with TCRGP","volume":"17","author":"Jokinen","year":"2021","journal-title":"PLoS Comput Biol"},{"key":"2023111005482115200_btad632-B9","author":"Kolouri","year":"6070"},{"key":"2023111005482115200_btad632-B10","author":"Lan","year":"2020"},{"key":"2023111005482115200_btad632-B11","doi-asserted-by":"crossref","first-page":"318","DOI":"10.1109\/TPAMI.2018.2858826","article-title":"Focal loss for dense object detection","volume":"42","author":"Lin","year":"2020","journal-title":"IEEE Trans Pattern Anal Mach Intell"},{"key":"2023111005482115200_btad632-B12","author":"Liu"},{"key":"2023111005482115200_btad632-B13","doi-asserted-by":"crossref","first-page":"100024","DOI":"10.1016\/j.immuno.2023.100024","article-title":"Benchmarking solutions to the T-cell receptor epitope prediction problem: IMMREP22 workshop report","volume":"9","author":"Meysman","year":"2023","journal-title":"ImmunoInformatics"},{"key":"2023111005482115200_btad632-B14","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1038\/s42003-021-02610-3","article-title":"NetTCR-2.0 enables accurate prediction of TCR-peptide binding by using paired TCR\u03b1 and \u03b2 sequence data","volume":"4","author":"Montemurro","year":"2021","journal-title":"Commun Biol"},{"key":"2023111005482115200_btad632-B15","doi-asserted-by":"crossref","first-page":"e3000314","DOI":"10.1371\/journal.pbio.3000314","article-title":"Detecting T cell receptors involved in immune responses from single repertoire snapshots","volume":"17","author":"Pogorelyy","year":"2019","journal-title":"PLoS Biol"},{"key":"2023111005482115200_btad632-B16","doi-asserted-by":"crossref","first-page":"D419","DOI":"10.1093\/nar\/gkx760","article-title":"VDJdb: a curated database of T-cell receptor sequences with known antigen specificity","volume":"46","author":"Shugay","year":"2018","journal-title":"Nucleic Acids Res"},{"key":"2023111005482115200_btad632-B17","doi-asserted-by":"crossref","first-page":"1605","DOI":"10.1038\/s41467-021-21879-w","article-title":"DeepTCR is a deep learning framework for revealing sequence concepts within T-cell repertoires","volume":"12","author":"Sidhom","year":"2021","journal-title":"Nat Commun"},{"key":"2023111005482115200_btad632-B18","article-title":"How to fine-tune BERT for text classification?","author":"Sun","year":"2020"},{"key":"2023111005482115200_btad632-B19","doi-asserted-by":"crossref","first-page":"1282","DOI":"10.1093\/bioinformatics\/btm098","article-title":"UniRef: comprehensive and non-redundant UniProt reference clusters","volume":"23","author":"Suzek","year":"2007","journal-title":"Bioinformatics"},{"key":"2023111005482115200_btad632-B20","doi-asserted-by":"crossref","first-page":"107281","DOI":"10.1016\/j.compbiolchem.2020.107281","article-title":"SETE: sequence-based ensemble learning approach for TCR epitope binding prediction","volume":"87","author":"Tong","year":"2020","journal-title":"Comput Biol Chem"},{"key":"2023111005482115200_btad632-B21","first-page":"5999","author":"Vaswani","year":"2017"},{"key":"2023111005482115200_btad632-B22","doi-asserted-by":"crossref","first-page":"i237","DOI":"10.1093\/bioinformatics\/btab294","article-title":"TITAN: T-cell receptor specificity prediction with bimodal attention networks","volume":"37","author":"Weber","year":"2021","journal-title":"Bioinformatics"},{"key":"2023111005482115200_btad632-B23","author":"Wu","year":"2021"},{"key":"2023111005482115200_btad632-B24","article-title":"XLNet: generalized autoregressive pretraining for language understanding","author":"Yang","year":"2019","journal-title":"Advances in Neural Information Processing Systems"}],"container-title":["Bioinformatics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/bioinformatics\/advance-article-pdf\/doi\/10.1093\/bioinformatics\/btad632\/52191184\/btad632.pdf","content-type":"application\/pdf","content-version":"am","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/bioinformatics\/article-pdf\/39\/11\/btad632\/53006748\/btad632.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/bioinformatics\/article-pdf\/39\/11\/btad632\/53006748\/btad632.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,11,10]],"date-time":"2023-11-10T01:14:03Z","timestamp":1699578843000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/bioinformatics\/article\/doi\/10.1093\/bioinformatics\/btad632\/7320012"}},"subtitle":[],"editor":[{"given":"Xin","family":"Gao","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"editor"}]}],"short-title":[],"issued":{"date-parts":[[2023,10,17]]},"references-count":24,"journal-issue":{"issue":"11","published-print":{"date-parts":[[2023,11,1]]}},"URL":"https:\/\/doi.org\/10.1093\/bioinformatics\/btad632","relation":{"has-preprint":[{"id-type":"doi","id":"10.1101\/2023.03.31.534974","asserted-by":"object"}]},"ISSN":["1367-4803","1367-4811"],"issn-type":[{"value":"1367-4803","type":"print"},{"value":"1367-4811","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2023,11,1]]},"published":{"date-parts":[[2023,10,17]]},"article-number":"btad632"}}