2a99d78cddf4b7de673435f911262ee25b36c238 braney Sun Feb 12 14:14:18 2023 -0800 ongoing work on snake display for chains and psls diff --git src/hg/hgTracks/halSnakeTrack.c src/hg/hgTracks/halSnakeTrack.c index 81b725c..2556dbf 100644 --- src/hg/hgTracks/halSnakeTrack.c +++ src/hg/hgTracks/halSnakeTrack.c @@ -17,31 +17,35 @@ #include "chainCart.h" #include "errCatch.h" #include "twoBit.h" #include "bigWarn.h" #include <pthread.h> #include "trackHub.h" #include "limits.h" #include "snakeUi.h" #include "bits.h" #include "trix.h" #include "chromAlias.h" #include "halBlockViz.h" #include "bigPsl.h" -#include "snake.h" +struct snakeInfo +{ +int maxLevel; +} ; + // this is the number of pixels used by the target self-align bar #define DUP_LINE_HEIGHT 4 // this is the number of pixels used when displaying the insertion lengths #define INSERT_TEXT_HEIGHT 10 struct snakeFeature { struct snakeFeature *next; int start, end; /* Start/end in browser coordinates. */ int qStart, qEnd; /* query start/end */ int level; /* level in snake */ int orientation; /* strand... -1 is '-', 1 is '+' */ boolean drawn; /* did we draw this feature? */ char *qSequence; /* may have sequence, or NULL */