Hey Chuck,

The way to display a track data hub, as well as choosing a position and
visibilities for default tracks, is to set up the browser the way you want
and then save a session to a file.  Here are some instructions for creating
a session:

http://genome.ucsc.edu/goldenPath/help/hgSessionHelp.html#Create

If you make your session file available over the Internet, then you can
build a URL that will load that session automatically.  For you, the
location of the saved session file should probably be the same directory
that holds your hub.txt file.

The four URL variables you'll need are:
"db" which contains the name of the assembly you're using (e.g. dm3 or hg19)
"hgS_loadUrlName" whose value should be the URL to your session file
"hgS_doLoadUrl" whose value should be "submit"
"hubUrl" whose value should be the URL to your track data hub

Here's a sample URL:

*
http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&hubUrl=http://johnlab.org/xpad/Hub/UCSC.txt&hgS_loadUrlName=http://hgwdev.cse.ucsc.edu/~braney/sess1.gz&hgS_doLoadUrl=submit
*
*
*
I hope this information is useful and resolves the issue. Please contact
us again at [email protected] if you have any further questions.

Brian Raney

On Fri, Jul 13, 2012 at 11:05 PM, chuck <[email protected]> wrote:
> Hello:
>
> Making progress on filing out my trackDb.txt so that my hub tracks are
displayed in the order and format I want.
>
> But I have been trying to figure how to introduce Browser Lines into a
Hub.
>
> For example, where might one introduce "browser position
chr2R:7888000-8175000"  .
>
> Thanks for any help.
>
> Cheers,
> Chuck
>
>
> _______________________________________________
> Genome maillist  -  [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome
_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to