How to retrieve the number of reads mapped for each chromosome in the BAM file of methylation data
I want to retrieve the number of reads mapped for each chromosome in the BAM file of methylation data. Anyone know how I can get this? Thank you in advance.
• 871 views
•
link
1 answer
You can do this-
samtools idxstats your_data.bam | cut -f 1,3
• 0 views
•
link
Log in to answer this question.