406740c2dc67f2bb8e217627dcbbe00a204fd594 kate Mon Dec 4 15:37:32 2017 -0800 Add support for item color, using Ensembl extension (RGB instead of value). http://www.ensembl.org/info/website/upload/pairwise.html diff --git src/hg/inc/longRange.h src/hg/inc/longRange.h index eccf246..0e0a557 100644 --- src/hg/inc/longRange.h +++ src/hg/inc/longRange.h @@ -21,27 +21,30 @@ struct longRange { struct longRange *next; char *name; unsigned s; unsigned sw; int sOrient; char *sChrom; unsigned e; unsigned ew; int eOrient; char *eChrom; unsigned height; double score; unsigned id; +// Ensembl extension -- RGB color can be supplied instead of score +boolean hasColor; +unsigned rgb; }; void longRangeCfgUi(struct cart *cart, struct trackDb *tdb, char *name, char *title, boolean boxed); /* Complete track controls for long range interaction. */ struct longRange *parseLongTabix(struct bed *beds, unsigned *maxWidth, double minScore); /* Parse longTabix format into longRange structures */ struct asObject *longTabixAsObj(); /* Return asObject describing fields of longTabix file. */ #endif//def LONGRANGE_H