wwood / CoverM

Read coverage calculator for metagenomics
GNU General Public License v3.0
273 stars 30 forks source link

What is the formula for function "Mean" #191

Open Harper19 opened 6 months ago

Harper19 commented 6 months ago

Appreciate the development of this great tool. For the function Mean, I am a little bit confused about the formula. I would assume it is mainly based on total mapped bases/genome length. Is it correct? Or the denominator would be the covered bases only and the not covered region will not be take into calculation?

Thanks! Harper

wwood commented 6 months ago

Thanks for kind words.

It's the whole genome size, assuming you are working in genome mode.

There's an example in the readme which might help too.