Repository navigation
mosdepth fixes for issues #1566, #1568, and a bug on calculating per-contig avg coverage - #1570
Conversation
|
how large are the differences? Was a region file given to |
|
MultiQC reports 1915.3x yes, a bed file was given to |
|
I'd guess it's a difference between median and mean or something like that. Or the loss of precision from adding the .dist files. |
|
They should both be the mean, multiQC report (the per-contig average by summing all over bins of the cumulative coverage distribution) and the @VladSaveliev any reason why the per-contig coverage is calculated from the cumulative distribution and not read directly from And should we keep it as is? Or should we use the values from |
ewels
left a comment
There was a problem hiding this comment.
Reading over the code looks good, I'll just test locally and push the minor name cleaning suggestion..
|
Everything looks good here, thank you for working on this @fgvieira! Apologies that it's taken me so long to review. I'll merge now, but if you could sanity check my change / comment in #1570 (review) that would be great. Thanks! |
CHANGELOG.mdhas been updatedChanges:
@brentp this module calculates per-contig average coverage by summing over the cumulative distribution of
.mosdepth.region.dist.txt(or global). However, this value does not always match the one in.mosdepth.summary.txt. Is this expected?