src/hg/lib/hui.c 1.252
1.252 2009/12/13 20:20:46 angie
'Color by bases' labels: use 'mRNA bases' only when we have coding region info; otherwise, use 'item bases' because items are generally not mRNAs.
Index: src/hg/lib/hui.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hui.c,v
retrieving revision 1.251
retrieving revision 1.252
diff -b -B -U 4 -r1.251 -r1.252
--- src/hg/lib/hui.c 7 Dec 2009 19:16:49 -0000 1.251
+++ src/hg/lib/hui.c 13 Dec 2009 20:20:46 -0000 1.252
@@ -791,10 +791,10 @@
BASE_COLOR_DRAW_OFF_LABEL,
BASE_COLOR_DRAW_GENOMIC_CODONS_LABEL,
BASE_COLOR_DRAW_ITEM_CODONS_LABEL,
BASE_COLOR_DRAW_DIFF_CODONS_LABEL,
- BASE_COLOR_DRAW_ITEM_BASES_LABEL,
- BASE_COLOR_DRAW_DIFF_BASES_LABEL,
+ BASE_COLOR_DRAW_ITEM_BASES_CDS_LABEL,
+ BASE_COLOR_DRAW_DIFF_BASES_CDS_LABEL,
};
static char *baseColorDrawAllOptionValues[] =
{
BASE_COLOR_DRAW_OFF,
@@ -820,10 +820,10 @@
/* Subset of options for tracks with aligned item sequence but not CDS: */
static char *baseColorDrawItemOptionLabels[] =
{
BASE_COLOR_DRAW_OFF_LABEL,
- BASE_COLOR_DRAW_ITEM_BASES_LABEL,
- BASE_COLOR_DRAW_DIFF_BASES_LABEL,
+ BASE_COLOR_DRAW_ITEM_BASES_NC_LABEL,
+ BASE_COLOR_DRAW_DIFF_BASES_NC_LABEL,
};
static char *baseColorDrawItemOptionValues[] =
{
BASE_COLOR_DRAW_OFF,