Algorithms and Data Structures for Sequence Analysis in the Pan-Genomic Era