JBrowseDev/The CssClass Option

From GMOD
Revision as of 18:54, 22 July 2011 by RSCummings (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The cssClass option makes it possible to choose how a JBrowse track looks by selecting a pre-existing template. Every built-in JBrowse track template is defined as a class in the file 'genome.css'. This file can be edited as a regular text file, and classes can be added, changed, or removed (although direct editing is not necessary; it is possible to use the ClientConfig option to avoid changing genome.css). The argument to the cssClass option is the name of a genome.css class.

JBrowse CSS Classes

As of JBrowse v1.2.1, these classes are available:

Class Name Directional? Other Details
basic No Useful when it is desirable for the track appearance to be defined entirely by clientConfig.
cds0 Yes
cds1 Yes
cds2 Yes
dblhelix No A black double helix outline is superimposed over the light red background.
est No
exon No
feature Yes
feature2 Yes
feature3 Yes
feature4 Yes Pacman design.
feature5 Yes
generic_parent No
generic_part_a No
helix No A single black coil outline is superimposed over a faint green background.
transcript No
transcript-CDS No
transcript-exon No
transcript-five_prime_UTR No Identical to transcript-exon.
transcript-three_prime_UTR No Identical to transcript-exon.
transcript-UTR No Identical to transcript-exon.
triangle No

See also