qqwang-berkeley / JUM

A tool for annotation-free differential analysis of tissue-specific pre-mRNA alternative splicing patterns
MIT License
27 stars 11 forks source link

Can JUM be run on a single bam file ( only one treatment bam or only one control bam) #34

Closed itszhengan closed 3 years ago

itszhengan commented 3 years ago

Hi,

Can JUM be run on a single bam file ( only one treatment bam or only one control bam)? What if I just want to get the gene corresponding splicing event and psi value? Thank you.

lhdo commented 3 years ago

Instructions from the author for no replicate sample run is detailed here:

https://github.com/qqwang-berkeley/JUM/wiki/4.2.-Workaround-if-you-do-not-have-biological-replicates-(version-2.0.2-)

itszhengan commented 3 years ago

Instructions from the author for no replicate sample run is detailed here:

https://github.com/qqwang-berkeley/JUM/wiki/4.2.-Workaround-if-you-do-not-have-biological-replicates-(version-2.0.2-)

Thank you for your reply. But it seems that you may misunderstand it. The manual only tells what to do when missing replicate samples but not only one condition(without control). I just want to get one sample's psi for each splicing event. Could "--Condition2_fileNum_threshold" be set to 0 when we only want to get one sample's result?

lhdo commented 3 years ago

I see. It seems then that you just want the PSI values for each condition as well, which is what I also want to calculate and have asked the author (issue above yours). Running only one sample may not be currently possible, but if you could calculate PSI values for each condition (not delta PSI), it would suit your purpose.

itszhengan commented 3 years ago

I see. It seems then that you just want the PSI values for each condition as well, which is what I also want to calculate and have asked the author (issue above yours). Running only one sample may not be currently possible, but if you could calculate PSI values for each condition (not delta PSI), it would suit your purpose.

Thank you. It seems that we can only wait for author's reply.

qqwang-berkeley commented 3 years ago

Hi, Sorry for the late reply. If you just want to get the gene corresponding splicing event and psi value with one sample, one way to do it is to copy your single bam file, and re-named it as it it were a different file (copy as many as you want, for both condition 1 and condition 2 reps), and feed them to JUM, run through the original pipeline, but set pvalue to 1 in the last step. In that case you will have a full atlas of splicing events profiled from the sample bam file.

itszhengan commented 3 years ago

Hi, Sorry for the late reply. If you just want to get the gene corresponding splicing event and psi value with one sample, one way to do it is to copy your single bam file, and re-named it as it it were a different file (copy as many as you want, for both condition 1 and condition 2 reps), and feed them to JUM, run through the original pipeline, but set pvalue to 1 in the last step. In that case you will have a full atlas of splicing events profiled from the sample bam file.

Thank you so much. I'll try it.