e45b31facc4d22170d23baa9016bfb82de3c55c1 brianlee Fri Jan 24 13:01:44 2020 -0800 Revising superTrack visibility explanations requested by Max refs #24746 diff --git src/hg/htdocs/goldenPath/help/hubQuickStartGroups.html src/hg/htdocs/goldenPath/help/hubQuickStartGroups.html index 20918e8..f477e68 100755 --- src/hg/htdocs/goldenPath/help/hubQuickStartGroups.html +++ src/hg/htdocs/goldenPath/help/hubQuickStartGroups.html @@ -53,31 +53,31 @@
Now that you have the hub copied from above, start to edit some of the trackDb.txt settings to
understand how they work. Read more about trackDb settings in the definition document. Note that the Browser waits 5
minutes before checking for any changes to these files. When editing hub.txt, genomes.txt,
trackDb.txt, and related hub files shorten this delay by adding udcTimeout=1
to your
URL. For more information, please see the Debugging and Updating Track Hubs section of the Track Hub User Guide. For more detailed instructions on setting up a hub, please
see the Setting Up Your Own Track Hub
section of the Track Hub User Guide.
compositeTrack on
line defines the parent track that will be later
referenced as parent uniqueCompositeTrackName off
in each subtrack's
stanza. Either "on" or "off" can be used to set a subtrack to be displayed or not
displayed by default. Composite tracks can be broken apart further to group very similar tracks with
the trackDb use of subGroups and
views, not demonstrated here. Read
all about composite
tracks here. See an
example trackDb.txt.
-
+
track uniqueSuperTrackName
superTrack on show
...
track uniqueNameWithoutSpaces
parent uniqueSuperTrackName
...
track newUniqueNameWithoutSpaces
parent uniqueSuperTrackName
...
track uniqueCompositeTrackNameInSuperTrack
compositeTrack on
parent uniqueSuperTrackName
...
track uniqueNameWithoutSpaces
parent uniqueCompositeTrackNameInSuperTrack on
...
track newUniqueNameWithoutSpaces
parent uniqueCompositeTrackNameInSuperTrack off
-A super-track groups together different types of tracks - typically composites - in
-a high level folder. Use a super-track if you need a second layer of hierarchy after composites.
+A supertrack groups together different types of tracks - typically composites - in
+a high level folder. Use a supertrack if you need a second layer of hierarchy after composites.
For example, you could have a composite with RNA-seq results and a composite with ChIP-Seq results grouped
-together into a super-track describing a cell line.
-Super-tracks contain composite tracks or container multiWigs, but not vice
+together into a supertrack describing a cell line.
+Supertracks contain composite tracks or container multiWigs, but not vice
versa. The superTrack on show
line allows for this track to be later
referenced as parent uniqueSuperTrackName
in each of the children
subtracks (note how it is only required for direct children, and not for subtracks contained in a
-composite inside the super-track). The "show" is optional and sets the super-track to
-display by default. Read all about
-super-tracks here. See an
+composite inside the supertrack -more below). The "show" is optional and sets the supertrack to
+display by default. It may help to think of the original declaring supertrack stanza as a light switch
+that by default is off, and can be flipped on by adding show.
+All tracks that claim membership to the supertrack can then set their
+own visibilities in lower stanzas by declaring settings such as by having
+the parent line and a separate visibility dense
line.
+If no visibility setting is defined for a track,
+the default setting of hide is assigned. This can cause confusion if one
+mistakenly tries to set visibilities only at the top parent supertack stanza and
+leaves out visibility declarations for all children.
Also do not confuse the parent line with how it is used in composites. For example,
+in supertracks DO NOT try something like ,
+where the parent uniqueSuperTrackName [off/on]
[off/on]
will only work with composite tracks.
+In the above nested example you do see track uniqueNameWithoutSpaces
with a
+setting line specific only to the fact it is a child of a composite,
+parent uniqueCompositeTrackNameInSuperTrack on
. The parent
+of the child composite track is in turn is a child to a supertrack declared by
+parent uniqueSuperTrackName
.
+Read all about
+supertracks here. See an
example trackDb.txt.