630eb30bc3695afcf73a19be6e3bc9a2829b365f
chmalee
  Wed May 13 13:04:37 2026 -0700
Make myVariants items bed12+ rather than bed9+, refs #33808

diff --git src/hg/inc/myVariants.h src/hg/inc/myVariants.h
index c7cc409d698..f386ba3c21c 100644
--- src/hg/inc/myVariants.h
+++ src/hg/inc/myVariants.h
@@ -1,39 +1,42 @@
 #ifndef MYVARIANTS_H
 #define MYVARIANTS_H
 
 #include "jksql.h"
 #include "asParse.h"
 #include "common.h"
 #include "cart.h"
 #include "customTrack.h"
-#define MYVARIANTS_NUM_COLS 17 /* number of default columns before any user-added custom columns */
+#define MYVARIANTS_NUM_COLS 20 /* number of default columns before any user-added custom columns */
 
 struct myVariants
 /* An item in a myVariants type track. */
     {
     struct myVariants *next;  /* Next in singly linked list. */
     unsigned bin;    /* Bin for range index */
     char *chrom;     /* Reference sequence chromosome or scaffold */
     unsigned chromStart;    /* Start position in chromosome */
     unsigned chromEnd;      /* End position in chromosome */
     char *name;     /* Name of item - up to 16 chars */
     unsigned score; /* 0-1000.  Higher numbers are darker. */
     char strand[2]; /* + or - for strand */
     unsigned thickStart;    /* Start of thick part */
     unsigned thickEnd;      /* End position of thick part */
     unsigned itemRgb;   /* RGB 8 bits each as in bed */
+    unsigned blockCount;    /* Number of blocks */
+    int *blockSizes;        /* Comma separated list of block sizes */
+    int *chromStarts;       /* Start positions relative to chromStart */
     char *description;  /* Longer item description */
     char *db;           /* database name of this annotation */
     char *ref;          /* reference allele */
     char *alt;          /* alternate allele */
     char *project;      /* project name for grouping variants */
     char *mouseover;    /* short mouseover text for hover display */
     unsigned id;        /* Unique ID for item */
     struct slPair *customFields; /* user-defined custom field name/value pairs */
     };
 
 void myVariantsStaticLoad(char **row, struct myVariants *ret);
 /* Load a row from myVariants table into ret. The contents of ret will be replaced at the next call to this function. */
 
 struct myVariants *myVariantsLoadByQuery(struct sqlConnection *conn, char *query);
 /* Load all myVariants from table that satisfy the query given. Dispose of this with myVariantsFreeList(). */