Split a sequence file into sub files based on the tags or primers used