79c5090c373a449c3fa3e83949736e7515f03da2 braney Tue Feb 5 09:36:59 2019 -0800 support schemas on bigWigs within composites. #22885 diff --git src/hg/hgTables/hgTables.h src/hg/hgTables/hgTables.h index 3f16646..842b5c5 100644 --- src/hg/hgTables/hgTables.h +++ src/hg/hgTables/hgTables.h @@ -722,30 +722,34 @@ void doOutWigBed(struct trackDb *track, char *table, struct sqlConnection *conn); /* Return wiggle data in bed format. */ void doOutWigData(struct trackDb *track, char *table, struct sqlConnection *conn); /* Return wiggle data in variableStep format. */ void doSummaryStatsWiggle(struct sqlConnection *conn); /* Put up page showing summary stats for wiggle track. */ void wigShowFilter(struct sqlConnection *conn); /* print out wiggle data value filter */ /* ----------- BigWig business in bigWig.c -------------------- */ +boolean isBigWig(char *database, char *table, struct trackDb *parent, + struct customTrack *(*ctLookupName)(char *table)); +/* Local test to see if something is bigWig. Handles hub tracks unlike hIsBigWig. */ + boolean isBigWigTable(char *table); /* Return TRUE if table is bedGraph in current database's trackDb. */ char *bigFileNameFromCtOrHub(char *table, struct sqlConnection *conn); /* If table is a custom track or hub track, return the bigDataUrl setting; * otherwise return NULL. Do a freeMem on returned string when done. */ char *bigDataIndexFromCtOrHub(char *table, struct sqlConnection *conn); /* If table is a custom track or hub track, return the bigDataIndex setting; * otherwise return NULL. Do a freeMem on returned string when done. */ char *bigWigFileName(char *table, struct sqlConnection *conn); /* Return file name associated with bigWig. This handles differences whether it's * a custom or built-in track. Do a freeMem on returned string when done. */ #define bigBedFileName(table, conn) bigWigFileName(table, conn)