split preprocess into fastq and fasta modes