sort_gff | R Documentation |
This function produces a sorted GFF file from an unsorted GFF file. The default order is by Chromosome, Start, End (reverse) and feature (based on the precedency in feature tree)
sort_gff( inFile, outFile, fileType = c("AUTO", "GFF3", "GTF"), forceOverwrite = FALSE )
inFile |
Path to the input GFF file |
outFile |
Path to the output sorted file, if not provided the output will be the input path (without extension) with the suffix sorted.gtf/gff3 |
fileType |
Version of the input file (GTF/GFF3). Default AUTO: determined from the file name. |
forceOverwrite |
If output file exists, overwrite the existing file. (default FALSE) |
Path to the sorted feature file
test_gff3<-system.file("extdata", "eden.gff3", package="Rgff") sort_gff(test_gff3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.