da9bfb0be4cf7ad610abb4f1e8d082b286ec759b dschmelt Fri May 3 16:19:25 2019 -0700 Fixed typos #21313 diff --git src/hg/htdocs/FAQ/FAQlink.html src/hg/htdocs/FAQ/FAQlink.html index 7f4bfaa..0943684 100755 --- src/hg/htdocs/FAQ/FAQlink.html +++ src/hg/htdocs/FAQ/FAQlink.html @@ -20,56 +20,56 @@ </ul> <a name="link1"></a> <h2>Creating a sharable URL to view specific tracks</h2> <h6>How do I create a link to the Genome Browser to share my data?</h6> <p> The easiest way to save and share tracks from the URL is by <a href="../cgi-bin/hgLogin" TARGET="_blank">logging in</a> to your Genome Browser account and creating a <a href="../goldenPath/help/hgSessionHelp.html">saved session</a>. Saved sessions are a versatile way to share data that may include native data, Custom Tracks, and Track Hubs.</p> <p> You will be able to save and share Genome Browser sessions with the following format: <p><code>http://genome.ucsc.edu/s/<em>userName</em>/<em>sessionName</em></code></p></p> <p> -Or if you prefer the a modifiable, longer URL; use this format:</p> +Or if you prefer a modifiable, longer URL; use this format:</p> <p><code>http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=[<em>UserName</em>]&hgS_otherUserSessionName=[<em>SessionName</em>]</code></p> <p> For instructions on creating a saved session, go to the <a href="../goldenPath/help/hgSessionHelp.html#Create">Saved Session Help page</a>.</p> <p> If you want to specify track settings in a URL directly, please read the section on <a href"#trackViz">changing track visibility via URL</a> for a complete description. Note that these URL parameters do not work with the shorter session URLs. <a name="link2"></a> <h2>Linking to the Browser at a specific position</h2> <h6>How do I make a link to a specific genome or position?</h6> <p> You can link to a specific genome assembly and position in the Genome Browser using a URL with the <code>db=</code> and <code>position=</code> parameters:</p> <p><code>http://genome.ucsc.edu/cgi-bin/hgTracks?db=[<em>db</em>]&position=[<em>position</em>]</code></p> <p> Where:</p> <ul> <li> <code>db</code> - designates a specific genome assembly. For example, <code>db=hg19</code> refers to the Feb. 2009 human genome release. For a list of db parameter values that correspond to UCSC assemblies, see the <a href="FAQreleases.html#release1">list of UCSC releases</a>.</li> - <li><code>position</code> - can be any seach term for the genome specified, including + <li><code>position</code> - can be any search term for the genome specified, including a position range or a gene identifier. This often takes the form of <code>position=chr1:35000-40000</code>.</li> </ul> <p>The following link is an example of a URL that declares assembly and position:</p> <p><code><a href=../cgi-bin/hgTracks?db=hg19&position=chr1:35000-40000>http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&position=chr1:35000-40000</a></code></p> <a name="hgsid"></a> <h2>The <em>hgsid</em> parameter</h2> <h6>What is the hgsid parameter and should I include it in Genome Browser links?</h6> <p>The hgsid is a temporary user ID that stores setting and custom track information in the URL. Including it in any shared URLs is a privacy concern, and it should be removed when constructing any links to the Genome Browser. Creating <a href="../goldenPath/help/hgSessionHelp.html#Create">Saved Sessions</a> is the recommended way to share Genome Browser information. </p> @@ -79,31 +79,31 @@ <h2>Setting Track Visibitlies via URL</h2> <h6>How do I create a custom URL to control the visibility of specific tracks?</h6> <p> You can control the visibility of tracks from the URL with the following parameters, each linked by the "&" sign, similar to position commands. For the full list, please see the <a href="../../goldenPath/help/customTrack.html#optParams" target ="_blank">optional URL parameters</a> section of the Custom Tracks User's Guide. Note that <em>italic text</em> indicates a user choice, not a working example.</p> <ul> <li>hideTracks=1</li> <li><em>trackName</em>=hide|dense|pack|full</li> <li>textSize=<em>number</em></li> </ul> <p> For example, you can use the following command to hide every track and set the knownGene track to -the pack visibiblity:</p> +the pack visibility:</p> <p><code><a href=../cgi-bin/hgTracks?db=hg38&hideTracks=1&knownGene=pack>http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&knownGene=pack</a></code></p> <p>Composite tracks have additional URL parameters that encode options to hide, select, and display subtracks.</p> <ul> <li><em>trackName</em>_hideKids=1</li> <li><em>trackName</em>_sel=1</li> <li>ignoreCookie=1</li> </ul> <p>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). <pre><a href="https://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&refSeqComposite_hideKids=1&ncbiRefSeqCurated=full&ncbiRefSeqCurated_sel=1">https://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&refSeqComposite_hideKids=1&ncbiRefSeqCurated=full&ncbiRefSeqCurated_sel=1</a></pre>