Hi Gang,

You need to include this variable: hgS_doLoadUrl

Also, you should use the position variable (with 1-based start coord) 
instead of chrom, start and end. This should work:

http://myownserver/cgi-bin/hgTracks?hgS_doLoadUrl=submit&hgS_loadUrlName=http://myownserver/customTracks/mystored.session&position=chr1:50001-50500
 
<http://myownserver/cgi-bin/hgTracks?hgS_doLoadUrl=submit&hgS_loadUrlName=http://myownserver/customTracks/mystored.session&position=chr1:50001-50500>

Note that if this link is to be shared by multiple users, it should not 
include hgsid (the user session id).

Hopefully this information was helpful and answers your question. If you 
have further questions or require clarification feel free to contact the 
mailing list at [email protected].

Regards,

Pauline Fujita
UCSC Genome Bioinformatics Group
http://genome.ucsc.edu


On 11/23/11 8:37 AM, Wu, Gang wrote:
> Hi there,
>
> Currently, when we access a specific genomic region (e.g. chr1:50000-50500) 
> from a previously stored session, we have to click a link like 
> http://myownserver/cgi-bin/hgSession?hgS_doLoadUrl=submit&hgS_loadUrlName=http://myownserver/customTracks/mystored.session
>  , then click "Genome Browser" link, which directs the browser to a URL like:
> http://myownserver/cgi-bin/hgTracks?hgTracksConfigPage=notSet?org=Human&db=hg18&hgsid=2289
>
> I wonder if it's possible to use a direct URL like below (or something 
> similar) to access a specific region to load the stored session in the 
> background.
> http://myownserver/cgi-bin/hgTracks?hgTracksConfigPage=notSet?org=Human&db=hg18&hgsid=2289&hgS_loadUrlName=http://myownserver/customTracks/mystored.session&chrom=chr1&start=50000&end=50500
>
> It might be slow, but the functionality would significantly improve the usage 
> of genome browser.
>
> Thank you!
>
> Gang
>
> __________________________________________
> Gang Wu, Ph.D.
> Bioinformatics Research Scientist
> Department of Computational Biology
> St. Jude Children's Research Hospital
> 262 Danny Thomas Place, Memphis, TN 38105
>
>
> ________________________________
> Email Disclaimer: www.stjude.org/emaildisclaimer
> _______________________________________________
> 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