Statistical models for the analysis of whole genome bisulfite sequencing datasets