48767d83b6b5cbba8bfa1bfada682effec74f83f dschmelt Wed May 8 14:35:15 2019 -0700 Adding defintions for URL params #23131 diff --git src/hg/htdocs/FAQ/FAQlink.html src/hg/htdocs/FAQ/FAQlink.html index e6ec771..8a3f17f 100755 --- src/hg/htdocs/FAQ/FAQlink.html +++ src/hg/htdocs/FAQ/FAQlink.html @@ -62,50 +62,54 @@ refers to the Feb. 2009 human genome release. For a list of db parameter values that correspond to UCSC assemblies, see the list of UCSC releases.
  • position - can be any search term for the genome specified, including a position range or a gene identifier. This often takes the form of position=chr1:35000-40000.
  • The following link is an example of a URL that declares assembly and position:

    http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&position=chr1:35000-40000

    Setting Track Visibility via URL

    How do I create a custom URL to control the visibility of specific tracks?

    You can control the visibility of tracks from the URL with the following parameters, -each linked by the "&" sign, similar to position parameters. For the full list, please see the -optional URL +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. Note that italic text indicates a user choice, not a working example.

    For example, you can use the following command to hide every track (hideTracks=1) and set the knownGene track to the pack visibility (knownGene=pack):

    http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&knownGene=pack

    Composite tracks have additional URL parameters that encode options to hide, select, and display subtracks.

    For example, the following URL hides all tracks (&hideTracks=1), hides a specific composite track's default subtracks (&refSeqComposite_hideKids=1), turns on one specific subtrack (&ncbiRefSeqCurated=full), and checks a box to display that subtrack (&ncbiRefSeqCurated_sel=1).

    https://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&refSeqComposite_hideKids=1&ncbiRefSeqCurated=full&ncbiRefSeqCurated_sel=1

    Loading data with the URL

    Loading Custom Track data with the URL

    How do I create a link to my custom track data?

    You can combine the URL visibility settings with the &hgct_customText= parameter using