[Genome] Custom tracks
Kate Rosenbloom
kate at soe.ucsc.edu
Wed Oct 25 16:48:23 PDT 2006
Hello Peter,
From our recent discussions, it appears that your
custom tracks are again working -- please contact
us if this is not the case. I also wanted to share with
the list what we learned...
The problem with the URL listed, below, is the use of
an NPH (non-parsed header) CGI script,
(which you tried as a work-around for
HTTP header errors you were encountering).
This style of script isn't standard HTTP, and is
not supported by our site -- we need at least
a minimal header in the custom track submission
via URL -- at a minimum the data must be
prepended with "Content: plain/text"
followed by an empty line.
Cheers,
Kate
Peter Chines <pchines at mail.nih.gov> writes:
> Hello,
>
> I notice that there have been big changes to the handling of custom
> tracks. While in general I think these changes are great, I'm having
> some difficulty changing my programs to adapt to the new system, and
> wonder if you can give me some pointers.
>
> In the past, I used a local webserver to generate a redirect to the
> URLs like the following:
>
> http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg17&hgt.customText=http://
> fusion.nhgri.nih.gov/ucsc/nph-tracks.cgi?snp=rs5400%26pval=p_snp
>
> This used to work, retrieving a set of custom tracks generated from our
> local database and displaying them in the browser.
>
> I have tried to adapt this to the new custom tracks system, but I've
> found that even entering this URL:
>
> http://fusion.nhgri.nih.gov/ucsc/nph-tracks.cgi?snp=rs5400&pval=p_snp
>
> manually on the Add Custom Tracks page does not work (it simply returns
> the Add Custom Tracks page again). On the other hand, submitting the
> actual text of the tracks does seem to work. I am obviously doing
> somethign wrong, but don't know what. Any hints you could give would
> be
> much appreciated. Ultimately, I'd like to end up with a URL that I can
> redirect my users to that will allow them to see our custom tracks
> (which are generated on the fly, not stored) in the UCSC browser.
>
> Thanks,
> Peter
>
>
> ----------------------------------------------------------------
> Peter Chines Computer Scientist
> Genome Technology Branch FUSION Study Group
> National Human Genome Research Institute
> National Institutes of Health
> 50 South Drive, Room 5318, MSC 8004 pchines at mail.nih.gov
> Bethesda, MD 20892-8004 +1-301-435-6075
> ----------------------------------------------------------------
> _______________________________________________
> Genome maillist - Genome at soe.ucsc.edu
> http://www.soe.ucsc.edu/mailman/listinfo/genome
More information about the Genome
mailing list