I want to build a custom UCSC track where different peaks have different color+height.
I read the instructions here, http://genome.ucsc.edu/goldenPath/help/customTrack.html, but didn't find such example.
The only similar example that I found is presented below, but the different color is only for positive vs. negative peaks. and I want all my peaks to be positive.
Do you know if this is possible at all?
More specifically, the 2 types of data that I want to present (in two colors) is a score per position (some of the scores are 0 and I simply ignore them and don't plot them at all). Thus, the span of each peak is 1 (a single position) and the height is different. In addition, since I have 2 types of data, a position may have a score in both options and there may be an overlap in some cases.
I succeeded drawing something like this using "track type=bedGraph":
browser position chr20:41052953-41066370
track type=bedGraph name="BedGraph Format" description="BedGraph format" visibility=full
chr20 41052876 41052877 0.214750
chr20 41052953 41052954 -0.409103
chr20 41052989 41052990 0.118746
(with positive and negative values for the last column).
I was wondering if there is format that supports two colors for the data where all peaks are positive. and if so, what happens in case the same position contains two such peaks.
In addition, I need the ability to generate an automatic link to the UCSC browser that displays the area of interest.
[This is possible when using bed files, using a link of the form "http://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&position=chrX&hgct_customText=https://my_data_file.txt" (where my_data_file.txt is the data file that I generated)]