87165caa138700c2f604737f7448685797bf1954 angie Wed Dec 18 14:20:37 2019 -0800 Apply same base and indel coloring defaults to BAM tracks in hgTrackUi as in hgTracks. refs #24674 diff --git src/hg/inc/hui.h src/hg/inc/hui.h index 224346a..0c2831a 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -740,30 +740,33 @@ #define INDEL_DOUBLE_INSERT "indelDoubleInsert" #define INDEL_QUERY_INSERT "indelQueryInsert" #define INDEL_POLY_A "indelPolyA" #define INDEL_HELP_PAGE "../goldenPath/help/hgIndelDisplay.html" void indelShowOptions(struct cart *cart, struct trackDb *tdb); /* Make HTML inputs for indel display options if any are applicable. */ void indelEnabled(struct cart *cart, struct trackDb *tdb, float basesPerPixel, boolean *retDoubleInsert, boolean *retQueryInsert, boolean *retPolyA); /* Query cart & trackDb to determine what indel display (if any) is enabled. Set * basesPerPixel to -1.0 to disable check for zoom level. */ +void bamAddBaseAndIndelSettings(struct trackDb *tdb); +/* Unless already set in tdb, add settings to enable base-level differences and indel display. */ + /*** Some Stuff for the base position (ruler) controls ***/ #define ZOOM_1PT5X "1.5x" #define ZOOM_3X "3x" #define ZOOM_10X "10x" #define ZOOM_100X "100x" #define ZOOM_BASE "base" void zoomRadioButtons(char *var, char *curVal); /* Make a list of radio buttons for all zoom options */ /*** Some Stuff for the wiggle track ***/ enum wiggleOptEnum { wiggleNoInterpolation = 0,