3c68ae03c7ec7a7e6b98c22e81f7a6489b50e515
braney
  Mon Feb 17 10:41:18 2020 -0800
delete long unused code for HIV, Cancer browser.   RIP Fan.

diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index 7f971ca..b6de68e 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -1364,30 +1364,32 @@
 void spreadAlignStringProt(struct hvGfx *hvg, int x, int y, int width, int height,
                            Color color, MgFont *font, char *text, char *match, int count,
                            bool dots, bool isCodon, int seqStart, int offset)
 /* Draw evenly spaced letters in string for protein sequence.
  * For multiple alignments,
  * supply a non-NULL match string, and then matching letters will be colored
  * with the main color, mismatched letters will have alt color (or
  * matching letters with a dot, and mismatched bases with main color if this
  * option is selected).
  * Draw a vertical bar in orange where sequence lacks gaps that
  * are in reference sequence (possible insertion) -- this is indicated
  * by an escaped insert count in the sequence.  The escape char is backslash.
  * The count param is the number of bases to print, not length of
  * the input line (text) */
 {
+    errAbort("Function spreadAlignStringProt() called.  It is not supported on non-GSID server.");
+#ifdef NOTNOW
 char cBuf[2] = "";
 int i,j,textPos=0;
 int x1, x2, xx1, xx2;
 char *motifString = cartOptionalString(cart,BASE_MOTIFS);
 boolean complementsToo = cartUsualBoolean(cart, MOTIF_COMPLEMENT, FALSE);
 char **motifs = NULL;
 boolean *inMotif = NULL;
 int motifCount = 0;
 Color noMatchColor = lighterColor(hvg, color);
 Color clr;
 int textLength = strlen(text);
 bool selfLine = (match == text);
 
 /* set alternating colors */
 Color color1, color2;
@@ -1507,30 +1509,31 @@
                     {
                     hvGfxBox(hvg, xx1+x, y, xx2-xx1, height, color1);
                     }
                 else
                     {
                     hvGfxBox(hvg, xx1+x, y, xx2-xx1, height, color2);
                     }
 
 		/* display AA */
                 hvGfxTextCentered(hvg, x1+x, y, x2-x1, height, clr, font, cBuf);
                 }
 	    }
 	}
     }
 freez(&inMotif);
+#endif
 }
 
 void spreadBasesString(struct hvGfx *hvg, int x, int y, int width, int height, Color color,
                        MgFont *font, char *s, int count, bool isCodon)
 /* Draw evenly spaced letters in string. */
 {
 spreadAlignString(hvg, x, y, width, height, color, font, s,
                         NULL, count, FALSE, isCodon);
 }
 
 boolean scaledBoxToPixelCoords(int chromStart, int chromEnd, double scale, int xOff, int *pX1, int *pX2)
 /* Convert chrom coordinates to pixels. Clip to window to prevent integer overflow.
  * For special case of a SNP insert location with item width==0, set pixel width=1 and include
  * insertions at window boundaries.
  * Returns FALSE if it does not intersect the window, or if it would have a negative width. */