This function produces a sorted GFF3 file from an unsorted GFF3 file. The output file will be sorted by Chromosome, Start, End (reverse) and feature (based on the precedency in feature tree)
sort_gff3(gffFile, outFile, forceOverwrite = FALSE)
Path to the sorted GFF3 file
Path to the input GFF3 file
Path to the output GFF3 file, if not provided the output will be the input path (without extension) with the suffix sorted.gff3
If output file exists, overwrite the existing file. (default FALSE)