faffaf6750cf5492f3bd779a8e2d3fe4116e24d6 jnavarr5 Tue Jul 28 14:53:49 2026 -0700 Documenting the codonTable genomes.txt setting on the trackDb hub settings page and the track hub help page, with the changes page now linking to the new settings entry, refs #16550 diff --git src/hg/htdocs/goldenPath/help/trackDb/trackDbLibrary.shtml src/hg/htdocs/goldenPath/help/trackDb/trackDbLibrary.shtml index cf700903439..39585a62e0f 100644 --- src/hg/htdocs/goldenPath/help/trackDb/trackDbLibrary.shtml +++ src/hg/htdocs/goldenPath/help/trackDb/trackDbLibrary.shtml @@ -7275,30 +7275,65 @@
Example:
chromAuthority ucsc
chromSizes <url/relativePath>Defines a file to be used when displaying the sequences contained in an assembly. These are visible from the "View Sequences" link on the Gateway page, or with the "vs" keyboard shortcut when looking at the main Genome Browser image.
Example:
chromSizes thisGenome.chromSizes.txt
codonTable default=<id> <sequenceName>=<id> ...By default the Genome Browser translates codons to amino acids with the standard
+ genetic code, except for sequences named chrM or chrMT, which
+ use the vertebrate mitochondrial code. An assembly hub can assign a different
+ NCBI
+ genetic code to individual sequences with the codonTable setting in the
+ genome stanza.
The value is a space-separated list of sequenceName=id pairs, where
+ id is an NCBI translation table number (for example 1 for the standard code,
+ 2 for vertebrate mitochondrial, 13 for ascidian mitochondrial). The special name
+ default sets the code used for any sequence not listed. Sequences with no
+ assignment keep the default behavior described above. This affects amino acid display in
+ the base position track's three-frame translation, in codon-colored annotation tracks such
+ as gene predictions, and on the details pages.
Note: sequenceName must be the sequence's own name as stored in the
+ assembly's .2bit file (the same name used in chrom.sizes), for
+ example a RefSeq or GenBank accession such as NC_017929.1. This is the
+ internal name even when a chromAlias and chromAuthority cause a
+ different name (such as chrM) to be displayed. Because the special
+ chrM/chrMT mitochondrial default only applies to sequences whose
+ own name is literally chrM or chrMT, an assembly whose
+ mitochondrial sequence has an accession name needs an explicit codonTable
+ entry to translate it with a mitochondrial code.
See our assembly hub codonTable documentation for + more details.
+ +Example:
+codonTable default=1 NC_017929.1=13+
defaultPos <chr:start-end>Defines the initial view in the Genome Browser, usually highlighting a popular gene or region of interest.
Example:
defaultPos chr7:155799529-155812871
description <str>Description of the assembly version that is displayed on the Gateway page and title pages for this assembly. It also appears in the assembly pull-down menu.
Example:
description July 2011 Castor bean