Difference between revisions of "JBrowseDev/The CssClass Option"
From GMOD
RSCummings (Talk | contribs) m (→See also) |
(→External Links: removed broken link to featureglyphs) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | The cssClass option makes it possible to choose how a [[JBrowse]] track | + | The cssClass option makes it possible to choose how a [[JBrowse]] track will look by selecting a pre-existing template. Every built-in JBrowse track template is defined as a [[Glossary#CSS|Cascading Style Sheet]] (CSS) 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 [[JBrowseDev/The ClientConfig Option|clientConfig]] option to avoid changing genome.css). The argument to the cssClass option is the name of a class in genome.css. |
=JBrowse CSS Classes= | =JBrowse CSS Classes= | ||
Line 101: | Line 101: | ||
=See also= | =See also= | ||
− | * [[JBrowseDev | + | * [[JBrowseDev/General Usage | General Usage Notes]] |
=External Links= | =External Links= | ||
− | |||
[[Category:JBrowse]] | [[Category:JBrowse]] |
Latest revision as of 17:11, 21 June 2013
The cssClass option makes it possible to choose how a JBrowse track will look by selecting a pre-existing template. Every built-in JBrowse track template is defined as a Cascading Style Sheet (CSS) 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 class in genome.css.
JBrowse CSS Classes
As of JBrowse v1.2.1, these classes are available:
Class Name | Shows Strand Information | 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 |