GT-CDS(1)
π GT-CDS π β a whole GenomeTools Manual page, but make it bestie-friendly π
okay so. gt-cds lives in the GenomeTools Manual, and it's the little tool that adds CDS (coding sequence) features onto the exon features you already have sitting in a GFF3 file. that's the whole vibe. no cap. β¨
β¨ NAME β¨
gt-cds β add CDS (coding sequence) features to exon features given in a GFF3 file. π§¬π
π¦ SYNOPSIS π¦
gt cds [option ...] [GFF3_file]
π DESCRIPTION π
here's the tea, bestie: you've got exon features in a GFF3_file, and this tool is gonna add CDS features to them. and there are so many knobs to twiddle. let's go one by one, no skipping, we don't do skipping here. π«Ά
-minorflen [value]β sets the minimum length an open reading frame (ORF) must have to be added as a CDS feature, measured in amino acids. default:64. π-startcodon [yes|no]β require that an ORF must begin with a start codon. default:no. (so like, by default she is NOT requiring it, just so we're clear π)-finalstopcodon [yes|no]β require that the final ORF must end with a stop codon. default:no.-seqfile [filename]β set the sequence file from which to take the sequences. default: undefined. πΈ-encseq [filename]β set the encoded sequence indexname from which to take the sequences. default: undefined.-seqfilesβ set the sequence files from which to extract the features; use--to terminate the list of sequence files. π (yes, the double dash. do not forget the double dash.)-matchdesc [yes|no]β search the sequence descriptions from the input files for the desired sequence IDs (in GFF3), reporting the first match. default:no.-matchdescstart [yes|no]β exactly match the sequence descriptions from the input files for the desired sequence IDs (in GFF3) from the beginning to the first whitespace. default:no. β¨-usedesc [yes|no]β use sequence descriptions to map the sequence IDs (in GFF3) to actual sequence entries. if a description contains a sequence range (e.g.,III:1000001..2000000), the first part is used as sequence ID (III) and the first range position as offset (1000001). default:no. π₯-regionmapping [string]β set file containing sequence-region to sequence file mapping. default: undefined. (more on this file's format down below, keep scrolling π§)-v [yes|no]β be verbose. default:no. (she talks more. iconique.)-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 -regionmapping π
the file you hand to the -regionmapping option defines a "mapping". and what does a mapping do? it maps the sequence-region entries given in the GFF3_file to a sequence file containing the corresponding sequence. simple as that, bestie. π
mappings can be defined in one of the following two forms:
mapping = {
chr1 = "hs_ref_chr1.fa.gz",
chr2 = "hs_ref_chr2.fa.gz"
}
or
function mapping(sequence_region)
return "hs_ref_"..sequence_region..".fa.gz"
end
so the first form defines a Lua (http://www.lua.org) table named mapping which maps each sequence region to the corresponding sequence file. the second one defines a Lua function mapping, which has to return the sequence file name when it is called with the sequence_region as argument. both valid, both slay. π
π REPORTING BUGS π
found a bug? don't suffer in silence, report it to https://github.com/genometools/genometools/issues. π
and that's the whole page, periodt. π«Ά this little masterpiece is GenomeTools 1.6.6, dated 11/09/2025, and honestly? she ate. β¨ππ
π¦ 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