de6d2d4e5d0106a57d1ada79e9e36005676c260e chmalee Fri Sep 25 12:39:18 2026 -0700 Add trackDb defined filters, coloring, and mouseovers for vcf tracks, using INFO fields or sub INFO fields, like vep.Consequence, refs #37617, #37618 diff --git src/hg/inc/hui.h src/hg/inc/hui.h index a8db1b5e22f..fa2ad293e9a 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1460,30 +1460,39 @@ // Does the UI for a list of filterBy structure char *filterByClause(filterBy_t *filterBy); // returns the SQL where clause for a single filterBy struct: "column in (...)" struct dyString *dyAddFilterByClause(struct cart *cart, struct trackDb *tdb, struct dyString *extraWhere,char *column, boolean *and); // creates the where clause condition to support a filterBy setting. // Format: filterBy column:Title=value,value [column:Title=value|label,value|label,value|label]) // filterBy filters are multiselect's so could have multiple values selected. // thus returns the "column1 in (...) and column2 in (...)" clause. // if 'column' is provided, and there are multiple filterBy columns, // only the named column's clause is returned. // The 'and' param and dyString in/out allows stringing multiple where clauses together + +int textFiltersShowAll(char *db, struct cart *cart, struct trackDb *tdb, boolean isHighlight); +/* Show all the text filters for this track. */ + +int numericFiltersShowAll(char *db, struct cart *cart, struct trackDb *tdb, boolean *opened, + boolean boxed, boolean parentLevel,char *name, char *title, + boolean isHighlight); +// Shows all *Filter style filters. Note that these are in random order and have no graceful title + boolean makeDownloadsLink(char *database, struct trackDb *tdb); // Make a downloads link (if appropriate and then returns TRUE) boolean makeSchemaLink(char *db,struct trackDb *tdb,char *label); // Make a table schema link (if appropriate and then returns TRUE) void makeTopLink(struct trackDb *tdb); // Link to top of UI page void extraUiLinks(char *db, struct trackDb *tdb, struct cart *cart); // Show downloads, schema and metadata links where appropriate boolean chainDbNormScoreAvailable(struct trackDb *tdb); /* check if normScore column is specified in trackDb as available */