Hello again Inbal, A bit more (better) info: https://lists.soe.ucsc.edu/pipermail/genome/2006-December/012317.html
This describes a specific variable to include in a custom track loading URL that will clear all previously loaded custom tracks. A more elegant solution than the "cart reset" which would reset everything to defaults (tracks, position, etc). Jennifer Inbal Paz wrote: > Hello Galt and Jennifer, > > Thanks for your quick reply. > I'm not sure your suggestions solve the problem so I'll try to describe it > clearer and attach an example. > I'm writing a web server and want to display the results in the genome > browser. I construct a web page with links to the URLs - each URL should > display tracks of a different sequence (see the attached html file). > I want that the user will open the link and get the correct display in the > genome browser without having to delete former tracks or load files > manually. > The problem I encountered is that once I load custom tracks to the genome > browser via the URL construction machinery, the tracks are saved and when I > load another URL, the previous tracks I've loaded are added. How can I > automatically "clean" the genome browser after each URL loading? > Should I use the "sessions" feature and create a different session for each > sequence? Is there a way to create a session automatically (by providing a > file)? > > Thanks, > Inbal > > -----Original Message----- > From: Galt Barber [mailto:[email protected]] > Sent: Monday, June 22, 2009 11:25 PM > To: [email protected] > Cc: 'yael mandel-gutfreund'; Inbal Paz > Subject: Re: [Genome] Questions about custom tracks > > > I would like to add that there is another possibility > that might be useful to you. > > Make a file that just contains the URLs of the tracks > that you want, one line per URL. > > Then feed the URL of this list file to the customTracks > machinery. > > It will work recursively > (a little bit like an include file does in C), > bringing in each of the other URLs. > > -Galt > > > On Mon, 22 Jun 2009, Jennifer Jackson wrote: > > >> Hello Inbal, >> >> For best results, load each separately using the Custom track >> page/tools. Loading using a URL is an option. >> http://genome.ucsc.edu/goldenPath/help/hgTracksHelp.html#CustomTracks >> >> For organizing/retaining track settings, use the Sessions feature. >> http://genome.ucsc.edu/goldenPath/help/hgTracksHelp.html#Sessions >> >> Try these methods and let us know if you continue to experience problems, >> Jennifer Jackson >> UCSC Genome Bioinformatics Group >> >> >> Inbal Paz wrote: >> >>> Hi, >>> >>> I encountered a problem when loading a custom track by constructing a URL >>> (for example: >>> >>> > http://genome.ucsc.edu/cgi-bin/hgTracks?org=human&position=chr3&hgt.customTe > > xt=http://sfmap.technion.ac.il/1245062002/chr3:71184417-71184564:-/bedgraph. > >>> txt). The problem occurs when I try to load more than one URL to the same >>> browser (each URL contains different track), on by one, without clearing >>> > the > >>> browser's cache. The tracks are mixed up with each other. I found out >>> > that > >>> I have to delete the cookies after loading one URL and then open the next >>> URL in a different browser in order to display the track properly. Is >>> > there > >>> a way to avoid doing this procedure and load all the URLs in the same >>> browser? >>> >>> In addition, I would like to know if it's possible to load a custom track >>> and automatically switch on one of the UCSC tracks (the UCSC genes track, >>> for example). I assume it involves adding some code to my custom track >>> > file > >>> (I use the Bedgraph format). >>> >>> Thanks in advance, >>> Inbal Paz >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Genome maillist - [email protected] >>> https://lists.soe.ucsc.edu/mailman/listinfo/genome >>> >>> >> _______________________________________________ >> Genome maillist - [email protected] >> https://lists.soe.ucsc.edu/mailman/listinfo/genome >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Genome maillist - [email protected] >> https://lists.soe.ucsc.edu/mailman/listinfo/genome >> _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
