Metheor: Ultrafast DNA methylation heterogeneity calculation from bisulfite read alignments
MotivationPhased DNA methylation states within bisulfite sequencing reads are valuable source of information that can be used to estimate epigenetic diversity across cells as well as epigenomic instability in individual cells. Various measures capturing the heterogeneity of DNA methylation states have been proposed for a decade. However, in routine analyses on DNA methylation, this heterogeneity is often overlooked by computing average methylation levels at CpG sites. In this study, to facilitate the application of the DNA methylation heterogeneity measures in downstream epigenomic analyses, we present a Rust-based, extremely fast and lightweight bioinformatics toolkit called Metheor. ResultsWe benchmark the performance of Metheor against existing code implementation for DNA methylation heterogeneity measures in three different scenarios of simulated bisulfite sequencing datasets. Metheor was shown to dramatically reduce the execution time up to 300-fold and memory footprint up to 60-fold, while producing the same results with the original implementation. AvailabilitySource code for Metheor is at https://github.com/dohlee/metheor and is freely available for non-commercial users. Contactsunkim.bioinfo@snu.ac.kr