gff-sort1
Sort a general feature format version 3 file
Usage
gff-sort
Overview
gff-sort reads a General Feature Format version 3 (GFF3) file from standard input and prints a sorted equivalent to standard output. It sorts according to the following criteria:
- •
-
accession (highest priority), case insensitively
- •
-
feature identifier, case insensitively and hierarchically
- •
-
strand (positive first)
- •
-
start position
- •
-
length (longest first)
- •
-
feature key (lowest priority):
- •
-
geneorpseudogene(first)
- •
-
mRNA,primary_transcript, or a recombination site such asC_region
- •
-
CDS
- •
-
exonorintron
- •
-
anything else (last)