GFF-SORT(1)

πŸ“¦ version 24.0.20250523, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

🌸 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:
    • gene or pseudogene go first 🌸
    • then mRNA, primary_transcript, or a recombination site such as C_region
    • then CDS
    • then exon or intron
    • 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