mosdepth
mosdepth copied to clipboard
Naive question
Thanks for developing this great tool! I have a question: would it be possible to have an option to output the global coverages not as cumulative but regular distribution (for some genomic analyses, it would make things a bit easier). Thanks!
Hi, you can get the regular distribution from the cumulative with something like:
dist[i] = cumulative[i+1] - cumulative[i]
for each depth as i
.