sort_gff3: Sorts a GFF3 file

View source: R/Rgff.R

sort_gff3R Documentation

Sorts a GFF3 file

Description

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)

Usage

sort_gff3(gffFile, outFile, forceOverwrite = FALSE)

Arguments

gffFile

Path to the input GFF3 file

outFile

Path to the output GFF3 file, if not provided the output will be the input path (without extension) with the suffix sorted.gff3

forceOverwrite

If output file exists, overwrite the existing file. (default FALSE)

Value

Path to the sorted GFF3 file


Rgff documentation built on Sept. 30, 2022, 5:08 p.m.