DNA modification generates unique electric signals in Oxford Nanopore sequencing data but the signals can be complicated to decipher. Here, the authors develop a deep learning framework, DeepMod, to detect DNA base modifications including 5mC and 6mA using Nanopore sequencing data