Question: How To Display Eight Samples As Ucsc Custom Tracks
gravatar for Nitin
7.3 years ago by
Nitin30 wrote:

I have 4 samples in each grp in untreated vs treated grp. I want to display all this data of two grps (8 samples) in UCSC browser. This is a methylation array data. I generated a bedgraph for one sample as -

track type=bedGraph name="A"description="A hox" visibility=full color=0,255,0                
chr2    176964720    176964720    0.018296992    
chr2    176963353    176963353    0.018508837    
chr17    46699073    46699073    0.021180405

It displays the values as bar diagram in specified color and also display the value itself. My question is How can I display all 8 tracks in different colors as well as I would like to have name of the gene (not value) to appear on the track.


ucsc browser • 2.8k views
ADD COMMENTlink modified 7.2 years ago by Ian5.7k • written 7.3 years ago by Nitin30
gravatar for Robert Sicko
7.3 years ago by
Robert Sicko630
United States
Robert Sicko630 wrote:

Try using standard .BED format for your track.

track name="example" description="8_samples" visibility=2 itemRgb="On"                                
chr2     176964720    176964721    gene_X-Sample1    0    +    176964720    176964721 0,255,0
chr2     176964720   176964721    gene_X-Sample2    0    +    176964720    176964721 0,255,255

Then you can change the RGB code (last value in above example) for each sample. *Note: I made the example tracks 1-bp long so there will be a tiny bar displayed in UCSC.

ADD COMMENTlink modified 7.3 years ago • written 7.3 years ago by Robert Sicko630
gravatar for Ian
7.2 years ago by
University of Manchester, UK
Ian5.7k wrote:

You might want to consider using UCSC track hubs as there are ways to group tracks together. This method requires access to a web server. Data must be provided as the "big" formats, e.g. bigBed, bigWig and so on.

ADD COMMENTlink written 7.2 years ago by Ian5.7k

Especially with the "multiWig" format, which overlays many bigWigs into one track:

ADD REPLYlink written 7.2 years ago by Ryan Dale4.9k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 963 users visited in the last hour