9ab80f9387e6e46cb1a19f85b3b696e915d8a62f kuhn Sun May 17 18:09:44 2020 -0700 made zoomVariant link in index work by adding hashtag, fixed a typo, changed header of HGVS section to better match the index. adding new anchor tag, genes, for linking to gene names that is more descriptive, leaving the original link3 in place in case anyone outside links to it (we do not). weirdly, there is already an anchor in the doc called gene that is not used anywhere I can find diff --git src/hg/htdocs/FAQ/FAQlink.html src/hg/htdocs/FAQ/FAQlink.html index d800a4d..337296d 100755 --- src/hg/htdocs/FAQ/FAQlink.html +++ src/hg/htdocs/FAQ/FAQlink.html @@ -1,34 +1,34 @@

Frequently Asked Questions: Linking to the Genome Browser

Topics

Creating a sharable URL to view specific tracks

How do I create a link to the Genome Browser to share my data?

The easiest way to save and share tracks from the URL is by logging in to your Genome Browser account and creating a saved session. Saved sessions are a versatile way to share data that may include native annotations, Custom Tracks, Track Hubs, and Assembly Hubs. In these examples, text in brackets "<" and ">" indicate places where the user supplies information. Note that the brackets are not needed for the URL, including the brackets will result in a 'Could not find session' error.

@@ -71,31 +71,31 @@

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

-

Zooming in or out with a link

+

Zooming in or out with a link — HGVS

How do I zoom out using a link to a HGVS identifier?

To link to a specific HGVS identifier, you can construct a link with the HGVS identifier in the position field instead of coordinates. The default padding is 5bp on either side, but you can always zoom in or out with hgt.out1=submit or hgt.in1=submit. The numbers 1 through 4 zoom in or out corresponding to the buttons above the track window. The following lists the zoom levels of each number, applicable to zooming in or out:

The following link is an example which leads to the variant NM_00257:c.1208G>T and zooms @@ -193,30 +193,31 @@

To link to an assembly hub and display data on a non-natively supported genome, the same parameters apply. To specify the intended genome assembly, instead of using db=, you must use genome=araTha1, where araTha1 is the assembly name set by your genomes.txt file in the line genome araTha1.

https://genome.ucsc.edu/cgi-bin/hgTracks?genome=araTha1&hubUrl=http://genome.ucsc.edu/goldenPath/help/examples/hubExamples/hubAssembly/plantAraTha1/hub.txt

To see the files behind that assembly hub, please visit the hub's directory. For more information on assembly hubs in general, please see the assembly hub wiki, the track hub user guide, or the quick start guide to assembly hubs. +

Linking to gene-specific information

How do I link to a specific gene or specific gene description page?

To jump directly to a gene's position on the Genome Browser, set the position parameter in the URL to a gene symbol (e.g., TP53, MTOR, KRAS) and add the parameter singleSearch=knownCanonical. For example, the following link will open the Genome Browser for the hg19 human assembly at the position of TP53 on the knownCanonical dataset

http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&singleSearch=knownCanonical&position=TP53

You can also link directly to gene description pages from the URL. Instead of a position search, gene descriptions use the hgg_gene= URL parameter. The following URL connecting to 'hgGene' will open up the Genome Browser description page containing protein function,