fix a mistake about comment format
change delim definition when input is fq, fix a bug causing delim cannot be correctly found