How to retrieve the number of reads mapped for each chromosome in the BAM file of methylation data
1
0
Entering edit mode
6 months ago
sata72 • 0

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.

bam methylation mapped read • 377 views
ADD COMMENT
3
Entering edit mode
6 months ago
bk11 ★ 2.4k

You can do this-

samtools idxstats your_data.bam | cut -f 1,3
ADD COMMENT

Login before adding your answer.

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