thanks so much, I'll have a look!
• 0 views
•
link
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!
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.
thanks so much, I'll have a look!
Log in to answer this question.