5c20012735003a09af722339a7ea57f5cb827066 dschmelt Mon May 13 14:59:08 2019 -0700 Commiting minor changes for code review #23486, also adding more param lines to customTrack text #23459 diff --git src/hg/htdocs/goldenPath/help/customTrackText.html src/hg/htdocs/goldenPath/help/customTrackText.html index 922a4d9..011db3b 100755 --- src/hg/htdocs/goldenPath/help/customTrackText.html +++ src/hg/htdocs/goldenPath/help/customTrackText.html @@ -555,30 +555,31 @@ <li> <strong>itemRgb=On</strong> - If this attribute is present and is set to "On", the Genome Browser will use the RGB value shown in the <em>itemRgb</em> field in each data line of the associated BED track to determine the display color of the data on that line.</li> <li> <strong>colorByStrand=<<em>RRR,GGG,BBB RRR,GGG,BBB</em>></strong> - Sets colors for + and - strands, in that order. The colors consist of three comma-separated RGB values from 0-255 each. The default is 0,0,0 0,0,0 (both black).</li> <!-- <li> <strong>altColor=<<em>RRR,GGG,BBB</em>></strong> - Defines the secondary color for the track. The alternate color consists of three comma-separated RGB values from 0-255. The default is a lighter shade of whatever the <em>color</em> attribute is set to.</li> --> <li> + <strong>useScore=<<em>use_score</em>></strong> - If this attribute is present and is set to 1, the <em>score</em> field in each of the track's data lines will be used to determine the level of shading in which the data is displayed. The track will display in shades of gray unless the <em>color</em> attribute is set to 100,50,0 (shades of brown) or 0,60,120 (shades of blue). The default setting for <em>useScore</em> is "0". This table shows the Genome Browser's translation of BED score values into shades of gray:</p> <table cellspacing="5"> <tr><td>shade</td> <td style="background-color: #e2e2e2"> </td> <td style="background-color: #c6c6c6"> </td> <td style="background-color: #aaaaaa"> </td> <td style="background-color: #8d8d8d"> </td> <td style="background-color: #717171"> </td> <td style="background-color: #555555"> </td> @@ -679,52 +680,66 @@ or without a set of coordinates. Examples of this include: position=chr22, position=chr22:15916196-31832390.</li> <li> The URL of the annotation file on your web site. This information is of the form <code>hgt.customText=URL</code>, where <em>URL</em> points to the annotation file on your website. An example of an annotation file URL is <a href="test.bed" target="_blank">http://genome.ucsc.edu/goldenPath/help/test.bed</a>.</li> </ul> <a name="optParams"></a> <p> You can add other optional parameters to the URL: (Note: Display may vary if you have conflicting cart variables, for example having both hide all and highlight features.) <ul> <li> + <code>ignoreCookie=1</code> - uses default user settings like track selections, custom +tracks, and track hubs - <a href="../../cgi-bin/hgTracks?db=hg19&ignoreCookie=1" + target="_blank">example link</a> to show the default tracks and positions for hg19</li> + <li> <code>hgFind.matches=listOfNames</code> - highlight features given their names - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&hgFind.matches=uc010naf.1,uc011mcz.1" target="_blank">example link</a> to highlight two transcripts of the ABO gene</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 - <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> <li> <code>hideTracks=1</code> - hide all tracks - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&hideTracks=1" target="_blank">example link</a> to show no tracks at all</li> <li> <code>hideTracks=1&<trackName>=full|dense|pack|hide</code> - hide all tracks and show other tracks - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&hideTracks=1&cytoBand=pack" target="_blank">example link</a> to show only the Chromosome Bands track and nothing else</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&refGene_sel=1" target="_blank">example + link</a> to select the checkbox for UCSC refSeq in the refSeq composite track, allowing display + alongside default tracks + </li> + <li> <code>hgt.reset=1</code> - show only the default tracks - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&hgt.reset=1" target="_blank" >example link</a></li> <li> <code>hgt.toggleRevCmplDisp=1</code> - show the reverse-complement - <a href="../../cgi-bin/hgTracks?db=hg19&position=chr9%3A136130563-136150630&hgt.toggleRevCmplDisp=1" target="_blank">example link</a> to show the reverse-complement of the ABO gene</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>highlight=<DB>.<CHROM>:<START>-<END>#<COLOR>|...</code> - highlight one or more regions in a given color on the image. Note that the arguments have to be