A Domain-Specific Language Model Approach for Identifying Immunogenic Epitopes from Publicly Available Data: EpitopeMiner

preprint OA: closed
📄 Open PDF Full text JSON View at publisher

Abstract

Personalized cancer vaccines represent a transformative approach in immunotherapy, leveraging tumor-specific antigens, such as neoantigens, to stimulate durable and targeted immune responses. However, identifying immunogenic neoantigen epitopes through conventional approaches - relying on in silico predictions followed by experimental validation - remains a significant challenge due to limitations of computational tools and scattering of experiment data. To address these challenges, we introduce EpitopeMiner, a domain-specific large language model (LLM) enhanced with a Retrieval-Augmented Generation (RAG) framework, specifically designed to identify immunogenic epitopes predicted by existing computational tools. EpitopeMiner utilizes a custom database of MHC-I-associated epitope-related literature to provide domain-specific knowledge, enhancing the precision and relevance of LLM-generated responses. EpitopeMiner offers three key features: First, the ability to identify epitopes with similar sequences and potentially similar immunogenic effects, which is especially valuable for neoantigens that are patient-specific and rarely found in public datasets. Second, it supports multiple epitope searches with structured outputs, enhancing scalability. Third, it provides original text chunks and paper identifiers, significantly simplifying validation and further exploration of the retrieved knowledge. Applying EpitopeMiner to well-characterized MHC class I epitopes demonstrates its ability to consistently retrieve relevant papers, efficiently providing targeted insights on T-cell response and immunogenicity, outperforming a commercial AI-powered literature tool. Notably, when applied to lymphoma patient-derived neoantigens, EpitopeMiner successfully retrieves immune response information for a few similar epitopes, despite operating with a relatively smaller database compared to the benchmark tool. All in all, EpitopeMiner bridges the gap between computational prediction and experimental validation, providing a scalable solution for extracting knowledge from public data, fostering cross-study synergies, and accelerating the development of personalized cancer vaccines.
Full text 47,431 characters · extracted from preprint-html · click to expand
A Domain-Specific Language Model Approach for Identifying Immunogenic Epitopes from Publicly Available Data: EpitopeMiner | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results A Domain-Specific Language Model Approach for Identifying Immunogenic Epitopes from Publicly Available Data: EpitopeMiner Wei Kit Tan , Wei Lin Tang , Agamjyot Singh Chadha , Roopa Niedu , Wendy Lee , Jing Quan Lim , Menaka Priyadharsani Rajapakse , Solomon Wilson , Kaibo Duan , Raymond Wei Liang Chong , Choon Kiat Ong , Bernett Lee , Olaf Rotzschke , Mai Chan Lau doi: https://doi.org/10.1101/2025.01.21.633814 Wei Kit Tan 1 Bioinformatics Institute (BII), Agency of Science, Technology and Research (A*STAR) , 30 Biopolis Street, Matrix Building, Singapore 138671, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Wei Lin Tang 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Agamjyot Singh Chadha 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Roopa Niedu 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Wendy Lee 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Jing Quan Lim 3 Lymphoma Translational Research Laboratory, Division of Cellular and Molecular Research, National Cancer Centre Singapore , 30 Hospital Boulevard, Singapore 168583, Republic of Singapore 4 ONCO-ACP, Duke-NUS Medical School , 8 College Road, Singapore 169857, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Menaka Priyadharsani Rajapakse 1 Bioinformatics Institute (BII), Agency of Science, Technology and Research (A*STAR) , 30 Biopolis Street, Matrix Building, Singapore 138671, Republic of Singapore 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Solomon Wilson 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Kaibo Duan 5 Lee Kong Chian School of Medicine (LKCMedicine), Nanyang Technological University Singapore , Singapore 636921, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Raymond Wei Liang Chong 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Choon Kiat Ong 3 Lymphoma Translational Research Laboratory, Division of Cellular and Molecular Research, National Cancer Centre Singapore , 30 Hospital Boulevard, Singapore 168583, Republic of Singapore 6 Cancer and Stem Cell Biology, Duke-NUS Graduate Medical School , 8 College Road, Singapore 169857, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Bernett Lee 5 Lee Kong Chian School of Medicine (LKCMedicine), Nanyang Technological University Singapore , Singapore 636921, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Olaf Rotzschke 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site Mai Chan Lau 1 Bioinformatics Institute (BII), Agency of Science, Technology and Research (A*STAR) , 30 Biopolis Street, Matrix Building, Singapore 138671, Republic of Singapore 2 Singapore Immunology Network (SIgN), Agency of Science, Technology and Research (A*STAR) , 8A Biomedical Grove, Immunos Building, Singapore 138668, Republic of Singapore Find this author on Google Scholar Find this author on PubMed Search for this author on this site For correspondence: lau_mai_chan{at}bii.a-star.edu.sg Abstract Full Text Info/History Metrics Preview PDF Abstract Personalized cancer vaccines represent a transformative approach in immunotherapy, leveraging tumor-specific antigens, such as neoantigens, to stimulate durable and targeted immune responses. However, identifying immunogenic neoantigen epitopes through conventional approaches - relying on in silico predictions followed by experimental validation - remains a significant challenge due to limitations of computational tools and scattering of experiment data. To address these challenges, we introduce EpitopeMiner, a domain-specific large language model (LLM) enhanced with a Retrieval-Augmented Generation (RAG) framework, specifically designed to identify immunogenic epitopes predicted by existing computational tools. EpitopeMiner utilizes a custom database of MHC-I-associated epitope-related literature to provide domain-specific knowledge, enhancing the precision and relevance of LLM-generated responses. EpitopeMiner offers three key features: First, the ability to identify epitopes with similar sequences and potentially similar immunogenic effects, which is especially valuable for neoantigens that are patient-specific and rarely found in public datasets. Second, it supports multiple epitope searches with structured outputs, enhancing scalability. Third, it provides original text chunks and paper identifiers, significantly simplifying validation and further exploration of the retrieved knowledge. Applying EpitopeMiner to well-characterized MHC class I epitopes demonstrates its ability to consistently retrieve relevant papers, efficiently providing targeted insights on T-cell response and immunogenicity, outperforming a commercial AI-powered literature tool. Notably, when applied to lymphoma patient-derived neoantigens, EpitopeMiner successfully retrieves immune response information for a few similar epitopes, despite operating with a relatively smaller database compared to the benchmark tool. All in all, EpitopeMiner bridges the gap between computational prediction and experimental validation, providing a scalable solution for extracting knowledge from public data, fostering cross-study synergies, and accelerating the development of personalized cancer vaccines. Introduction Personalized cancer vaccines, a crucial component of immunotherapy in neoadjuvant or adjuvant settings, show great potential in inducing specific and robust immune responses, leading to effective tumor clearance( 1 - 3 ). These cancer vaccines introduce tumor-specific antigens, such as neoantigens derived from a patient’s tumor mutations, to stimulate the immune system. These neoantigens are processed into peptides that bind to major histocompatibility complex (MHC) molecules, forming peptide-MHC complexes. These complexes are then presented on the surface of antigen-presenting cells (APCs) to CD8+ cytotoxic T cells. Through T-cell receptor (TCR) recognition, the immune system identifies and targets cancer cells, activating a robust and specific immune response to eliminate tumors( 4 ). While there is increasing recognition of the importance of antigen processing (e.g., NetChop( 5 )), peptide transport (e.g., NetCTL( 6 )), and immunogenicity (e.g., Immune Epitope Database (IEDB) analysis resource (AR) tools such as Immunogenicity and Deimmunization( 7 , 8 )), most efforts remain focused on modeling peptide binding to MHC-I molecules, with widely used tools such as NetMHCpan( 9 ) and MHCflurry( 10 ). Additionally, there is no established consensus for setting cutoffs within individual in silico methods or across different tools, further complicating their application. Advancements in experimental techniques, particularly mass spectrometry (MS) immunopeptidomics, have shown that although in silico predictions may identify thousands of somatic mutations and a few hundred potential MHC binders, the majority of these neoepitopes are not detected in tumors. Furthermore, using MHC–peptide tetramer staining to assess tumor-infiltrating lymphocytes (TILs), only a small subset of neoantigens is found to elicit T-cell responses. However, these measurement techniques also have limitations( 11 ). MHC–peptide tetramer staining often requires ex vivo TIL expansion in ‘cold’ tumors, potentially altering T-cell specificities. Similarly, MS-based immunopeptidomics faces limited sensitivity for identifying naturally presented MHC ligands, relies on costly equipment, and demands substantial cell quantities, making it technically challenging. In-silico predicted epitope candidates undoubtedly require experimental validation ( 12 ). Given the limitations and costs involved, establishing an effective knowledge-sharing framework is crucial. Tens of thousands of peptides—eluted from MHCs, identified by MS, and some tested via MHC–peptide tetramer staining—exist scattered across literature, public databases such as IEDB( 8 ), dbPepNeo( 13 ) and NeoDB( 14 ), supplementary data in papers, and even laboratory records ( 11 ). Reviewing and consolidating this vast amount of information remains a significant challenge The advent of large language models (LLMs), which excel at processing and extracting insights from extensive textual data, offers a promising solution. However, general-purpose LLMs like OpenAI’s ChatGPT, Google’s Gemini, or Ought’s Elicit designed for mining literature, present concerns such as their lack of domain specificity, potential for generating inaccurate or incomplete interpretations, and inability to effectively integrate structured scientific databases into their outputs. To address these limitations, we present EpitopeMiner, a domain-specific LLM integrated with a Retrieval-Augmented Generation (RAG) framework( 15 - 17 ), tailored for identifying immunogenic epitopes from in-silico predicted candidates. By leveraging a custom epitope database, EpitopeMiner combines the retrieval of relevant knowledge with LLM-generated insights, enabling the efficient use of existing data, facilitating cross-study information sharing, and advancing the development of personalized cancer vaccines. Methods Conventional Workflow for Epitope Prediction Whole-genome sequencing was performed for a tumor-normal paired from a primary refractory Natural-killer/T cell lymphoma (ENKL) patient. BWA (v0.7.17) was used to aligned the sequencing data to the hs37d5 reference genome and Sambamba (v0.6.5) was used to mark out PCR duplicates. The tumoral and normal data was aligned with an effective coverage of 58.8x and 25.6x, respectively. Strelka (v2.9.10) was performed on the tumor-normal pair aligned BAM files simultaneously and annotation of the candidate variants were annotated by wAnnovar (Jan 2024). Minimum variant-depth of 3x and minimum variant-allele frequency of 5% was used as cut-off to control quality of candidate variants. A final list of 43 non-silent protein-changing variants were curated. The flanking 8 to 11 amino acids of each variant were then tested for its binding affinity to HLA class I molecules. HLA-typing was performed with Optitype (v1.3.5) on the sequencing data from both tumoral and normal tissues for concordance. The whole-genome data was preprocessed by aligning to the “hla_reference_dna.fasta” downloaded from Optitype’s website, whereby only mappable sequencing reads were curated, for the actual Optitype pipeline, for the final HLA-typing of each sample. These mutated peptides were analyzed for their ability to bind HLA class I molecules using NetMHCpan v4.1 and MHCflurry v2.0.6. NetMHCpan used Artificial Neural Network (ANNs) to calculate peptide binding affinities of each mutated peptide to a wide range of HLA alleles, providing binding scores (IC50 values) and binding rank percentiles. MHCflurry provided complementary analysis by calculating ligand presentation scores, integrating both peptide binding affinity and surface presentation likelihood. Predictions from NetMHCpan and MHCflurry were combined to select the most promising epitopes. Mutated peptides with a binding affinity threshold of IC50 < 500nM were shortlisted as high-affinity neoantigens. From this analysis, 55 neoantigens were identified. After removing duplicates, 43 unique neoantigen remained. These 43 neoantigens were used to evaluate the performance on epitopes that are not well documented in the existing databases, due to the nature of being highly patient specific. Custom Epitope Database Leveraging the RAG-LLM approach, which combines a retrieval system with a generative AI model, we built a custom database containing MHC-I associated epitope information. This approach allows for efficient extraction and summarization of relevant data from indexed papers. By connecting RAG with an LLM, we can generate contextually rich and accurate summaries, providing insights into epitope characteristics. This integration bridges data retrieval and interpretation, enabling a more comprehensive analysis of MHC-I associated epitopes for immunological studies. Building the database involves three key components: data curation, data indexing, and embedding generation. Data Curation A total of 3,476 PubMed Identifiers (PMIDs) for all MHC class I T-cell epitopes deposited in the IEDB database were retrieved. Of these, full texts for 1,959 articles were accessible via PubMed Central (PMC) Open Access using the BioC API in JSON format. Figures, captions, tables, and references were removed during preprocessing. The processed full texts were split into smaller units, referred to as text chunks, to ensure effective retrieval. This was achieved using a hierarchical chunking approach with the RecursiveCharacterTextSplitter function from LangChain. Unlike simpler methods, such as the CharacterTextSplitter , which splits text based on specific characters and may produce inconsistent chunk sizes, the RecursiveCharacterTextSplitter breaks text down from larger units (e.g., paragraphs) into progressively smaller units (e.g., sentences or phrases) while maintaining semantic coherence. This method ensures that the resulting chunks are uniform in size and contextually meaningful, making it well-suited to our use case( 18 ) Each chunk was configured to contain 1,000 tokens with a 200-token overlap between successive chunks. This setup was chosen to balance providing sufficient context within each chunk and keeping the size manageable for efficient processing. Embedding Generation To enable efficient similarity search, such as identifying matching epitopes and retrieving relevant information, each text chunk is transformed into a high-dimensional vector representation using advanced natural language processing models. We employ a hybrid search strategy to leverage the complementary strengths of dense and sparse embeddings. This approach combines the semantic depth of dense embeddings with the precision of sparse embeddings, addressing the dual need for contextual understanding and keyword-specific lookups. Dense embeddings, generated using the text-embedding-3-large model( 19 ), are adept at capturing nuanced semantic relationships, enabling the system to compare and understand text based on meaning. Sparse embeddings, created using SPLADE (Sparse Lexical and Expansion Model for First Stage Ranking)( 20 ), excel at keyword-based searches, which are particularly valuable for finding matching epitopes and related information. By integrating dense embeddings for semantic understanding and sparse embeddings for precise keyword matching, the hybrid system enhances the efficiency of searches, improves relevance scoring, and optimizes storage for large-scale epitope databases. Data Indexing Once generated, the embeddings are indexed into a specialized vector database, Pinecone( 21 ), which organizes them into a searchable structure, enabling rapid retrieval of relevant embeddings during a query. Among several vector database solutions, such as FAISS (Facebook AI Similarity Search)( 22 ) and ChromaDB( 23 ), Pinecone was selected for its robust support for hybrid search, combining dense and sparse embeddings to enhance both semantic understanding and keyword-specific lookups. Data Retrieval When a query, either an epitope sequence or free-text, is submitted, it is first converted into an embedding. The system then searches the indexed embeddings to identify the most semantically similar vectors to the query, ensuring accurate and contextually relevant matches. EpitopeMiner Workflow User Input EpitopeMiner processes one epitope sequence at a time. For each sequence, it formulates a query using a predefined template: “Give information regarding { epitope } T-cell response , { epitope } immunogenicity for the candidate epitope { epitope }”; where { epitope } is replaced by the user-provided epitope sequence. Similar Epitope Search To expand the search space in the custom database and retrieve information on epitopes with similar but not identical sequences, the user-provided epitope sequence { epitope } is compared against a reference list of MHC-I epitope sequences from IEDB using the Smith-Waterman local alignment method (PairwiseAligner module Biopython, version 1.84). Unlike global alignment methods, this approach focuses on aligning the most similar subsequences within two larger sequences, emphasizing regions of high similarity. Penalties are applied for mismatches (mutations) and gaps (insertions or deletions), reducing the overall alignment score. The 10 most similar epitopes, determined by the highest similarity scores, are then included for processing using the same template query, “Give information regarding { epitope } T-cell response , { epitope } immunogenicity for the candidate epitope { epitope }”. The rationale behind this approach is that epitopes with similar sequences often share binding affinities to MHC molecules and T-cell receptors, which are essential for eliciting immune responses. This capability is particularly critical for studying neoantigens, which are patient-specific tumor mutations and are less likely to be represented in public datasets. By retrieving information about similar epitopes, EpitopeMiner overcomes the challenge of limited neoantigen representation, enhances the utilization of public data, and creates synergies across studies, ultimately supporting personalized cancer vaccine research. Context Generation Each of the 11 identified queries (comprising the original epitope and its 10 most similar epitopes), structured as, “Give information regarding { epitope } T-cell response , { epitope } immunogenicity for the candidate epitope { epitope }”, undergoes dense and sparse embedding generation followed by retrieval of the 20 most relevant text chunks from the custom epitope database. This retrieval is performed using a hybrid search approach based on similarity scores (see Methods – Custom Epitope Database). Response Generation For each of the 11 epitopes (including the original epitope and its 10 most similar epitopes), the corresponding query, “Give information regarding { epitope } T-cell response , { epitope } immunogenicity for the candidate epitope { epitope }” along with the 20 most relevant text chunks retrieved from the custom epitope database, is processed using the GPT-4o API LLM model (OpenAI, San Francisco, CA, USA). To enhance reliability and robustness, five parallel LLM responses are generated for each epitope. These responses are then consolidated into a single consensus output, specifically summarizing information relevant to T-cell response and immunogenicity domains. Structured Responses for Multi-Epitope Queries To facilitate querying multiple epitopes, EpitopeMiner employs a rule-based JSON structure to format GPT-4o API LLM responses into a tabular format ( Figure 2 ). The resulting table includes epitope sequences, identifiers for associated text chunks (enabling retrieval from the indexed custom database), various LLM parameters, and unique paper counts linked to the defined knowledge domains, such as T-cell response and immunogenicity. Download figure Open in new tab Figure 1. RAG-LLM workflow. The process begins with a user-provided epitope, followed by the identification of 10 similar epitopes. Relevant content for these 11 epitopes is retrieved from an in-house database stored in Pinecone, processed using OpenAI’s LLM API, and presented as structured and textual outputs. Download figure Open in new tab Figure 2. Example of structured responses generated by EpitopeMiner. The output table includes the epitope sequence, associated text chunk identifiers, LLM parameters (e.g., temperature, number of text chunks, alpha value for hybrid search), and the unique number of papers linked to T-cell response. Benchmarking Tool - Elicit Elicit, is an AI-powered research assistant developed by Ought( 24 ), it automates the process of retrieving, summarising and also provides a free-text querying function allowing information tabulation using custom column creation function. Elicit has indexed over 125 million research papers across a wide range of disciplines built on the Semantic Scholar corpus. Given a user-input free-text description, Elicit generates a summary highlighting information relevant to the user query, using the 8 most relevant (or recent) papers. It also allows the creation of custom columns to identify specific information about each paper using AI. For benchmarking against EpitopeMiner, we defined two new columns: one based on the query, “Does the paper mention T-cell response?” and the other, “Does the paper mention immunogenicity?”. Additionally, we expanded the search to include the top 16 most relevant papers. ChatGPT Usage for Manuscript Preparation ChatGPT (OpenAI, San Francisco, CA, USA) was used to assist in drafting and refining sections of this manuscript, including language optimization and style consistency. The content was thoroughly reviewed and validated by the authors to ensure accuracy and intellectual integrity. Results EpitopeMiner processes queried epitopes individually. Unlike general-purpose LLM tools, it first searches a custom epitope database for T-cell response-related information, ensuring domain-specific queries are refined before being processed by the OpenAI API. Furthermore, EpitopeMiner provides summaries tailored to specific knowledge domains, currently focused on T-cell response and immunogenicity, and includes the associated text chunks retrieved from the epitope database to facilitate interpretation and validation. We evaluate the performance of EpitopeMiner using well-characterized MHC class I epitopes from the IEDB database, as well as lymphoma-derived neoantigens, which are highly patient-specific and minimally documented. EpitopeMiner Evaluation with Well-Characterized IEDB Epitopes Thirteen well-characterized MHC class I epitopes from the IEDB database were randomly selected to evaluate EpitopeMiner’s performance, benchmarked against Elicit, a commercial tool designed for literature review. Table 1 summarizes the structured output generated by EpitopeMiner for the 13 epitopes, alongside paper counts returned by Elicit using its custom column creation feature. Standard queries, such as “Does the paper mention T-cell response?” or “Does the paper mention immunogenicity?”, were applied to the 16 most relevant research articles retrieved by Elicit. View this table: View inline View popup Download powerpoint Table 1. RAG-LLM Performance Evaluation Using 13 Randomly Selected Epitopes from IEDB Database, Benchmarked Against Elicit. The RAG-LLM results include the queried epitope along with its 10 most similar epitopes. For comparison, paper counts from Elicit’s custom column creation feature, querying “T-cell response” or “immunogenicity” in the top 16 most relevant research papers, are also listed. Percentage values indicate the proportion of papers among all unique papers returned or analyzed. Rows are ordered by the decreasing number of papers associated with T-cell response and immunogenicity identified by RAG-LLM. Assuming that epitopes with similar sequences share binding affinities to MHC molecules and T-cell receptors for eliciting immune responses, EpitopeMiner identifies the 10 most similar epitopes from the custom database and generates responses for each, along with the original queried epitope. Among the 13 queried epitopes, EpitopeMiner retrieved information, in terms of papers in the custom database, for 12 of them, while Elicit found relevant papers for 7 epitopes. Furthermore, EpitopeMiner consistently retrieves a higher percentage of papers associated with T-cell response and immunogenicity, with the exception of SIINFEKL. For well-established epitopes like SIINFEKL, access to a larger database, such as the one utilized by Elicit, proves advantageous. Notably, a manual evaluation of the 16 unique papers retrieved by Elicit reveals relevant and valuable information about the T-cell response and immunogenicity of the target epitope. EpitopeMiner Evaluation with Lymphoma-Derived Neoantigens Neoantigens are novel peptides arising from tumor-specific mutations and are more likely to elicit a robust T-cell-mediated immune response, making them critical targets for personalized cancer vaccine development. However, limited existing knowledge poses a challenge. By leveraging EpitopeMiner’s similar epitope search capability, we retrieved relevant literature information for 43 neoantigen epitopes (MHC-I) identified from a lymphoma patient through conventional prediction tools (see Methods). Table 2 shows that EpitopeMiner identified similar epitopes for 8 out of the 43 neoantigen epitopes, with each epitope having references in nearly 150 papers indexed in the custom database. Conversely, paper counts obtained from Elicit’s custom column creation feature returned no relevant papers. Among the papers retrieved by EpitopeMiner, a smaller proportion is specific to T-cell response and immunogenicity compared to the well-characterized IEDB epitopes, as shown in Table 1 . View this table: View inline View popup Table 2. RAG-LLM Performance Evaluation Using 43 Neoantigens from a Lymphoma Patient, Benchmarked Against Elicit. The RAG-LLM results include the queried epitope along with its 10 most similar epitopes. For comparison, paper counts from Elicit’s custom column creation feature, querying “T-cell response” or “immunogenicity” in the top 16 most relevant research papers, are also listed. Percentage values indicate the proportion of papers among all unique papers returned or analyzed. Rows are ordered by the decreasing number of papers associated with T-cell response and immunogenicity identified by RAG-LLM. Three epitopes containing the sequence ‘MALFKRTLLL’ and another three containing the sequence ‘AALQSRVNV’ were underlined and shaded (see Tables 3 and 4 for detailed analysis). Among the top-ranked neoantigen epitopes based on the unique number of papers associated with T-cell response and immunogenicity, some share common sequences. Specifically, ‘MALFKRTLLL’ is a sequence present in ‘MALFKRTLLL’ ‘MALFKRTLLLSPAA’ and ‘MALFKRTLLLSPAAPR,’ while ‘AALQSRVNV’ is shared among ‘AALQSRVNV’ ‘AALQSRVNVIDHVR’ and ‘MALFKRTLLLSPAAPR ( Table 2 ). Table 3 presents EpitopeMiner’s detailed responses for the queried neoantigen epitope, MALFKRTLLL. Among the 10 most similar epitopes identified, 3 were referenced in papers indexed within the custom database, and they either comprise “VMAPRTLLL” or a similar sequence, such as “VMPPRTLLL” It is worth noting that no direct reference was found for the queried epitope. The textual responses provided include information such as HLA restrictions, peptide family, and associations with viruses like Human Cytomegalovirus (HCMV). View this table: View inline View popup Table 3. Detailed Responses Generated by the RAG-LLM Pipeline for the Queried Epitope MALFKRTLLL and Its 10 Most Similar Epitopes. Among the 11 epitopes analyzed, no information was retrieved for the queried epitope itself or 7 of its most similar epitopes. For the remaining 3 similar epitopes, the pipeline provided textual responses and selected text excerpts from associated journal articles indexed in the Pinecone database. To support validation and knowledge expansion, EpitopeMiner also returns text chunks and paper DOIs from the indexed custom database (Pinecone) to users, providing context for downstream processing by the OpenAI API. Due to space constraints, selected text chunks are presented in Table 3 . Inspection of the original text chunks reveals that the OpenAI LLM API incorporated additional similar epitope searches, effectively expanding the search space. Three of the ten most similar epitopes were referenced in papers indexed in the custom database, despite lacking direct references. It is also noteworthy that no direct references were found for the queried epitope. Notably, EpitopeMiner’s textual responses provided additional insights into epitope characteristics, including structural details and T-cell receptor (TCR) information. For the selected neoantigen epitope ‘AALQSRVNV’ ( Table 4 ), similar findings were observed. Three of the ten most similar epitopes were referenced in papers indexed in the custom database, despite lacking direct references. It is also noteworthy that no direct references were found for the queried epitope. Notably, EpitopeMiner’s textual responses provided additional insights into epitope characteristics, including structural details and T-cell receptor (TCR) information. View this table: View inline View popup Table 4. Detailed Responses Generated by the RAG-LLM Pipeline for the Queried Epitope AALQSRVNV and Its 10 Most Similar Epitopes. Among the 11 epitopes analyzed, no information was retrieved for the queried epitope itself or 7 of its most similar epitopes. For the remaining 3 similar epitopes, the pipeline provided textual responses and selected text excerpts from associated journal articles indexed in the Pinecone database. Discussion Personalized cancer vaccines hold significant promise for inducing specific and robust immune responses, leading to effective tumor clearance. However, the current vaccine development pipeline remains time-consuming and costly, primarily because conventional prediction methods focus heavily on MHC molecule binding affinity. In contrast, effective immune responses depend on multiple factors, particularly T-cell response and immunogenicity, with an expanding list of contributing elements. Consequently, significant time and effort are required to validate the extensive list of epitope candidates generated by prediction tools, either through experimental methods or labor-intensive literature reviews. To address this, we present EpitopeMiner, a domain-specific language model designed to identify immunogenic epitopes by utilizing a custom database of epitope-related full-text papers. The application of EpitopeMiner to well-characterized epitopes from IEDB demonstrates its ability to consistently return relevant papers, efficiently retrieving targeted information, including insights on T-cell response and immunogenicity. In contrast, Elicit provides information for only a subset of the tested epitopes, despite accessing a larger database. This highlights the advantage of EpitopeMiner’s context-enriched LLM search in enhancing both specificity and coverage. However, retrieving specific and comprehensive information about neoantigens remains challenging, as they are patient-specific tumor mutations and are less likely to be represented in public datasets. In this context, the ability to identify epitopes with similar sequences to the queried neoantigen epitopes becomes crucial. Hence, EpitopeMiner integrates a similar epitope search function, designed to identify reported epitopes with comparable sequences and potentially similar immunogenicity. While Elicit fails to retrieve relevant papers, EpitopeMiner identifies papers for similar sequence epitopes, facilitating knowledge extraction from public data and creating synergies across studies, thereby accelerating cancer vaccine development research. Two other key features of EpitopeMiner to highlight are its structured output for each engineered knowledge domain, currently focusing on T-cell response and immunogenicity, and its ability to extract and interpret original text chunks and papers directly from its database. In contrast, while Elicit provides access to papers, it requires manual searching for specific epitopes. Although Elicit offers a search and summarization feature through custom column creation, it yields significantly fewer unique papers related to T-cell response and immunogenicity when analyzing well-characterized IEDB epitopes and retrieves zero papers in the lymphoma-derived neoantigen analysis. Our study has several limitations. First, our custom database is relatively small, comprising approximately 1.9 thousand full-text papers. We aim to expand this database by incorporating more publications and integrating structured public databases, particularly those focusing on T-cell response information, such as dbPepNeo( 13 ) and NeoDB( 14 ). Additionally, the database is currently limited to MHC-I associated epitopes, while the significance of MHC-II associated immune responses is increasingly recognized and should be accounted for in future studies. Second, EpitopeMiner is currently limited to two specific knowledge domains: T-cell response and immunogenicity. However, the modular design of the RAG-LLM framework allows for the addition of new domains in the future. Other factors influencing effective immune responses by epitopes, such as peptide stability, processing and presentation efficiency, and the role of HLA allotypes, should be considered in future iterations. Third, further validation is needed using patient tumor-derived neoantigens from diverse tumor types to ensure broader applicability and robustness. Fourth, unlike Elicit, EpitopeMiner is not intended for general-purpose literature searches and requires a specific epitope sequence for queries. Additionally, it does not currently support iterative or narrowed-down information retrieval. In summary, EpitopeMiner offers a novel and effective approach for retrieving comprehensive and targeted information related to queried epitopes. Specifically designed to extract knowledge relevant to tumor-specific neoantigens, it leverages similar sequence epitopes to enhance data accessibility. By integrating EpitopeMiner with conventional prediction tools, we anticipate significant improvements in the efficiency of personalized vaccine development, reducing time requirements and enabling cost-effective shortlisting of high-potential epitope candidates. Funding Our work is supported by the Singapore Immunology Network and Bioinformatics Institute, Agency for Science, Technology and Research (A*STAR). Our work is funded in part by the following grants: IAF-PP T-MoVac Programme (H22J1a0043), and NMRC OFYIRG23jan-0049 (awarded to Dr. Mai Chan Lau). References 1. ↵ Seclì L , Leoni G , Ruzza V , Siani L , Cotugno G , Scarselli E , et al. Personalized Cancer Vaccines Go Viral: Viral Vectors in the Era of Personalized Immunotherapy of Cancer . International journal of molecular sciences . 2023 ; 24 ( 23 ): 16591 . PubMed PMID : doi: 10.3390/ijms242316591 . OpenUrl CrossRef PubMed 2. Richard G , Ruggiero N , Steinberg GD , Martin WD , De Groot AS . Neoadjuvant personalized cancer vaccines: the final frontier? Expert Review of Vaccines . 2024 ; 23 ( 1 ): 205 – 12 . OpenUrl CrossRef PubMed 3. ↵ Gfeller D , Liu Y , Racle J. Contemplating immunopeptidomes to better predict them . Seminars in Immunology . 2023 ; 66 : 101708 . doi: 10.1016/j.smim.2022.101708 . OpenUrl CrossRef PubMed 4. ↵ Hutchison S , Pritchard AL . Identifying neoantigens for use in immunotherapy . Mammalian Genome . 2018 ; 29 ( 11 ): 714 – 30 . OpenUrl CrossRef PubMed 5. ↵ Saxová P , Buus S , Brunak S , Keşmir C. Predicting proteasomal cleavage sites: a comparison of available methods . International Immunology . 2003 ; 15 ( 7 ): 781 – 7 . doi: 10.1093/intimm/dxg084 . OpenUrl CrossRef PubMed Web of Science 6. ↵ Stranzl T , Larsen MV , Lundegaard C , Nielsen M. NetCTLpan: pan-specific MHC class I pathway epitope predictions . Immunogenetics . 2010 ; 62 ( 6 ): 357 – 68 . doi: 10.1007/s00251-010-0441-4 . OpenUrl CrossRef PubMed Web of Science 7. ↵ Dhanda SK , Mahajan S , Paul S , Yan Z , Kim H , Jespersen MC , et al. IEDB-AR: immune epitope database—analysis resource in 2019 . Nucleic acids research . 2019 ; 47 ( W1 ): W502 – W6 . doi: 10.1093/nar/gkz452 . OpenUrl CrossRef PubMed 8. ↵ Yan Z , Kim K , Kim H , Ha B , Gambiez A , Bennett J , et al. Next-generation IEDB tools: a platform for epitope prediction and analysis . Nucleic acids research . 2024 ; 52 ( W1 ): W526 – W32 . doi: 10.1093/nar/gkae407 . OpenUrl CrossRef PubMed 9. ↵ Reynisson B , Alvarez B , Paul S , Peters B , Nielsen M. NetMHCpan-4.1 and NetMHCIIpan-4.0: improved predictions of MHC antigen presentation by concurrent motif deconvolution and integration of MS MHC eluted ligand data . Nucleic acids research . 2020 ; 48 ( W1 ): W449 – W54 . OpenUrl CrossRef PubMed 10. ↵ O’Donnell TJ , Rubinsteyn A , Laserson U. MHCflurry 2.0: improved pan-allele prediction of MHC class I-presented peptides by incorporating antigen processing . Cell systems . 2020 ; 11 ( 1 ): 42 – 8 . e7. OpenUrl CrossRef PubMed 11. ↵ The problem with neoantigen prediction . Nature Biotechnology . 2017 ; 35 ( 2 ): 97 –. doi: 10.1038/nbt.3800 . OpenUrl CrossRef PubMed 12. ↵ Vitiello A , Zanetti M. Neoantigen prediction and the need for validation . Nature Biotechnology . 2017 ; 35 ( 9 ): 815 – 7 . doi: 10.1038/nbt.3932 . OpenUrl CrossRef PubMed 13. ↵ Tan X , Li D , Huang P , Jian X , Wan H , Wang G , et al. dbPepNeo: a manually curated database for human tumor neoantigen peptides . Database (Oxford) . 2020 ; 2020 . Epub 2020/02/25. doi: 10.1093/database/baaa004 . PubMed PMID: 32090262 ; PubMed Central PMCID: PMCPMC7043295 . OpenUrl CrossRef PubMed 14. ↵ Wu T , Chen J , Diao K , Wang G , Wang J , Yao H , et al. Neodb: a comprehensive neoantigen database and discovery platform for cancer immunotherapy . Database (Oxford) . 2023 ; 2023 . Epub 2023/06/13. doi: 10.1093/database/baad041 . PubMed PMID: 37311149 ; PubMed Central PMCID: PMCPMC10263465 . OpenUrl CrossRef PubMed 15. ↵ Gao Y , Xiong Y , Gao X , Jia K , Pan J , Bi Y , et al. Retrieval-augmented generation for large language models: A survey . arXiv preprint arXiv:231210997. 2023 . 16. Špeletić M , Cvetković S , Protić M , Nikolić SV. EXPLORING RAG IN MEDICAL QUESTION ANSWERING: INTEGRATING LLMS AND VECTOR DATABASES . 17. ↵ Wang C , Long Q , Xiao M , Cai X , Wu C , Meng Z , et al. Biorag: A rag-llm framework for biological question reasoning . arXiv preprint arXiv:240801107. 2024 . 18. ↵ Madhav D , Nijai S , Patel U , Champanerkar K , editors. Question Generation from PDF using LangChain . 2024 11th International Conference on Computing for Sustainable Global Development (INDIACom) ; 2024 28 Feb.-1 March 2024 . 19. ↵ Harris N , Butani A , Hashmy S. Enhancing Embedding Performance through Large Language Model-based Text Enrichment and Rewriting2024 April 01, 2024 :[ arXiv: 2404.12283 p.]. Available from: https://ui.adsabs.harvard.edu/abs/2024arXiv240412283H http://arxiv.org/pdf/2404.12283 . 20. ↵ Formal T , Piwowarski B , Clinchant S , editors. SPLADE: Sparse lexical and expansion model for first stage ranking . Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval ; 2021 . 21. ↵ Yang H , Guo J , Qi J , Xie J , Zhang S , Yang S , et al. A Method for Parsing and Vectorization of Semi-structured Data used in Retrieval Augmented Generation2024 May 01, 2024 :[ arXiv: 2405.03989 p.]. Available from: https://ui.adsabs.harvard.edu/abs/2024arXiv240503989Y http://arxiv.org/pdf/2405.03989 . 22. ↵ Douze M , Guzhva A , Deng C , Johnson J , Szilvasy G , Mazaré P-E , et al. The faiss library . arXiv preprint arXiv:240108281. 2024 . 23. ↵ Core C. Chroma: The ai-native open-source embedding database . Version 04.10. 24. ↵ Whitfield S , Hofmann MA . Elicit: AI literature review research assistant . Public Services Quarterly . 2023 ; 19 ( 3 ): 201 – 7 . doi: 10.1080/15228959.2023.2224125 . OpenUrl CrossRef View the discussion thread. Back to top Previous Next Posted January 24, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following A Domain-Specific Language Model Approach for Identifying Immunogenic Epitopes from Publicly Available Data: EpitopeMiner Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share A Domain-Specific Language Model Approach for Identifying Immunogenic Epitopes from Publicly Available Data: EpitopeMiner Wei Kit Tan , Wei Lin Tang , Agamjyot Singh Chadha , Roopa Niedu , Wendy Lee , Jing Quan Lim , Menaka Priyadharsani Rajapakse , Solomon Wilson , Kaibo Duan , Raymond Wei Liang Chong , Choon Kiat Ong , Bernett Lee , Olaf Rotzschke , Mai Chan Lau bioRxiv 2025.01.21.633814; doi: https://doi.org/10.1101/2025.01.21.633814 Share This Article: Copy Citation Tools A Domain-Specific Language Model Approach for Identifying Immunogenic Epitopes from Publicly Available Data: EpitopeMiner Wei Kit Tan , Wei Lin Tang , Agamjyot Singh Chadha , Roopa Niedu , Wendy Lee , Jing Quan Lim , Menaka Priyadharsani Rajapakse , Solomon Wilson , Kaibo Duan , Raymond Wei Liang Chong , Choon Kiat Ong , Bernett Lee , Olaf Rotzschke , Mai Chan Lau bioRxiv 2025.01.21.633814; doi: https://doi.org/10.1101/2025.01.21.633814 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Cancer Biology Subject Areas All Articles Animal Behavior and Cognition (7635) Biochemistry (17691) Bioengineering (13892) Bioinformatics (41937) Biophysics (21452) Cancer Biology (18588) Cell Biology (25504) Clinical Trials (138) Developmental Biology (13378) Ecology (19899) Epidemiology (2067) Evolutionary Biology (24320) Genetics (15609) Genomics (22506) Immunology (17736) Microbiology (40394) Molecular Biology (17181) Neuroscience (88605) Paleontology (666) Pathology (2832) Pharmacology and Toxicology (4824) Physiology (7641) Plant Biology (15156) Scientific Communication and Education (2045) Synthetic Biology (4294) Systems Biology (9825) Zoology (2271)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-06-13T06:42:57.164913+00:00