Good Afternoon Saba:
Here is an example trackDb.ra entry for a bigBed track with itemRgb on:
track itemRgbBbTest
shortLabel itemRgbBB
longLabel itemRgbBB testing
group x
priority 1011
visibility pack
type bigBed 9
itemRgb on
You can load this into your own local trackDb table following the instructions
in the source tree file: src/product/README.trackDb
Manual loading of rows into trackDb is highly discouraged.
Your database table should be loaded with a SQL command:
hgsql hg18 -e 'drop table if exists itemRgbBbTest;
create table itemRgbBbTest (fileName varchar(255) not null);
insert into itemRgbBbTest values
("/gbdb/hg18/bbi/itemRgb.hg18.bb");'
The fileName can also be a valid URL to the bb file.
I tried this here and it worked just fine.
--Hiram
Saba Sajjadian wrote:
> Hi,
>
> We are using mirror of UCSC genome browser but an older version v211.
>
> I have a BED track with itemRgb column, I created a bigBed file from
> this BED track using bedToBigBed. I uploaded my bigBed track as a custom
> track using itemRgb=On. The track was uploaded and everything was fine.
>
> However I tried to upload the same bigBed track as a permanent track and
> the colors are not correct. Everything appeared in black. I added the
> following row manually to my trackDb,
_______________________________________________
Genome maillist - [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome