GT-GFF3(1)
π¦ GT-GFF3 β the gff3 page, bestie edition β¨
okay so you wanna parse GFF3 files, maybe glow them up a lil, and spit them back out? that's gt-gff3, and she's a whole vibe. it's the gt gff3 tool from the GenomeTools manual, and i'm gonna walk you through every single flag like we're gossiping at lunch. no cap. π
πΈ SYNOPSIS πΈ
gt gff3 [option ...] [GFF3_file ...]
that's it. that's the whole summoning ritual. feed her options, feed her GFF3 files, she does her thing. π
β¨ DESCRIPTION β¨
every option, in order, nothing skipped, because we do NOT gatekeep here. π«Ά
-sort [yes|no]β sort the GFF3 features. heads up bestie, memory consumption is proportional to the input file size(s), so like, don't do this on a giant file and then act surprised. (default:no)-sortlines [yes|no]β sort the GFF3 features on a strict line basis. note: this is not sorted as defined by GenomeTools, it's just raw line vibes. (default:no)-sortnum [yes|no]β enable natural numeric sorting for sequence regions. also not sorted as defined by GenomeTools. (default:no)-tidy [yes|no]β try to tidy the GFF3 files up during parsing. lil cleanup moment. (default:no)-retainids [yes|no]β when available, use the original IDs provided in the source file. memory consumption is proportional to the input file size(s) again, so keep that in mind. (default:no)-checkids [yes|no]β make sure the ID attributes are unique within the scope of each GFF3_file, as required by the GFF3 specification. memory consumption is proportional to the input file size(s). and here's the tea: if features with the same Parent attribute are not separated by a#line, the GFF3 parser tries to treat them as a multi-line feature. this requires at least matching sequence IDs and types. (default:no)-addids [yes|no]β add missing##sequence-regionlines automatically. she's helpful like that. (default:yes)-fixregionboundaries [yes|no]β automatically adjust##sequence-regionlines to contain all their features. memory consumption is proportional to the input file size(s). (default:no)-addintrons [yes|no]β add intron features between existing exon features. cute lil filler features. (default:no)-offset [value]β transform all features by the given offset.-offsetfile [filename]β transform all features by the offsets given in file. (default:undefined)-setsource [string]β set the source value (2nd column) of each feature. (default:undefined)-typecheck [string]β use an ontology given in an OBO file to validate parent-child relationships. if no argument is given, thesofa.obofile from thegtdata/obo_filesdirectory is used. if an argument is given, it is used as an OBO filename. in the case that such a file does not exist,.obois added to the argument and loading the resulting filename from thegtdata/obo_filesdirectory is attempted. (default:undefined)-xrfcheck [string]β check Dbxref and Ontology_term attributes for correct syntax according to a abbreviation definition file. if no argument is given, theGO.xrf_abbsfile from thegtdata/xrf_abbrdirectory is used. if an argument is given, it is used as an specific filename for an abbreviation file. in the case that such a file does not exist,.xrf_abbris added to the argument and loading the resulting filename from thegtdata/xrf_abbrdirectory is attempted. (default:undefined)-show [yes|no]β show GFF3 output. (default:yes)-v [yes|no]β be verbose. spill the tea, girl. (default:no)-width [value]β set output width for FASTA sequence printing (0disables formatting). (default:0)-o [filename]β redirect output to specified file. (default:undefined)-gzip [yes|no]β write gzip compressed output file. (default:no)-bzip2 [yes|no]β write bzip2 compressed output file. (default:no)-force [yes|no]β force writing to output file. (default:no)-helpβ display help and exit.-versionβ display version information and exit.
π File format for option -offsetfile π
okay this one needs its own lil moment because it's giving very specific. π
the file supplied to option -offsetfile defines a mapping table named βoffsetsβ. it maps the sequence-region entries given in the GFF3_file to offsets. it can be defined as follows:
offsets = {
chr1 = 1000,
chr2 = 500
}
when this example is used, all features with seqid βchr1β will be offset by 1000 and all features with seqid βchr2β by 500. periodt. π
β οΈ and listen: if -offsetfile is used, offsets for all sequence-regions contained in the given GFF3 files must be defined. no skipping, bestie, she will notice. π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the devs. report bugs to https://github.com/genometools/genometools/issues. they wanna hear from you, fr fr. π₯
okay that's the whole page, you're officially a gt gff3 girlie now. this was the GenomeTools manual, version 1.6.6, dated 11/09/2025 β go forth and parse, you absolute icon. πππ
π¦ where this page comes from
- ubuntu resolute: genometools 1.6.6+ds-2
- ubuntu stonking: genometools 1.6.6+ds-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms