Exon/junctions count

88 views
Skip to first unread message

Song Rhondda

unread,
Oct 5, 2022, 5:57:33 PM10/5/22
to rna-star
Hi, 

I'm trying to get the count number of exon and junction reads per gene, not just the overall count number per gene. For example, in the gtf annotation file, every gene_id includes more than 1 exon_id. Can we just count the number of exon group by gene_id and exon_id?  by using --quantMode GeneCounts, it only counts per gene. I want to have count per exon. Any suggestions? and is there is a way to count junctions per gene?

thanks for your help.

Alexander Dobin

unread,
Oct 13, 2022, 2:42:51 PM10/13/22
to rna-star
Hi,

counting reads per exons is not trivial.
Typically, exons belong to many overlapping transcripts, so the same exon repeats multiple times in the GTF file.
Also, you need to deal with the overlapping exons.
If you can create a set of non-overlapping "super-exons", you can do the counting on them instead of genes.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages