Tools to calculate coverage of a bam file window by window
1
0
Entering edit mode
10 weeks ago

Hi there, I am looking for a tool that scans an input bam file window by window (by window I mean consecutive counting bins of constant size, e.g. 10kb) and outputs the total or average coverage in percent per window. What would be the best way to do this? I've been looking at gatk CollectReadCounts, samtools coverage and DeepTools bamcoverage. Thanks!

file coverage bam reads sequence • 268 views
ADD COMMENT
2
Entering edit mode
10 weeks ago
LChart 1.8k

mosdepth (https://github.com/brentp/mosdepth) is a fast tool to do this; and you can specify -b 10000 to run on 10kb windows, instead of (like GATK or FeatureCounts etc) needig to create and pass in a binned .bed file.

ADD COMMENT
0
Entering edit mode

thanks so much, I'll have a look!

ADD REPLY

Login before adding your answer.

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