Entering edit mode
8.3 years ago
ag1194
•
0
Hi,
Hi I have a mapped sequencing data in sam format (RNA). I want to calculate number of reads are on one region (let's say exon 10), then number of gene are on another region (lets say exon 11), then compare these two read number for each gene.
So basically I have a table who contains two region for each gene, and I want to calculate reads on each region to compare.
Is there any tool I can do such calculation?
Thanks a lot!
-A
Hi,
You can use HTseq count tool for getting the number of reads assigned to genes or exons.
Refer this link (http://www-huber.embl.de/HTSeq/doc/overview.html)
I want to check the reads falls into specific region though. Not a defined exon.
bedtools coverage with a -d option should report that
great, let me check. Thanks!
Goutham's answer seems most appropriate. Bedtools will give the depth and not the number of reads. I commented too soon.
If your comfortable with python pysam will let you do this pretty eaily