-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New TCR-Epitope Binding Affinity Prediction Task #141
Conversation
Thanks, Anna! It works perfectly! Could you also provide some more information about the task and dataset? We would like to highlight it on the website. An example would be https://tdcommons.ai/multi_pred_tasks/peptidemhc/ Particularly, for the task, it would be definition/impact/generalization/product/pipeline. And for the dataset, it would be dataset description/task description/dataset statistics/recommended splits/reference/license. Any written draft would be great! If you are busy, let us know, we can also come up with something : ) |
Hi @annaweber209 and @jannisborn i drafted the following text on the TDC website for this task. Could you guys double check to see if you want to edit anything? thanks!! Description: T-cells are an integral part of the adaptive immune system, whose survival, proliferation, activation and function are all governed by the interaction of their T-cell receptor (TCR) with immunogenic peptides (epitopes). A large repertoire of T-cell receptors with different specificity is needed to provide protection against a wide range of pathogens. This new task aims to predict the binding affinity given a pair of TCR sequence and epitope sequence. Impact: An accurate model can help design TCR receptor for effective immunotherapy. It can also unlock a patients’ TCR repertoire, which reflects their immune history and could inform about past and current infectious diseases, vaccine effectiveness or autoimmune reactions. Generalization: The models are expected to be generalized to unseen TCR-epitope pairs and also generalize to epitope that is never-before-seen. Product: Immunotherapy. Pipeline: Activity. Dataset description: The dataset is from Weber et al. who assemble a large and diverse data from the VDJ database and ImmuneCODE project. It uses all human TCR-beta chain sequences. Since this dataset is highly imbalanced, the authors exclude epitopes with less than 15 associated TCR sequences and downsample to a limit of 400 TCRs per epitope. The dataset contains amino acid and SMILES representation for epitope and the amino acid full sequence of CDR3 region sequence for TCR. Dataset Statistics: 47,182 TCR-Epitope pairs between 192 epitopes and 23,139 TCRs. Dataset Split: Random Split, Cold Epitope Split from tdc.multi_pred import TCREpitopeBinding
data = TCREpitopeBinding(name = 'weber', path = './data')
split = data.get_split() |
Hi @kexinhuang12345, thanks a lot for doing this. I think it's great, here are few comments: Dataset Split: Cold TCR Split, Cold TCR/Epitope Split Comment:The Random split will be too easy to solve. In our paper, we use a Cold TCR split and a Cold TCR-Epitope split; where we split by both modalities together. Cold Epitope split alone might also be very useful since the generalization toward new epitopes is the grand challenge. Generalization: The models are, at very least, expected to generalize to unseen TCRs. But the main challenge of this dataset is to generalize to samples where both epitope and TCR are unseen. Also I would replace this sentence
with The dataset contains amino acid sequences either for the entire TCR or only for the hypervariable CDR3 loop. Epitopes are available as amino acid sequences. Since Weber et al. proposed to represent the peptides as SMILES strings (which reformulates the problem to protein-ligand binding prediction) the SMILES strings of the epitopes are also included. Maybe @annaweber209 has some more thoughts? |
Great! Thanks for the feedback! @annaweber209 let me know if there is any additional thought! |
Sorry for the late reply @kexinhuang12345 ! I would add a sentence to the dataset description saying: "50% negative samples were generated by shuffling the pairs, i.e. associating TCR sequences with epitopes they have not been shown to bind." Another small comment is to remove the word "all" from "It uses all human TCR-beta chain sequences." since we excluded some of the TCR sequences during the downsampling process. |
Awesome! Thanks so much! It is included on the website and will be alive in 0.3.6, scheduled to be released this weekend. let us know if you have any questions before then! |
fixes #129.
The new TCR-Epitope Binding Affinity Prediction Task can be used via:
from tdc.multi_pred import TCREpitopeBinding data = TCREpitopeBinding(name = 'weber', path = './data')
The 'weber' dataset contains information about TCR full and cdr3 sequence, as well as epitope sequence as amino acids or smiles strings.