7f4c9f08fb12830d1c0b16ef96a21b38ae680cd7 jnavarr5 Mon May 20 17:20:18 2024 -0700 Making changes from Lou's code review, refs #33716 diff --git src/hg/htdocs/goldenPath/help/customTrackText.html src/hg/htdocs/goldenPath/help/customTrackText.html index 740b0a0..4e2f266 100755 --- src/hg/htdocs/goldenPath/help/customTrackText.html +++ src/hg/htdocs/goldenPath/help/customTrackText.html @@ -1,29 +1,29 @@
The Genome Browser provides dozens of aligned annotation tracks that have been computed at UCSC or have been provided by outside collaborators. In addition to these standard tracks, it is also possible for users to upload their own annotation data for temporary display in the browser. These custom annotation tracks are viewable only on the machine from which they were uploaded and are automatically discarded 48 hours after the last time they are accessed, unless they are saved in a Session. Optionally, users can make custom annotations viewable by others as well. For a more stable option for custom annotations, we suggest using track hubs. A third, more -technical, option is to operate a mirror. Custom tracks work well for quickly displaying data, while +technical option, is to operate a mirror. Custom tracks work well for quickly displaying data, while track hubs are more configurable and permanent.
Custom tracks are a wonderful tool for research scientists using the Genome Browser. Because space is limited in the Genome Browser track window, many excellent genome-wide tracks cannot be included in the standard set of tracks packaged with the browser. Other tracks of interest may be excluded from distribution because the annotation track data is too specific to be of general interest or can't be shared until journal publication. In the past, many individuals and labs contributed custom tracks to the Genome Browser website for use by others. For historical purposes, a list of these custom annotation tracks is available.
Track hubs are now the preferred approach for viewing and sharing data on the Browser. Labs, consortia, and institutions submit their hubs to be listed as a Public Hub. Track hubs require remotely hosted data. They use binary index @@ -41,32 +41,31 @@
To construct an annotation file and display it in the Genome Browser, follow these steps:
Step 1. Format the data set
Format your data as a tab-separated file using one of the
formats supported by the Genome
-Browser. Chromosome references must be of the form chrN (the parsing of chromosome names
-is case-sensitive). You may include more than one data set in your
+Browser. You may include more than one data set in your
annotation file; these need not be in the same format. Annotation data can be in a format designed
specifically for the Human Genome Project or UCSC Genome Browser, including:
Note that composite track subtracks are not valid track_primary_table_name values. To find the symbolic name of a composite track, look in the tableName field in the trackDb table, or mouse over the track name in the track control section. It is not possible to display only a subset of the subtracks at this time.
Definition: <track_primary_table_name(s)>. You can find the primary -table name by clicking "View Table Schema" from the track's description page, or from the -Table Browser. It will be listed as the Primary Table. Alternatively, you can mouse-over the track -label in the Browser and look at the URL the link points to. The part after the g= in the URL is the -track's primary table name (e.g., for UCSC Genes you will see g=knownGene in the URL. The track -primary table is knownGene).
+table name by clicking "Data format description" from the track's description page, or +from the Table Browser. It will be listed as the Primary Table. Alternatively, you can mouse-over +the track label in the Browser and look at the URL the link points to. The part after the g= in the +URL is the track's primary table name (e.g., for UCSC Genes you will see g=knownGene in the URL. +The track primary table is knownGene).genome=<databaseName>
, which acts in the same manner as
the db parameter. Here is an example using the house mouse (Mus musculus, 129S1_SvImJ)
assembly hub:
http://genome.ucsc.edu/cgi-bin/hgTracks?genome=129S1_SvImJ&hubUrl=http://hgdownload.soe.ucsc.edu/hubs/mouseStrains/hub.txtposition=<chrPosition>
, where chrPosition is a chromosome number, with
or without a set of coordinates. Examples of this include: position=chr22,
position=chr22:15916196-31832390.hgt.customText=<url>
or hgct_customText=<url>
,
+ The URL of the annotation file on your web-accessible location. This information is of the
+ form hgt.customText=<url>
or hgct_customText=<url>
,
where url points to the annotation file on your website.
An example of an annotation file URL is http://genome.ucsc.edu/goldenPath/help/test.bed.Combine the above pieces of information into a URL of the following format (the information specific to your annotation file is highlighted):
http://genome.ucsc.edu/cgi-bin/hgTracks?org=<organismName>&position=<chrPosition>&hgt.customText=<url>
Step 3. Provide the URL to others
If you created a session, that stable link can be freely shared.
Otherwise, to upload a custom annotation track from a URL into the Genome Browser, paste the URL into the large