220420c493c9dd3d509cd6fb6084b3bf756d8ef4 dschmelt Fri May 24 12:09:02 2019 -0700 Making b0b's CR changes #23528 diff --git src/hg/htdocs/goldenPath/help/customTrackText.html src/hg/htdocs/goldenPath/help/customTrackText.html index 50458bf..0b130d8 100755 --- src/hg/htdocs/goldenPath/help/customTrackText.html +++ src/hg/htdocs/goldenPath/help/customTrackText.html @@ -679,122 +679,101 @@ or without a set of coordinates. Examples of this include: position=chr22, position=chr22:15916196-31832390.
hgt.customText=URL, where URL points to the annotation file on your website.
An example of an annotation file URL is http://genome.ucsc.edu/goldenPath/help/test.bed.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.)
ignoreCookie=1 - uses default user settings like track selections, custom
-tracks, and track hubs - example link to show the default tracks and positions for hg19guidelines=on/off - activate or deactivate the blue guidelines -
+ example link to switch off blue guidelines
hgFind.matches=listOfNames - highlight features given their names -
example link to highlight two transcripts of the ABO gene<trackName>=full|dense|pack|hide - show the default tracks adding a track and
- set it to full, dense, pack or hide visibility -
- example link 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
- ct_name_####, only with the full custom track name will this feature work:
- ct_name_####=fullhgt.reset=1 - show only the default tracks -
+ example link
+ hgt.toggleRevCmplDisp=1 - show the reverse-complement -
+ example link to show the reverse-complement of the ABO genehgt.labelWidth=<number> - set the size of the left-side label area -
+ example link to increase the label area to 50 charactershideTracks=1 - hide all tracks -
example link to show no tracks at allhideTracks=1&<trackName>=full|dense|pack|hide - hide all tracks and show
other tracks -
example link to show only the Chromosome Bands track and nothing else<trackName>_hideKids=1 - hides a specific super track's individual tracks -
- example link to hide the Encode Regulation super track<trackName>_sel=1 - selects specific subtrack to be 'checked', allowing
- display - example
- link to select the checkbox for UCSC refSeq in the refSeq composite track, allowing display
- alongside default tracks
- hgt.reset=1 - show only the default tracks -
- example linkhgt.toggleRevCmplDisp=1 - show the reverse-complement -
- example link to show the reverse-complement of the ABO geneoligoMatch=pack&hgt.oligoMatch=DNASEQ - switch on the Short Match track and
- highlight a matching sequence -
- example link to highlight the TATAWAR motif in the ABO locushighlight=<DB>.<CHROM>:<START>-<END>#<COLOR>|... -
highlight one or more regions in a given color on the image. Note that the arguments have to be
URL-encoded for Internet browsers, so ":" becomes "%3A", "#"
becomes "%23" and "|" becomes "%7"C. -
example link to highlight two parts of the ABO locus in red and blue.ignoreCookie=1 - uses default user settings like track selections, custom
+ tracks, and track hubs - example link to show the default tracks and positions for hg19oligoMatch=pack&hgt.oligoMatch=DNASEQ - switch on the Short Match track and
+ highlight a matching sequence -
+ example link to highlight the TATAWAR motif in the ABO locuspix=<number> - set the width of the image in pixels -
example link to create a 300-pixel wide imagehgt.labelWidth=<number> - set the size of the left-side label area -
- example link to increase the label area to 50 characterstextSize=<number> - set the size of text font -
example link to increase the text font size to 12 pixelsguidelines=on/off - activate or deactivate the blue guidelines -
- example link to switch off blue guidelinesenableHighlightingDialog=0/1 - activate or deactivate the highlighting/zoom
- dialog - example link to default to zoom mode and switch off the highlight
- dialog<trackName>=full|dense|pack|hide - show the default tracks adding a track and
+ set it to full, dense, pack or hide visibility -
+ example link 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
+ ct_name_####, only with the full custom track name will this feature work:
+ ct_name_####=full
position=<geneSymbol>&singleSearch=knownCanonical -
- Jump directly to the location of a gene, without showing the search results -
- example link to jump directly to the PITX2 gene on hg19
- dialog<trackName>_hideKids=1 - hides a specific super track's individual tracks -
+ example link to hide the Encode Regulation super track
position=<rsID>&singleSearch=snp150 -
- Jump directly to the first search result of the specified query on the declared track -
- example link to go directly to the top rs10489494977 id hit of the snp150
- track on hg38<trackName>_sel=1 - selects specific subtrack to be 'checked', allowing
+ display - example
+ link to select the checkbox for UCSC RefSeq subtrack in the refSeq composite track, allowing
+ display alongside default tracks
+
If a login and password is required to access data loaded through a URL (e.g., via https: protocol), this information can be included in the URL using the format protocol://user:password@server.com/somepath. Only Basic Authentication is supported for HTTP. Note that passwords included in URLs are not protected. If a password contains a non-alphanumeric character, such as $, the character must be replaced by the hexadecimal representation for that character. For example, in the password mypwd$wk, the $ character should be replaced by %24, resulting in the modified password mypwd%24wk.
For integration into your own website e.g. in an html IFRAME, you can obtain the track image only, without the rest of the genome browser user interface, by replacing hgTracks in the URL with hgRenderTracks, like in this example:
http://genome.ucsc.edu/cgi-bin/hgRenderTracks?db=hg19&position=chr9%3A136130563-136150630