Algorithms for Next-Generation Sequencing Data