1be61b371f81c9281c681fbf008f4676d487c7fd kuhn Thu Feb 25 16:11:35 2021 -0800 added some clarifying text diff --git src/hg/htdocs/FAQ/FAQlink.html src/hg/htdocs/FAQ/FAQlink.html index 2ffa470..17de948 100755 --- src/hg/htdocs/FAQ/FAQlink.html +++ src/hg/htdocs/FAQ/FAQlink.html @@ -150,30 +150,32 @@ display</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="../cgi-bin/hgTracks?db=hg38&hideTracks=1&refSeqComposite_hideKids=1&ncbiRefSeqCurated=full&ncbiRefSeqCurated_sel=1" target="_blank">https://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&hideTracks=1&refSeqComposite_hideKids=1&ncbiRefSeqCurated=full&ncbiRefSeqCurated_sel=1</a></pre> <h2>Loading data with the URL</h2> <a name="custUrl"></a> <h3>Loading Custom Track data with the URL</h3> <h6>How do I create a link to my custom track data?</h6> <p> +If you have a custom track on a web-accessible server, you can use the location of the file +to load it directly as part of a URL. You can combine the URL visibility settings with the <code>hgct_customText=</code> parameter using a track line you would otherwise put in the <a href="../cgi-bin/hgCustom">custom track input box</a>. The following example shows the <code>hgct_customText</code> parameter accepting a bigBed file URL as a custom track: </p> <pre><a href="../cgi-bin/hgTracks?db=hg38&position=chr21:34821279-34888690&hgct_customText=https://genome.ucsc.edu/goldenPath/help/examples/bigBedExample.bb" target="_blank">http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg38&position=chr21:34821279-34888690&hgct_customText=https://genome.ucsc.edu/goldenPath/help/examples/bigBedExample.bb</a></pre> <p> If you want to add more information to the Custom Track, you can do so using the <code>hgct_customText</code> parameter. Since this is a URL, you must use "%20" to encode for spaces and "%0A" for a new line character. For example, the following example shows Custom Track input pasted in the <a href="../cgi-bin/hgCustom">custom track input box</a> and the equivalent input in the URL: <pre>browser position chr21:33038946-33039092 @@ -230,31 +232,33 @@ <a name="gene"></a> You can also link directly to gene description pages from the URL. Instead of a position search, gene descriptions use the <code>hgg_gene=</code> URL parameter. The following URL connecting to 'hgGene' will open up the Genome Browser description page containing protein function, expression profile, and links to additional information for the gene TP53. </p> <p><code><a href="../cgi-bin/hgGene?db=hg19&hgg_gene=TP53" target="_blank">http://genome.ucsc.edu/cgi-bin/hgGene?db=hg19&hgg_gene=TP53</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 +constructing any links to the Genome Browser. Most significantly, it will change after +you share it. Anyone using it will see that last thing you did, not what you thought +you were sharing. Creating <a href="../goldenPath/help/hgSessionHelp.html#Create">Saved Sessions</a> is the recommended way to share Genome Browser information. </p> <a name="moreInfo"></a> <h2>Additional URL parameters</h2> <h6>Are there any more resources for URL and link parameters?</h6> <p> For more information, please see our <a href=../goldenPath/help/customTrack.html#optParams>section on URL parameters for custom tracks</a>. If you cannot find what you are looking for, please contact our active mailing list by emailing <a href="mailto:genome@soe.ucsc. edu">genome@soe.ucsc.edu</a>. All messages sent to that address are publicly archived. If your question includes sensitive data, you may send it instead to <a href="mailto:genome-www