d3752edc12da1bf08427946150f564dbdd5d2254 angie Thu Oct 24 13:55:51 2019 -0700 bigDbSnp track handler code - initial commit. refs #23283 * dnautil: Added trimRefAltLeft to get left-justified trimming (a la VCF not HGVS). * bigBedClick: do hReplaceGbdb up front in parseDetailsTablUrls instead of waiting until endpoint. * trackDbCustom.c: consolidating type-handling for wig/bigWig vs. bigBed-based big*. diff --git src/hg/inc/hui.h src/hg/inc/hui.h index 623ec68..5ddaa46 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1510,16 +1510,22 @@ struct slPair *buildFieldList(struct trackDb *tdb, char *trackDbVar, struct asObject *as); /* Build up a hash of a list of fields in an AS file. */ char *checkDataVersion(char *database, struct trackDb *tdb); /* see if trackDb has a dataVersion setting and check that file for version */ void printDataVersion(char *database, struct trackDb *tdb); /* If this annotation has a dataVersion setting, print it. * check hgFixed.trackVersion, meta data and trackDb 'dataVersion'. */ char *extractFieldName(char *cartVariable, char *filterType); /* Extract field name from a filter cart variable. Variables can either be * Filter* or .Filter* */ +void labelMakeCheckBox(struct cart *cart, struct trackDb *tdb, char *sym, char *desc, + boolean defaultOn); +/* add a checkbox for the user to select a component of a label (e.g. ID, name, other info). + * NOTE: This does not have a track name argument, so the correct tdb must be passed in: + * if setting is at composite level, then pass in composite tdb, likewise for view. */ + #endif /* HUI_H */