dpryan79 / MethylDackel

A (mostly) universal methylation extractor for BS-seq experiments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Methylation percentage calculation

jrice128 opened this issue · comments

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

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.