General sequence data utilities.