269a552cb898f1208de303a24584d3d790792da9
hiram
  Fri Aug 1 13:49:50 2014 -0700
trying a color palette from snakeTrack display refs #13706
diff --git src/hg/hgTracks/rmskJoinedTrack.c src/hg/hgTracks/rmskJoinedTrack.c
index a0452b1..d69d324 100644
--- src/hg/hgTracks/rmskJoinedTrack.c
+++ src/hg/hgTracks/rmskJoinedTrack.c
@@ -80,42 +80,57 @@
 "Satellite", "RNA", "Other", "Unknown",
 };
 
 
 /* Repeat class to color mappings. I took these from a
  * online color dictionary website:
  *
  *     http://people.csail.mit.edu/jaffer/Color/Dictionaries
  *
  *  I used the html4 catalog and tried to the 10 most distinct
  *  colors.
  *
  *  NOTE: If these are changed, do not forget to update the
  *        help table in joinedRmskTrack.html
  */
+// trying colors from snakePalette
+static Color rmskJoinedClassColors[] = {
+0xff1f77b4,			// SINE - red
+0xffff7f0e,			// LINE - lime
+0xff2ca02c,			// LTR - maroon
+0xffd62728,			// DNA - fuchsia
+0xff9467bd,			// Simple - yellow
+0xff8c564b,			// LowComplex - olive
+0xffe377c2,			// Satellite - blue
+0xff7f7f7f,			// RNA - green
+0xffbcbd22,			// Other - teal
+0xff17becf,			// Unknown - aqua
+};
+/*
 static Color rmskJoinedClassColors[] = {
 0xff0000ff,			// SINE - red
 0xff00ff00,			// LINE - lime
 0xff000080,			// LTR - maroon
 0xffff00ff,			// DNA - fuchsia
 0xff00ffff,			// Simple - yellow
 0xff008080,			// LowComplex - olive
 0xffff0000,			// Satellite - blue
 0xff008000,			// RNA - green
 0xff808000,			// Other - teal
 0xffffff00,			// Unknown - aqua
 };
+*/
 
 // Basic range type
 struct Extents
 {
 int start;
 int end;
 };
 
 static struct Extents * getExtents(struct rmskJoined *rm)
 /* Calculate the glyph extents in genome coordinate
  * space ( ie. bp )
  *
  * It is not straightforward to determine the extent
  * of this track's glyph.  This is due to the mixture
  * of graphic and text elements within the glyph.