837fb9fdc2e3db16abf0c91e3382acc7e3b84191 gperez2 Thu Mar 28 12:39:08 2024 -0700 Added optional URL parameters from customTrack.html#SHARE, updated them for hg38, and added them to FAQlink.html#trackViz, refs #30575 diff --git src/hg/htdocs/FAQ/FAQlink.html src/hg/htdocs/FAQ/FAQlink.html index cf7d2fe..aaf55a7 100755 --- src/hg/htdocs/FAQ/FAQlink.html +++ src/hg/htdocs/FAQ/FAQlink.html @@ -150,43 +150,130 @@
hgt.out3=submit
zooms out 10xhgt.out4=submit
zooms out 100xThe following link is an example which leads to the variant NM_00257:c.1208G>T and zooms out 3x:
http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&position=NM_000257:c.1208G>T&hgt.out2=submit
You can control the visibility of tracks from the URL with the following parameters, -each linked by the "&" sign, similar to position parameters. For more information, please see -the optional URL -parameters section of the Custom Tracks User's Guide.
+each linked by the "&" sign:hideTracks=1
- hides all tracks<trackName>=hide|dense|pack|full
- sets specified track or subtrack to a
-chosen visibilitytextSize=<number>
- sets browser text size to either 6, 8, 10, 12, 14, 18,
-24, or 34. Default is a textSize of 12.<trackName>.heightPer=<###>
- sets a bigWig track's height to a
-particular number of pixels (between 20-100)ignoreCookie=1
- removes pre-existing user settings like track selection, custom
-tracks, and track hubsguidelines=on/off
- activate or deactivate the blue guidelines -
+ example link to switch off blue guidelineshgFind.matches=<listOfNames>
- highlight features given their names -
+ example link to highlight two transcripts of the ABO genehgt.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 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 elsehighlight=<db>.<chrom>:<chromStart>-<chromEnd>#<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
- do not load the user's existing settings saved
+ in the internet browser's UCSC Genome Browser cookie. This means that the link will show the
+ Genome Browser default
+ settings such as track selections, custom tracks, and track hubs. Any changes
+ you make in this new session will, however, affect the user's settings. E.g.,
+ if you add a track in this new window, and come back to the genome browser
+ later, the track will still be there. This setting is useful if a website
+ wants to link to the Genome Browser, starting with a "clean slate" but
+ believes the user will come back to the Genome Browser expecting the
+ changes to still be there. ruler=hide
- hide the ruler at the top of the browser image -
+ example link to hide the ruleroligoMatch=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 imagetextSize=<number>
- sets browser text size to either 6, 8, 10, 12, 14, 18, 24,
+ or 34. Default is a textSize of 12. -
+ example link to increase the text font size to 18 pixels<trackName>=full|pack|dense|hide
- sets specified track or subtrack to a
+ chosen visibility: full, pack, dense, or hide track -
+ example link 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
+ ct_name_####
assigned by our system. You can determine the name for a custom track
+ using the url,
+ https://genome.ucsc.edu/cgi-bin/cartDump.
+ <trackName>_imgOrd=<number>
- vertically orders the tracks on the image
+ based on the numbers provided. You need to specify an order for every visible track when using this
+ parameter -
+ example link to show two show knownGene track being listed second with gtex first<trackName>.heightPer=<number>
- sets a bigWig track's height to a
+ particular number of pixels (between 20-100) -
+ example link to set umap bigWig track height to 100 pixels
+ <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 subtrack in the refSeq composite track, allowing
+ display alongside default tracks
+ For example, you can use the following command to hide every track (hideTracks=1), set the genome database to hg38 (db=hg38), set the mappability track to full visibility (mappability=full), and set the umap track height to 100 pixels (umap24Quantitative.heightPer=100). Each of these parameters can be used individually or in combination.
Composite tracks have additional URL parameters that encode options to hide, select, and display subtracks.
<trackName>_hideKids=1
- hides a specific composite track's subtracks<trackName>_sel=1
- selects specific subtrack to be 'checked', allowing