be21b178a0bedc251d7cbcd22d914e05d8a9cf3a lrnassar Wed Feb 19 15:01:31 2025 -0800 Expanding the section that explains to users how to load settings via file on the URL, refs #25277 diff --git src/hg/htdocs/FAQ/FAQlink.html src/hg/htdocs/FAQ/FAQlink.html index aaf55a7f2ee..48086be95a9 100755 --- src/hg/htdocs/FAQ/FAQlink.html +++ src/hg/htdocs/FAQ/FAQlink.html @@ -82,35 +82,43 @@ Here is an example:

http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=<userName>&hgS_otherUserSessionName=<sessionName>

This longer format has the flexibility of replacing "hgTracks" with different tool names to share saved settings on the Table Browser (hgTables), Variant Annotation Integrator (hgVai), or Data Integrator (hgIntegrator). This will preserve your option selections and can be useful to share. The following format will bring the recipient to a user's custom Table Browser selections:

http://genome.ucsc.edu/cgi-bin/hgTables?hgS_doOtherUser=submit&hgS_otherUserName=<userName>&hgS_otherUserSessionName=<sessionName>

Both session link formats have the advantage of being able to add URL parameters to the end. The shorter link format requires a question mark before any URL parameters, with ampersand characters separating different parameters like so:

http://genome.ucsc.edu/s/view/clinicalzoom?textSize=18

Both formats require an ampersand between each additional parameter, seen in the longer format like so:

http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=view&hgS_otherUserSessionName=clinicalzoom&textSize=18

+
Building URLs to specify settings

-Another option for sessions is to download the file and host it in an external location and load it with +Another option is to host, modify, or create your own session/settings file and then host it in an +external location. Nearly every track parameter on the genome browser can be specified in a session +file, as described on our +custom tracks page. This also allows you to circumvent URL character limits.

+

+Once the file is prepared and hosted, you can load it with the hgS_doLoadUrl=submit and -hgS_loadUrlName=<URL> allowing you to externally maintain your session, -or update it as you wish. Here is an example:

+hgS_loadUrlName=<URL> variables, this also has the added +benefit that you can +externally maintain your session, +and update it as you wish. Here is an example:

https://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doLoadUrl=submit&hgS_loadUrlName=http://genome.ucsc.edu/goldenPath/help/examples/sessions/session.hg19.stopCodons

Linking to the Browser at a specific position, or default position

How do I make a link to a specific genome, position, or HGVS variant?

You can link to a specific genome assembly and position in the Genome Browser using a URL with the db= and position= parameters.

http://genome.ucsc.edu/cgi-bin/hgTracks?db=<assembly>&position=<position>

Where: