536628bf043b0a4a78a396f82206f16048df0a45 kuhn Mon Nov 22 18:50:05 2021 -0800 clarifed description of adding a track via url, per conversation with Dan diff --git src/hg/htdocs/goldenPath/help/customTrackText.html src/hg/htdocs/goldenPath/help/customTrackText.html index 9706731..47d82e8 100755 --- src/hg/htdocs/goldenPath/help/customTrackText.html +++ src/hg/htdocs/goldenPath/help/customTrackText.html @@ -776,52 +776,58 @@ - <a href="../../cgi-bin/hgTracks?db=hg19&incognito=1" target="_blank">example link</a> to show the default tracks and positions for hg19, in a new, clean session, that is completely independent from all other Genome Browser windows that the user has open or will open later. Any changes made to this window won't be saved and are lost as soon as the window is closed. Compare this behavior to the setting <code>ignoreCookie=1</code> described above. (At the moment, there is no visual indicator in such a Genome Browser window that changes are not saved, but we could add one in the future, please contact us if you think this could be useful for you.) This variable is probably useful for most websites using our tool hgRenderTracks to show only the Browser's main image from a Javascript-driven website. </li> + <li> <code>oligoMatch=pack&hgt.oligoMatch=<dnaSeq></code> - switch on the Short Match track and highlight a matching sequence - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&oligoMatch=pack&hgt.oligoMatch=TATAWAR" target="_blank">example link</a> to highlight the TATAWAR motif in the ABO locus</li> <li> <code>pix=<number></code> - set the width of the image in pixels - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&pix=300" target="_blank">example link</a> to create a 300-pixel wide image</li> <li> <code>textSize=<number></code> - set the size of text font - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&textSize=12" target="_blank">example link</a> to increase the text font size to 12 pixels</li> + <li> - <code><trackName>=full|dense|pack|hide</code> - show the default tracks adding a track and - set it to full, dense, pack or hide visibility - + <code><trackName>=full|pack|dense|hide</code> - show your current tracks, adding a track + and set it to full, pack or dense visibility or hide it, respectively - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&cytoBand=pack" - target="_blank">example link</a> to show the default or user-selected tracks and set the - Chromosome Bands track to "pack" view. Please note that for this feature to work with - custom tracks you must use their unique assigned name and identifier number - <code>ct_name_####</code>, only with the full custom track name will this feature work: - <code>ct_name_####=full</code></li> + target="_blank">example link</a> to show the + Chromosome Bands track set to "pack" and added to your view as saved in your cart. + Please note that for this feature to work with + custom tracks you must use the unique name and identifier number + <code>ct_name_####</code> assigned by our system. You can determine the name for a custom track + using the url, <a href = "https://genome.ucsc.edu/cgi-bin/cartDump"> + https://genome.ucsc.edu/cgi-bin/cartDump</a>. + + <li> <code><trackName>.heightPer=<number></code> - sets the height of the a bigWig track in pixels - <a href="../../cgi-bin/hgTracks?db=hg38&ignoreCookie=1&hideTracks=1&mappability=full&umap24Quantitative.heightPer=100" target="_blank">example link</a> to set umap bigWig track height to 100 pixels </li> <li> <code><trackName>_hideKids=1</code> - hides a specific super track's individual tracks - <a href="../../cgi-bin/hgTracks?db=hg19&wgEncodeReg_hideKids=1&ignoreCookie=1" target="_blank"> example link</a> to hide the Encode Regulation super track</li> <li> <code><trackName>_sel=1</code> - selects specific subtrack to be 'checked', allowing display - <a href="../../cgi-bin/hgTracks?db=hg38&refSeqComposite=full&refGene_sel=1" target="_blank">example link</a> to select the checkbox for UCSC RefSeq subtrack in the refSeq composite track, allowing display alongside default tracks