65aee15f89102180ee10261f0da584856bac6ee4 braney Fri Jul 1 14:18:10 2016 -0700 add bigChain to the list of bigBed formats in trackDb.h diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index ec84df8..e39c182 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -595,31 +595,31 @@ // Sets the subtrack membership for later retrieval. char *tdbBigFileName(struct sqlConnection *conn, struct trackDb *tdb); // Return file name associated with bigWig. Do a freeMem on returned string when done. boolean rTdbTreeCanPack(struct trackDb *tdb); // Trees can pack as all or none, since they can share vis. void tdbSetCartVisibility(struct trackDb *tdb, struct cart *cart, char *vis); // Set visibility in the cart. Handles all the complications necessary for subtracks. // More INLINES which depend on what the definition of "is" is INLINE boolean tdbIsBigBed(struct trackDb *tdb) // Local test to see if something is big bed. Handles hub tracks unlike hIsBigBed. { -return startsWithWord("bigBed", tdb->type) || startsWithWord("bigGenePred", tdb->type) || startsWithWord("bigMaf", tdb->type) || startsWithWord("bigPsl", tdb->type); +return startsWithWord("bigBed", tdb->type) || startsWithWord("bigGenePred", tdb->type) || startsWithWord("bigMaf", tdb->type) || startsWithWord("bigPsl", tdb->type) || startsWithWord("bigChain", tdb->type); } INLINE boolean tdbIsBigWig(struct trackDb *tdb) // Local test to see if something is big bed. Handles hub tracks unlike hIsBigBed. { return startsWithWord("bigWig", tdb->type); } INLINE boolean tdbIsLongTabix(struct trackDb *tdb) // Return TRUE if tdb corresponds to a long tabix file. { return startsWithWord("longTabix", tdb->type); } INLINE boolean tdbIsBam(struct trackDb *tdb)