Get read counts for reads overlapping exon-intron junction from STAR-output
1
0
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?

STAR rna-seq • 1.3k views
ADD COMMENT
1
Entering edit mode
4.7 years ago
caggtaagtat ★ 1.9k

Could you maybe use the STAR option --quantMode GeneCounts? This gives you a count matrix with read counts per gene

Edit:

sorry I read you question wrong. You can use the generated bam file from STAR und convert it back to a FASTQ e.g. with bedtools and use it for pseudomapping with salmon or kalisto.

ADD COMMENT
0
Entering edit mode

Which bam file should I use? I get to mapping files: *Aligned.out.sam and *Chimeric.out.sam

ADD REPLY
0
Entering edit mode

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:

/samtools/bin/samtools view -q 255 -b Unfiltered_file.bam > filtered_file.bam

Otherwise you get reads, which mapped to multiple loci.

ADD REPLY
0
Entering edit mode

But how do I identify only the reads overlapping a splice junction from the sam file?

ADD REPLY
0
Entering edit mode

STAR outputs only gapped reads

ADD REPLY

Login before adding your answer.

Traffic: 1524 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6