Entering edit mode
4.7 years ago
Palgrave
▴
130
Hi, I am looking for a method to get counts per gene for the spliced read output from the *.tab files from STAR. Is there a way to do this directly in STAR?
Which bam file should I use? I get to mapping files: *Aligned.out.sam and *Chimeric.out.sam
You would use the Aligned.out.sam file. But you have to select uniquely mapped reads first from it. That could look something like this with samtools:
Otherwise you get reads, which mapped to multiple loci.
But how do I identify only the reads overlapping a splice junction from the sam file?
STAR outputs only gapped reads