A Motif Discovery and Analysis Pipeline for Heterogeneous Next-Generation Sequencing Data