Reference-based Sequence Alignment