Exercise:AntigenProcessing: Difference between revisions

From 22145
Jump to navigation Jump to search
Line 156: Line 156:
*'''Q11: Can you identify other differences between the GibbsCluster solution and the MHCMotifDecon solution?'''
*'''Q11: Can you identify other differences between the GibbsCluster solution and the MHCMotifDecon solution?'''


---
== Conclusion ==


You should now have experience with two different approaches for analysing complex immunopeptidomics datasets:
You should now have experience with two different approaches for analysing complex immunopeptidomics datasets:

Revision as of 22:23, 22 September 2026

Exercise written by Carolina Barra Quaglia

Introduction

Immunopeptidomics experiments can identify thousands of peptides presented on the cell surface by MHC molecules. However, because an individual can express several different HLA alleles, it is often not immediately clear which HLA molecule is responsible for presenting each peptide. In addition, immunopeptidomics datasets may contain co-purified peptides that are not true MHC ligands.

In this exercise, we will work with an immunopeptidomics dataset from patients with rheumatoid arthritis (RA). We will first use the Immune Epitope Database (IEDB) to identify and retrieve the experimental peptide dataset and the corresponding HLA typing information.

We will then use MHCMotifDecon to assign the detected peptides to their most likely HLA restriction element and investigate how different analysis parameters and assumptions about the HLA genotype affect the deconvolution.

Finally, we will analyse the same peptide dataset with GibbsCluster, an unsupervised peptide clustering method, and compare the resulting motifs and clusters with those obtained using MHCMotifDecon.

Learning Objectives

After completing this exercise, you should be able to:

  • Retrieve and filter an immunopeptidomics dataset from the IEDB.
  • Identify relevant experimental information, including peptide modifications and the HLA alleles expressed in the sample.
  • Explain the purpose of MHC motif deconvolution in the analysis of immunopeptidomics data.
  • Use MHCMotifDecon to assign peptides to likely HLA restriction elements.
  • Evaluate how the %rank threshold and the choice of HLA alleles influence the deconvolution results.
  • Recognize the importance of considering additional HLA-DR molecules, such as HLA-DRB3, HLA-DRB4, and HLA-DRB5, when interpreting HLA-DR immunopeptidomics data.
  • Use GibbsCluster to perform unsupervised clustering of MHC class II peptide ligands.
  • Compare supervised and unsupervised approaches for identifying peptide-binding motifs in complex immunopeptidomics datasets.

Current Challenges

Immunopeptidomics is currently used in several biomedical applications, including neo-epitope discovery in oncology, protein-drug immunogenicity assessment, as well as next-generation vaccine development. Immunopeptidome data are highly complex given by natural complexity of proteomics data, and particularly for immunopeptidomics, due to the expression of multiple HLA alleles on the cell membrane and the presence of co-immunoprecipitated contaminants, which is an inherent drawback of the immunopeptidomic workflow.

To resolve this problem, we can use either MHCMotifDecon or GibbsCluster. MHCMotifDecon benefits from state-of-the-art MHC class I and class II predictions, NetMHCpan and NetMHCIIpan, respectively, to accurately deconvolute immunopeptidome datasets and assign individual ligands to the most likely MHC-restriction element while discarding co-purified contaminants. If we have HLA typing this is a great tool, on the other hand in absence of HLA alleles, GibbsCluster can assess what are the different specificities in a immunopeptidomics sample.


Data Collection: Get the Data and Filter It

Every good bioinformatics exercise starts with some data collection.

Start by going to the IEDB home page to perform your query.

Go to the IEDB and search the database for assays with MHC ligands in particular we want "mass spectrometry assays" in humans with rheumatoid arthritis.

There is growing evidence that MHC class II has a role in presenting self-peptides to induce autoimmunity, so we are going to focus only on MHC class II.

  • Q1: How many epitopes do you find with the initial filter?
  • Q2: Do you agree with calling these peptides epitopes? Why?

Now refine your search by including only mass-spectrometry assays on HLA-DR restriction alleles. From the References tab, select the publication from the Journal of Proteome Research from 2017 by Wang et al.

  • Q3: How many eluted ligands did they find in this study?

Under the Assays tab, select MHC ligand assays and export these results.

Open the exported file using Excel or your preferred program and inspect the different columns. We are interested in the epitope modification column (Modifications).

Note that there are two peptide sequences that contain post-translational modifications.

  • Q4: What kind of post-translational modifications are present?

These modified peptides look very interesting. However, the MHC Motif Deconvolution software cannot currently deal with them, so exclude them from the dataset.

In addition, inspect the column containing the MHC Types present in the host.

  • Q5: Which alleles are expressed in the patient used for this assay?

BAD LUCK! It seems that IEDB missed the annotation of the specific alleles for each peptide, we can only read "HL-DR" on MHC restriction. This is insufficient for our purpose, so we will need to traceback the original data from the original publication. Find it. look for table 1 and table 2. Luckily your friend ChatGPT can do the tedious work for you separating the peptides into five files, and can also read the paper for you to tell you which HLA alleles has each patient. Try to do this prompt with your favourite LLM-friend.

