e35e2a3124664586de5f18b8950be23cc5dc170b braney Thu Feb 10 15:45:10 2011 -0800 works now. diff --git src/hg/hgTracks/snakeTrack.c src/hg/hgTracks/snakeTrack.c index de97348..d4cfc82 100644 --- src/hg/hgTracks/snakeTrack.c +++ src/hg/hgTracks/snakeTrack.c @@ -240,31 +240,31 @@ if ((qStart) && (sf->qStart - qStart) < 500000) { //printf("three\n"); if (oldOrient == 1) { //printf("four\n"); if ((orient == -1) && (tEnd < sf->start)) { int x1, x2, x3, w; //printf("five\n"); x1 = round((double)((int)tEnd-winStart)*scale) + xOff; x2 = round((double)((int)e-winStart)*scale) + xOff + 8; x3 = round((double)((int)sf->end-winStart)*scale) + xOff; w = x2-x1; - hvGfxLine(hvg, x1, y, x2, y, color); + //hvGfxLine(hvg, x1, y, x2, y, color); hvGfxLine(hvg, x1, midY, x2, midY, color); hvGfxLine(hvg, x2, lineHeight + midY, x2, midY, color); hvGfxLine(hvg, x2, lineHeight+midY, x3, lineHeight+midY, color); //innerLine(vg, x2, midY, 1, color); clippedBarbs(hvg, x1, midY, w, tl.barbHeight, tl.barbSpacing, oldOrient, color, FALSE); clippedBarbs(hvg, x3, midY + lineHeight, x2-x3, tl.barbHeight, tl.barbSpacing, orient, color, FALSE); } else if ((orient == -1) && (tEnd > sf->start)) { int x1, x2, x3, w; //printf("siz\n"); x1 = round((double)((int)tEnd-winStart)*scale) + xOff; @@ -776,32 +776,33 @@ lf->score = chain.score; lf->filterColor = -1; if (chain.qStrand == '-') { lf->orientation = -1; qs = chain.qSize - chain.qEnd; } else { lf->orientation = 1; qs = chain.qStart; } char buffer[1024]; - snprintf(buffer, sizeof(buffer), "%s %c %dk", - chain.qName, chain.qStrand, qs/1000); + snprintf(buffer, sizeof(buffer), "%s", chain.qName); + //snprintf(buffer, sizeof(buffer), "%s %c %dk", + //chain.qName, chain.qStrand, qs/1000); lf->name = cloneString(buffer); //snprintf(lf->name, sizeof(lf->name), "%s %c %dk", // chain.qName, chain.qStrand, qs/1000); //snprintf(lf->name, sizeof(lf->name), "%s", // chain.qName); //snprintf(lf->popUp, sizeof(lf->name), "%s %c start %d size %d", // chain.qName, chain.qStrand, qs, chain.qEnd - chain.qStart); //snprintf(buf, sizeof(buf), "%d", chain.id); //lf->extra = cloneString(buf); lf->extra = pChain; //printf("setting extra to %llu\n",(long long) pChain); slAddHead(&list, lf); } /* Make sure this is sorted if in full mode. Sort by score when