Good Morning Wuqi:
I don't understand what problem you are describing.
Your example specified red 255,0,0 for one item and
blue 0,0,255 for the second item, and you used
the option 'itemRgb="On" on the track to cause
it to use the column nine.
If you are loading tracks and you want to use the same
mechanism, then turn on the option in the trackDb
settings for the track with the line:
itemRgb on
in your trackDb.ra file. Please note the description
of how to use this option in the FAQ answer:
http://genome-test.cse.ucsc.edu/FAQ/FAQformat#format1
Perhaps the word "on" is case sensitive. Were you using:
itemRgb On
and it does not work ?
--Hiram
WANG Wuqi wrote:
> Hi Hiram,
>
> Good morning!
>
> When same data as customer tracks is uploaded, we can see color defined,
>
> But when data is uploaded to database by hgLoadBed, we can see colors.
>
> What is root to cause for this?
>
> Please see attachment
>
> Thanks & Regards
>
> Wuqi
>
>
> -----Original Message-----
> From: Hiram Clawson [mailto:[email protected]]
> Sent: Tuesday, February 10, 2009 12:50 PM
> To: WANG Wuqi
> Cc: [email protected]
> Subject: Re: Data format - BED 12
>
> Good Evening Wuqi:
>
> Please do not worry about what column 9 is called.
> If you loaded the table with data in column 9 of
> the form r,g,b where r g and b are integers in
> the range of 0 to 255, then you are using the itemRgb
> option of this column and you already know why.
> Otherwise, you loaded this column with 0 because
> it is "reserved" and used for nothing.
>
> Please continue to load bed tracks with the hgLoadBed
> option. See also, the description of the bed format:
> http://genome.ucsc.edu/FAQ/FAQformat#format1
>
> --Hiram
>
> WANG Wuqi wrote:
>> HI Hiram,
>>
>>
>>
>> Good morning!
>>
>>
>>
>> This is similar question for last mail.
>>
>>
>>
>> In our database, bed format table structure below:
>>
>> Database: hg18 Primary Table: DHP001fr_hg18_07032008_A_v1 Row
>> Count: 488,226
>>
>
>> i.e. Our able has column 'reserved' but standard BED forma is column
>> 'itemRgb'.
>>
>> Why has such differences, how impact application?
>>
>>
>>
>> By the way, our BED data loader is 'hgLoadBed'.
>>
>>
>>
>> Thanks & Regards
>>
>>
>>
>> Wuqi
_______________________________________________
Genome maillist - [email protected]
http://www.soe.ucsc.edu/mailman/listinfo/genome