Split a FASTQ or FASTA file into sub files based on the primers used.