Two UCSC bedgraph tracks next to each other
1
0
Entering edit mode
8.7 years ago

I'm trying to make a BEDGRAPH track to share with others on UCSC.

I have 4 contigs, followed by 4 more contigs (a total of 8). The only differences between the first 4 and the second 4 are the color and positions (they directly abut one another - as you can see from my code below):

I need to show these contigs on the same y-coordinates (Pos1's all need to be on the same y-coordinate, but next to each other on the x-coordinate)

But when I import this as a custom track, I get two sets of 4 sequences each, with the first left and above the second set). I need the second set right next to the first 4.

browser position chr7:127471100-127495720
browser hide all
track name="ItemRGBDemo" description="Item RGB demonstration" visibility=2 itemRgb="On"
chr7    127471196  127473563  Pos1  1  +   127471196 127471196  200,100,0
chr7    127471196  127473563  Pos2  2  +   127471196 127471196  100,200,0
chr7    127471196  127473563  Pos3  3  +   127471196 127471196  200,20,0
chr7    127471196  127473563  Pos4  4  +   127471196 127471196  255,0,0
chr7    127473564  127475930  Pos1  1  +   127473564 127475930  200,100,0
chr7    127473564  127475930  Pos2  2  +   127473564 127475930  255,0,0
chr7    127473564  127475930  Pos3  3  +   127473564 127475930  200,20,0
chr7    127473564  127475930  Pos4  4  +   127473564 127475930  200,20,0

Thanks in advance for any ideas on this!

UCSC Custom-Track bedgraph • 1.7k views
ADD COMMENT
0
Entering edit mode
8.1 years ago
Chirag Nepal ★ 2.4k

Fourth column should have unique names. You could append a symbol or some characters, so you know you are looking at Pos1 and Pos_1 and so on.

ADD COMMENT

Login before adding your answer.

Traffic: 2004 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6