When you pass a URL inside a URL, it must be URL-encoded. i.e. replace any special chars like :/?= etc. with %xx where xx is the hex code of the ascii character.
http://www.albionresearch.com/misc/urlencode.php e.g. hgt.customText%3Dhttp%3A%2F%2Fgenometest.chop.edu%2Fcnv_darcy%2Fresults.jsp%3Bjsessionid%3D8736C9A4B6C643E077735322DA8D2E60%3Fbedfile%3Dtester.bed -Galt On Mon, 3 Nov 2008, Monica D'Arcy wrote: > Hello UCSC team, > > We have a CNV (copy number variation) web application here at > Children's Hospital where we can dynamically build .bed files based > on the current query parameters. We would like to link to your > browser and display bed files, however we would like these files to > be dynamically generated. We see you have a way to link to static > bed file with the URL: http://genome.ucsc.edu/cgi-bin/hgTracks? > org=human&chr1:103898845-103923670&hgt.customText=http://whatever/ > file.bed". I would like our files to be built dynamically, so that > we only build them if requested. I tried doing this by setting the > hgt.customText= our URL with a session id along with a parameter that > lets the application know to send back a response that contains > information in bed file format. > > For instance: > hgt.customText=http://genometest.chop.edu/cnv_darcy/ > results.jsp;jsessionid=8736C9A4B6C643E077735322DA8D2E60? > bedfile=tester.bed. > > I am never getting a request from the UCSC browser, which leads me to > believe this may not be possible. I have tested the link I set in > hgt.customText and it is valid. The UCSC browser does show data, but > default data for the position I set in the URL. Is what I am trying > to do possible? > > Thanks so much, > Monica > > _______________________________________________ > Genome maillist - [email protected] > http://www.soe.ucsc.edu/mailman/listinfo/genome > _______________________________________________ Genome maillist - [email protected] http://www.soe.ucsc.edu/mailman/listinfo/genome