Now have the grasped of how much effort takes to create a curated database. You can also observe that databases contain errors, and missing data. If you still didn't manage to ask the relevant question to your LLM sparring partner.. no worries, you can download all 5 files from DTU Learn in a zip file called Datasets_for_antigen_processing.zip


You should now have both the peptide dataset and the HLA typing information required to use MHCMotifDecon. If this is not the case, read the previous paragraph and download the data.

MHCMotifDecon

Go to the MHCMotifDecon server and select MHC class II as the input type.

In this section we will analyse all five RA patients in the same run. Upload the provided peptide file in the main input field. Each line contains the peptide sequence followed by the patient ID, separated by a tab:

PEPTIDESEQUENCE    RA1
PEPTIDESEQUENCE    RA2

The server refers to the patient ID as the Cell_line_ID. This identifier allows MHCMotifDecon to keep peptides from the different patients separate during the analysis.

Because we are analysing multiple patients, use the section "If input data is for multiple cell lines" to upload the provided HLA allele file. The format is:

RA1    DRB1_0402,DRB1_1104
RA2    DRB1_0101,DRB1_0401

Make sure that the patient IDs in the HLA file (RA1, RA2, etc.) are exactly the same as those in the peptide file. Multiple HLA alleles for the same patient are separated by commas without spaces.

Note: MHCMotifDecon uses a specific notation for HLA alleles. For example:

HLA-DRB1*01:01 → DRB1_0101

Under Additional configuration, keep the default MHC class II peptide-length range (12–21 amino acids) and the default %Rank threshold for the first analysis. Select Include peptide count histogram so that the number of peptides assigned to each HLA molecule can be easily compared.

Press Submit. When the analysis is complete, inspect the motif deconvolution plots and peptide-count results for each patient. Peptides predicted not to bind sufficiently strongly to any of the HLA molecules supplied for that patient are assigned to the Trash cluster.

If you are really' struggling to get the peptides in the right format to make MHC Motif Deconvolution work.. you can get to the output shortcut here and answer the questions (this temporary link will not work more than a few hours for the exercise, so remember to download the output): https://services.healthtech.dtu.dk/cgi-bin/webface2.cgi?jobid=6AB2CF75000C1FD0C658852D&wait=20

  • Q6: How many peptides were assigned to each of the alleles, and how many were assigned to the trash cluster?
  • Q7: Can you see any differences between the trash-cluster peptides and the peptides assigned to a specific allele? Explain.

Go back to the previous submission and modify the %rank threshold to 2%.

  • Q8: What is the effect of changing the %rank threshold?

We know that HLA-DRB1 is not the only HLA-DR protein expressed by humans. HLA-DRB3, HLA-DRB4, and HLA-DRB5 are located in close proximity to HLA-DRB1 on the chromosome and are often expressed together.

In particular, cell lines expressing HLA-DRB1*04:01 are strongly associated with the expression of a second allele called HLA-DRB4*01:01.

If you want to learn more about this topic, search for HLA-DR linkage disequilibrium.

To predict which alleles are in linkage disequilibrium with your HLA-DRB1 alleles, you can use the following server. Make sure that you input the patients information on the right format by looking at the test example.

HLAAssoc


Having this information, now go back to MHC Motif Decon and extend the HLA typing of the patients.

If everything goes bananas and you are completely lost, dont panic! Here is the output of HLAAssoc:

https://services.healthtech.dtu.dk/cgi-bin/webface2.cgi?jobid=6AB2D62B000C48502E9E90B0&wait=20


Run MHCMotifDecon again with this additional alleles.

  • Q9: How many peptides are now associated with HLA-DRB3,4 and 5? Where did these peptides come from?

https://services.healthtech.dtu.dk/cgi-bin/webface2.cgi?jobid=6AB2D94E000C4F404E837EBC&wait=20

GibbsCluster

We will now analyse the same ligand dataset using an unsupervised approach.

Go to the GibbsCluster server.

Enter the submission page and paste the list of ligands into the input window.

Because GibbsCluster uses unsupervised learning, you do not need to specify the HLA alleles present in the sample.

Select the MHC class II parameters.

Change:

Number of iterations per sequence per temperature step = 100

and select:

Preference for hydrophobic AAs at P1

Click Submit.

  • Q10: Does the number of clusters found by GibbsCluster correspond to the number of HLA alleles in your sample?
  • Q11: Can you identify other differences between the GibbsCluster solution and the MHCMotifDecon solution?

Conclusion

You should now have experience with two different approaches for analysing complex immunopeptidomics datasets:

  • MHCMotifDecon – supervised motif deconvolution using known HLA alleles and MHC-binding predictions.
  • GibbsCluster – unsupervised clustering of peptide sequences without prior knowledge of the HLA alleles.

Consider how prior knowledge of the HLA type influences the interpretation of an immunopeptidomics dataset and how the results from the two approaches differ.

Done!