title: Fast, accurate, and lightweight analysis of BS-treated reads with ERNE 2.
abstract: BACKGROUND
  Bisulfite treatment of DNA followed by sequencing (BS-seq) has become a standard technique in epigenetic studies, providing researchers with tools for generating single-base resolution maps of whole methylomes. Aligning bisulfite-treated reads, however, is a computationally difficult task: bisulfite treatment decreases the (lexical) complexity of low-methylated genomic regions, and C-to-T mismatches may reflect cytosine unmethylation rather than SNPs or sequencing errors. Further challenges arise both during and after the alignment phase: data structures used by the aligner should be fast and should fit into main memory, and the methylation-caller output should be somehow compressed, due to its significant size.
  
  
  METHODS
  As far as data structures employed to align bisulfite-treated reads are concerned, solutions proposed in the literature can be roughly grouped into two main categories: those storing pointers at each text position (e.g. hash tables, suffix trees/arrays), and those using the information-theoretic minimum number of bits (e.g. FM indexes and compressed suffix arrays). The former are fast and memory consuming. The latter are much slower and light. In this paper, we try to close this gap proposing a data structure for aligning bisulfite-treated reads which is at the same time fast, light, and very accurate. We reach this objective by combining a recent theoretical result on succinct hashing with a bisulfite-aware hash function. Furthermore, the new versions of the tools implementing our ideas|the aligner ERNE-BS5 2 and the caller ERNE-METH 2|have been extended with increased downstream compatibility (EPP/Bismark cov output formats), output compression, and support for target enrichment protocols.
  
  
  RESULTS
  Experimental results on public and simulated WGBS libraries show that our algorithmic solution is a competitive tradeoff between hash-based and BWT-based indexes, being as fast and accurate as the former, and as memory-efficient as the latter.
  
  
  CONCLUSIONS
  The new functionalities of our bisulfite aligner and caller make it a fast and memory efficient tool, useful to analyze big datasets with little computational resources, to easily process target enrichment data, and produce statistics such as protocol efficiency and coverage as a function of the distance from target regions.
authors.affiliation: Department of Mathematics and Informatics, University of Udine, via delle Scienze, Udine, 33100, Italy. prezza.nicola@spes.uniud.it.
authors.forename: Nicola
authors.initials: N
authors.lastname: Prezza
authors.affiliation: Science for Life Laboratory, Tomtebodavägen 23A, Solna, 17165, Sweden. francesco.vezzi@scilifelab.se.
authors.forename: Francesco
authors.initials: F
authors.lastname: Vezzi
authors.affiliation: Science for Life Laboratory, Tomtebodavägen 23A, Solna, 17165, Sweden. max.kaller@scilifelab.se.
authors.forename: Max
authors.initials: M
authors.lastname: Käller
authors.affiliation: Department of Mathematics and Informatics, University of Udine, via delle Scienze, Udine, 33100, Italy. policriti@dimi.uniud.it.|Institute of Applied Genomics, via J. Linussio, Udine, 33100, Italy. policriti@dimi.uniud.it.
authors.forename: Alberto
authors.initials: A
authors.lastname: Policriti
mesh_terms: D018899:CpG Islands; D004247:DNA / Q000737:chemistry*; D019175:DNA Methylation; D044962:Data Compression; D057890:Epigenomics; D015894:Genome, Human; D023281:Genomics / Q000379:methods; D059014:High-Throughput Nucleotide Sequencing; D006801:Humans; D017422:Sequence Analysis, DNA / Q000379:methods*; D012984:Software; D013447:Sulfites / Q000737:chemistry*
chemical_list: D013447:Sulfites; D004247:DNA; C042345:hydrogen sulfite