gff-sort(1)

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):

•

gene or pseudogene (first)

•

mRNA, primary_transcript, or a recombination site such as C_region

•

CDS

•

exon or intron

•

anything else (last)

From ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.