|
Question:
"How can I create a custom URL to view a specific subset of
tracks in the Genome Browser?"
Response:
Each assembly in the Genome Browser will display using a default set of
tracks unless you specifically modify the track set in your URL. The
easiest way to construct your custom URL is by
logging in
to your Genome Browser account and creating a
session:
- Browse to the assembly of your choice (e.g. hg19).
- Click the "hide all" button. All tracks
should now be hidden.
- Click the "My Data" pulldown in the blue
navigation bar at the top of the screen to access Sessions.
- In the "Save Settings" section under
"Save current settings as named session:",
enter a name for your session.
- Check "allow this session to be loaded by
others" if you want others to be able to access
your session and URL.
- Click the "submit" button.
- Click the "Browser" link under "My
Sessions" to open your session in the Browser. Your session URL
should look similar to this:
http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=[User Name]&hgS_otherUserSessionName=[Session Name]
- To display the tracks of your choice, simply add the
names of the tables associated with the tracks to the end of the
session URL in the format "&[table name]=[display mode]".
For example, to add the Assembly track in full display mode, add the
table name "&gold=full" to the end of the URL:
http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=[User Name]&hgS_otherUserSessionName=[Session Name]&gold=full
If you don't know the table name for a track, in most cases you can
view it by hovering the
mouse cursor over either the gray bar to the left of the Browser's
graphical display or the track's name in the group listings below the
graphical display. In these cases the Browser will display a URL in the
bottom left corner of the window, ending with the table name in the
format "g=[table name]".
Here is an example of a URL that displays the UCSC Genes track in pack mode
and the RefSeq Genes in full mode:
http://genome.ucsc.edu/cgi-bin/hgTracks?hgS_doOtherUser=submit&hgS_otherUserName=[User Name]&hgS_otherUserSessionName=[Session Name]&knownGene=pack&refGene=full
| |