splicebox / PsiCLASS

Simultaneous multi-sample transcript assembler for RNA-seq data
16 stars 4 forks source link

Strategy Question for genome annotation #20

Open sanyalab opened 2 years ago

sanyalab commented 2 years ago

Hello,

This is not an issue, but a question on recommendation of strategy.

I am building transcripts for genome annotation in plants. Which of the following two strategies does PSICLASS better respond to?

1) Align reads from all samples to the genome, and then use the combined bam file to build transcripts using psiclass 2) Align reads from each sample to the genome, build transcripts using psiclass by providing the sample bam files

Thanks Abhijit

mourisl commented 2 years ago

Since different samples may have varied sequencing depth and capture different biological events, using a directly combined bam may cause some issues and lose some features. For example, one deeply sequenced sample can have a lot of alignments for one transcript, and the other alternative transcripts supported by other samples will be filtered as noise.

I think the approaches such as PsiCLASS or treating samples independently and combine later, can resolve the normalization issue and have a better opportunity to capture biological features that showed up only in a few samples.

sanyalab commented 2 years ago

Thank you @mourisl. That was very helpful and makes total sense. Since there is a probabilistic distribution of transcripts at any given condition, it is fair to expect more support for one than others at any given condition. Aligning reads from several samples in a single step will lead to a conservative estimate of transcripts perhaps losing isoforms.

Thanks Abhijit

sanyalab commented 2 years ago

Hi mourisl,

A query regarding PSICLASS

If I give the tool a splice-site file, like the one that HISAT2 generates, using the "-s" option, will PSICLASS ONLY use those splice junctions? In other words, if the bam data suggests novel or modified junctions, will the provided junction details get corrected in light of the BAM data?

Further if novel junctions are found, will that also be retained?

Thanks Abhijit

mourisl commented 2 years ago

When -s is given, PsiCLASS will ONLY use those splice junctions. More accurately, each sample will only use the intersection of its own splice junctions and the sites provided in the "-s" file. And PsiCLASS will not correct the junctions from the "-s" file and will not use novel junctions. Note that "-s" file is only for splice sites, so a novel intron utilizing two alternative trusted splice junctions can still be discovered.

The motivation for the "-s" file is that PsiCLASS utilizes a relatively simple way to infer the trusted splice junctions/sites across all the samples, which might not be good enough with the development of other approaches, such as https://github.com/splicebox/JULiP .