GFF-SORT(1)
πΈ NAME πΈ
gff-sort β bestie, it sorts a General Feature Format version 3 file π
Oh and hi, this is section 1 of the NCBI Entrez Direct User's Manual, so you know it's legit π
π SYNOPSIS π
gff-sort
That's it. That's the whole synopsis. No flags, no arguments, no drama. She just works π
π¦ DESCRIPTION π¦
Okay so here's the tea, bestie π β gff-sort reads a General Feature Format version 3 (GFF3) file straight from standard input, and prints a sorted equivalent out to standard output. Nothing gets mutated, nothing gets lost, it just gets rearranged and honestly? iconic behavior β¨
The way it decides who goes first is a whole priority ranking, and it goes a little something like this π
- accession β this one is the highest priority, and it compares case insensitively π«Ά
- feature identifier β case insensitively, and hierarchically (yes queen, hierarchy matters π )
- strand β with positive coming first β
- start position
- length β longest first, because big main character energy π
- feature key β this one is the lowest priority, and she has her own whole internal ranking, so buckle up:
geneorpseudogenego first πΈ- then
mRNA,primary_transcript, or a recombination site such asC_region - then
CDS - then
exonorintron - and literally anything else goes last π
No cap, the sort order is fully deterministic β accession first, feature key dead last. Every criterion in between is doing its lil job in that exact order π₯
π₯ SEE ALSO π₯
Go be nosy, bestie, these are all in the family π
And that's the whole vibe check, bestie π§ This page came to you courtesy of NCBI, dated 2025-05-26, and it lives in the NCBI Entrez Direct User's Manual where it was born to slay πβ¨
π¦ where this page comes from
- debian trixie: ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 Β· PD
- ubuntu questing: ncbi-entrez-direct 24.0.20250523+dfsg-1
- ubuntu resolute: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- ubuntu stonking: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms