Index: src/hg/hgTracks/simpleTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/simpleTracks.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -b -B -U 4 -r1.144 -r1.145
--- src/hg/hgTracks/simpleTracks.c	28 May 2010 19:50:34 -0000	1.144
+++ src/hg/hgTracks/simpleTracks.c	1 Jun 2010 18:35:32 -0000	1.145
@@ -5162,11 +5162,23 @@
 	    	col = MG_RED;
 		}
 	    }
 	sqlFreeResult(&sr);
+    	/* add more logic here to check for mean_ratio = 0 
+	   (which is a problem to be fixed by DECIPHER */
+
+	sprintf(query, "select mean_ratio = 0 from decipherRaw where id = '%s'", decipherId);
+    	sr = sqlGetResult(conn, query);
+    	if ((row = sqlNextRow(sr)) != NULL)
+            {
+	    if (sameWord(row[0], "1"))
+	    	{
+	    	col = MG_GRAY;
+	    	}
+	    }
+	sqlFreeResult(&sr);
 	}
     }
-
 hFreeConn(&conn);
 return(col);
 }
 

