c270525b2a0d56b8f3e5425e555f18066bfe4eec
galt
  Tue Sep 24 16:33:31 2013 -0700
fixes #7472 deals with bed4 and bed9 when element has size=0 start==end
diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index 2c01061..6e64f40 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -2625,30 +2625,36 @@
     }
 if (psl && drawOpt == baseColorDrawCds && !zoomedToCdsColorLevel)
     baseColorSetCdsBounds(lf, psl, tg);
 
 tallStart = lf->tallStart;
 tallEnd = lf->tallEnd;
 if ((tallStart == 0 && tallEnd == 0) && !sameWord(tg->table, "jaxQTL3"))
     {
     // sometimes a bed <8 will get passed off as a bed 8, tsk tsk
     tallStart = lf->start;
     tallEnd   = lf->end;
     }
 x1 = round((double)((int)lf->start-winStart)*scale) + xOff;
 x2 = round((double)((int)lf->end-winStart)*scale) + xOff;
 w = x2-x1;
+if (lf->start==lf->end && w==0) // like a SNP insertion point of size=0
+    {
+    w = 1;
+    hvGfxBox(hvg, x1, y, w, heightPer, color);
+    return;
+    }
 
 // are we highlighting this feature with background highlighting
 if (lf->highlightColor && (lf->highlightMode == highlightBackground))
     {
     // draw the background
     hvGfxBox(hvg, x1, y, w, heightPer, lf->highlightColor);
 
     // draw the item slightly smaller
     y++;
     heightPer -=2;
     }
 
 if (!hideLine)
     {
     innerLine(hvg, x1, midY, w, color);