Let's say that I have bam files for 3 different treatments and I would like to know the exon usage over a defined exon regions (Let's say exon.bed file). As I downloaded the bam files for a web server, I don't have replicates for each bam file (but apparently, the number of reads is high in each one). As DEXSeq requires as input a count matrix on the exon level, can I create it from my exon.bed file?.Because I don't know exactly how to create it... Otherwise, as I really want to know is the numer of exons included in the bam files, could I run:
exon = exon.bed
featureCounts -a $exon -g gene_name -o overlaps.txt treated_high*.bam treated_low*.bam untreated*.bam
Many thanks in advance!
Thank you!