now has some utility functions to process the sequences directly