This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How O Assign A Color Ro Bed Regions (Ucsc)

Hi,

I am trying to assign a red color to my H3K4me1 peaks to upload into UCSC. I tried the following but it gave black default color. Does any know how to handle this ?

chr1    4774861    4776861    promoter    0    .    4774861    4776861    255,0,0
ucsc

1 answer

Try the itemRgb="On" parameter, illustrated in the example in the BED format documentation

track name="test" itemRgb="On"
chr1    4774861 4776861 promoter    0   .   4774861 4776861 255,0,0

Alternatively if you want to assign all features in the BED file to the same color, you can use the color=R,G,B parameter, e.g.,

track name="test" color=255,0,0
chr1    4774861 4776861 promoter    0   .   4774861 4776861

Log in to answer this question.