13d50002b54653bf8579092e518a479b978ab7fa
braney
  Fri Mar 3 13:52:56 2023 -0800
ongoing work on snakes... added optional dotplot for bigPsl hgc pages

diff --git src/hg/hgTracks/snake.c src/hg/hgTracks/snake.c
index 3e0ba5a..61e8425 100644
--- src/hg/hgTracks/snake.c
+++ src/hg/hgTracks/snake.c
@@ -863,31 +863,31 @@
     if (vis == tvFull)
 	safef(buffer, sizeof buffer, "%d-%d",sf->qStart,sf->qEnd);
     else
 	safef(buffer, sizeof buffer, "%s:%d-%d",sf->qName,sf->qStart,sf->qEnd);
     if (sx < insideX)
 	{
 	int olap = insideX - sx;
 	sx = insideX;
 	w -= olap;
 	}
     char qAddress[4096];
     if ((vis == tvFull) || (vis == tvPack) )
 	{
 	safef(qAddress, sizeof qAddress, "qName=%s&qs=%d&qe=%d&qWidth=%d",sf->qName,  qs, qe,  winEnd - winStart);
 	boundMapBox(hvg, s, e, sx+1, y, w-2, heightPer, tg->track,
-		    buffer, buffer, NULL, TRUE, qAddress);
+		    sf->qName, sf->qName, NULL, TRUE, qAddress);
 	}
     hvGfxBox(hvg, sx, y, w, heightPer, color);
 
     // now draw the mismatches if we're at high enough resolution and have the sequence
     char *twoBitString = trackDbSetting(tg->tdb, "twoBit");
     if (twoBitString &&  ((winBaseCount < showSnpWidth) && ((vis == tvFull) || (vis == tvPack))))
 	{
 	static struct twoBitFile *tbf = NULL;
 	static char *lastTwoBitString = NULL;
 	static struct dnaSeq *seq = NULL;
 	static char *lastQName = NULL;
 
 	// sequence for chain snakes is in 2bit files which we cache
         if ((lastTwoBitString == NULL) ||
             differentString(lastTwoBitString, twoBitString))