79c5090c373a449c3fa3e83949736e7515f03da2 braney Tue Feb 5 09:36:59 2019 -0800 support schemas on bigWigs within composites. #22885 diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index 06f7188..e23d72e 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -967,30 +967,37 @@ * If this is a custom track, pass in function ctLookupName(table) which looks up a * custom track by name, otherwise pass NULL */ char *findTypeForTable(char *db,struct trackDb *parent,char *table, struct customTrack *(*ctLookupName)(char *table)); /* Finds the TrackType for this Table */ boolean trackIsType(char *database, char *table, struct trackDb *parent, char *type, struct customTrack *(*ctLookupName)(char *table)); /* Return TRUE track is a specific type. Type should be something like "bed" or * "bigBed" or "bigWig" * if table has no parent trackDb pass NULL for parent * If this is a custom track, pass in function ctLookupName(table) which looks up a * custom track by name, otherwise pass NULL */ +boolean hIsBigWig(char *database, char *table, struct trackDb *parent, struct customTrack *(*ctLookupName)(char *table)); +/* Return TRUE if table corresponds to a bigWig file. + * if table has no parent trackDb pass NULL for parent + * If this is a custom track, pass in function ctLookupName(table) which looks up a + * custom track by name, otherwise pass NULL + */ + boolean hIsBigBed(char *database, char *table, struct trackDb *parent, struct customTrack *(*ctLookupName)(char *table)); /* Return TRUE if table corresponds to a bigBed file. * if table has no parent trackDb pass NULL for parent * If this is a custom track, pass in function ctLookupName(table) which looks up a * custom track by name, otherwise pass NULL */ char *bbiNameFromSettingOrTable(struct trackDb *tdb, struct sqlConnection *conn, char *table); /* Return file name from bigDataUrl or little table. */ char *bbiNameFromSettingOrTableChrom(struct trackDb *tdb, struct sqlConnection *conn, char *table, char *seqName); /* Return file name from bigDataUrl or little table that might have a seqName column. * If table does have a seqName column, return NULL if there is no file for seqName. */