added validation on fastq_dir and ref_genome. fixed  to be constructed from File::Spec->splitdir on the fastq_dir and file_parse on the ref_genome