This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Link UCSC genome browser session with custom tracks

Stupid question:

I want to make links for specific loci with the saved settings of a sharable UCSC genome session (mySession)

That is to say I want to create a URL, once clicked will take a user to the browser but showing all the custom tracks I have saved.

This is what I have so far for linking a session to chr1:15,000,000-16,000,000

http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg18position=chr1%3A15000000-16000000&hgS_doOtherUser=submit&hgS_otherUserName=testUser&hgS_otherUserSessionName=mySession

It's not supposed to work but you get the idea of what UCSC's format is like.

I think I'm doing what the FAQ states but all my links take me to the default view (without my custom tracks) or to a different build/location

What gives?

Tusen Takk

ucsc-genome-browser

1 answer

Sorry I have solved the issue myself.

Blinded rage has impeded the easy answer. Also a bug in my code. hehe

Basically this works (I omitted & in the first post)

http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg18&position=chr1%3A15000000-16000000&hgS_doOtherUser=submit&hgS_otherUserName=testUser&hgS_otherUserSessionName=mySession

Hope this helps people in the far flung future

Log in to answer this question.