Hello, thank you for developing this useful pipeline!
I have a technical question that I would like to address you.
I noticed from the file file A5_A3_NetMHC-4.0_junctions_ORF_neoantigens.tab that samples that share the same event share also the same Transcript_TPM.
You can see it from the header of the file (selecting only columns of interest):
Sample_id Alt_Junction_id Transcript_id Transcript_TPM
pat1 chr6;41090308;41091546;+ ENST00000353205.5 3.09240654483773
pat2 chr6;41090308;41091546;+ ENST00000353205.5 3.09240654483773
pat3 chr6;41090308;41091546;+ ENST00000353205.5 3.09240654483773
pat4 chr6;41090308;41091546;+ ENST00000353205.5 3.09240654483773
pat5 chr6;41090308;41091546;+ ENST00000353205.5 3.09240654483773
While if you select the same transcript from iso_tpms.txt matrix they are different.
pat1 pat2 pat3 pat4 pat5
3.092407 3.750489 7.15175 13.89057 4.364625
This seems to rise from line 136 of lib/A5_A3/get_peptide_sequence.py where it takes only the first column of the iso_tpms.txt matrix:
tokens = line.rstrip().split("\t")
transcript = tokens[0]
tpm = tokens[1]
if (transcript not in transcript_expression):
transcript_expression[transcript] = tpm
So I tested if swapping the columns of iso_tpms.txt could change the results and it did.
For the other events this does not happen, and the code is a bit different. For example for the Exonizations it considers all the iso_tpms.txt columns:
tokens = line.rstrip().split("\t")
transcript = tokens[0]
tpm = tokens[1:]
for i in range(0,len(tpm)):
if (transcript not in transcript_expression[header[i]]):
transcript_expression[header[i]][transcript] = float(tpm[i])
Should I use this piece of code also for the A5_A3?
Thank you in advance
Hello, thank you for developing this useful pipeline!
I have a technical question that I would like to address you.
I noticed from the file file A5_A3_NetMHC-4.0_junctions_ORF_neoantigens.tab that samples that share the same event share also the same Transcript_TPM.
You can see it from the header of the file (selecting only columns of interest):
While if you select the same transcript from iso_tpms.txt matrix they are different.
This seems to rise from line 136 of
lib/A5_A3/get_peptide_sequence.pywhere it takes only the first column of the iso_tpms.txt matrix:So I tested if swapping the columns of iso_tpms.txt could change the results and it did.
For the other events this does not happen, and the code is a bit different. For example for the Exonizations it considers all the iso_tpms.txt columns:
Should I use this piece of code also for the A5_A3?
Thank you in advance