Methylation percentage calculation
jrice128 opened this issue · comments
jrice128 commented
Hello Authors,
I noticed the methylation percentage in the standard output (extract.c line 49) is generated by type casting to int, which results in truncation/floor rounding. Just wondering if there was a reason this was chosen over other rounding methods.
Best,
Jeff
Devon Ryan commented
No particular reason, a 1% difference either way has no biological meaning. I guess a proper rounding would be a bit nicer though. I'll leave this open as a reminder to add that in.