Checking whether the reads aligned to specific gene have the specific exon in BAM file
1
0
Entering edit mode
4.4 years ago
dh.han • 0

Hi guys. So I did a cellranger count on my sample with my own new gene in the gtf annotation file.

And from the bam file I found some of the reads aligned to the gene according to its GX tag.

This gene however must have the specific exon sequence expressed, so I want to double check whether these aligned reads do have this specific exon sequence.

Right now I managed to use samtools to select the reads with the GX:gene tag from the bam file. How can I check whether these reads have that specific exonic sequence?

Thanks a lot! Appreciate any help.

RNA-Seq sequencing alignment samtools • 939 views
ADD COMMENT
0
Entering edit mode

By loading that file into IGV ?

ADD REPLY
0
Entering edit mode

feels like there are far too many reads to check the exon in igv

ADD REPLY
0
Entering edit mode
4.4 years ago

One option is to get the subset of bam file mapping to that region:

samtools view -b in.bam "chr:1000-100000" > in.subset.bam and view in IGV.

Other option is to get exonic counts using featureCounts.

ADD COMMENT

Login before adding your answer.

Traffic: 1759 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