371fc634183b94991d7c546a9043caab8c84222f kent Tue Feb 1 15:13:38 2011 -0800 Making big bed all field output work in hubs. diff --git src/hg/hgTables/hgTables.h src/hg/hgTables/hgTables.h index 44610dd..cc9a422 100644 --- src/hg/hgTables/hgTables.h +++ src/hg/hgTables/hgTables.h @@ -735,34 +735,37 @@ 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. */ int bigWigOutRegion(char *table, struct sqlConnection *conn, struct region *region, int maxOut, enum wigOutputType wigOutType); /* Write out bigWig for region, doing intersecting and filtering as need be. */ void doSummaryStatsBigWig(struct sqlConnection *conn); /* Put up page showing summary stats for bigWig track. */ /* ----------- BigBed business in bigBed.c -------------------- */ +boolean isBigBed(char *database, char *table, struct trackDb *parent, + struct customTrack *(*ctLookupName)(char *table)); +/* Local test to see if something is big bed. Handles hub tracks unlike hIsBigBed. */ char *bigBedFileName(char *table, struct sqlConnection *conn); /* Return file name associated with bigBed. This handles differences whether it's - * a custom or built-in track. Do a freeMem on returned string when done. */ + * a custom or built-in track or hub. Do a freeMem on returned string when done. */ struct hTableInfo *bigBedToHti(char *table, struct sqlConnection *conn); /* Get fields of bigBed into hti structure. */ struct asObject *bigBedAsForTable(char *table, struct sqlConnection *conn); /* Get asObject associated with bigBed table. */ struct slName *bigBedGetFields(char *table, struct sqlConnection *conn); /* Get fields of bigBed as simple name list. */ struct sqlFieldType *bigBedListFieldsAndTypes(char *table, struct sqlConnection *conn); /* Get fields of bigBed as list of sqlFieldType. */ struct bed *bigBedGetFilteredBedsOnRegions(struct sqlConnection *conn, char *db, char *table, struct region *regionList, struct lm *lm,