GT-CDS(1)

πŸ“¦
version 1.6.6 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸŽ€ 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