efe42f68b1889404cfa56bbc020c273ebdb5fc8d hiram Wed Jun 12 12:05:02 2024 -0700 now supporting bigDbSnp bigMaf and bigChain refs #24430 diff --git src/hg/hubApi/apiUtils.c src/hg/hubApi/apiUtils.c index 4f1a77d..3ae0532 100644 --- src/hg/hubApi/apiUtils.c +++ src/hg/hubApi/apiUtils.c @@ -339,30 +339,33 @@ return trackFound; } boolean allowedBigBedType(char *type) /* return TRUE if the big* bed-like type is to be supported * add to this list as the big* bed-like supported types are expanded */ { if (startsWithWord("bigBarChart", type) || startsWithWord("bigBed", type) || startsWithWord("bigGenePred", type) || startsWithWord("bigInteract", type) || startsWithWord("bigLolly", type) || startsWithWord("bigRmsk", type) || + startsWithWord("bigDbSnp", type) || + startsWithWord("bigMaf", type) || + startsWithWord("bigChain", type) || startsWithWord("bigPsl", type) ) return TRUE; else return FALSE; } struct bbiFile *bigFileOpen(char *trackType, char *bigDataUrl) /* open bigDataUrl for correct trackType and error catch if failure */ { struct bbiFile *bbi = NULL; struct errCatch *errCatch = errCatchNew(); if (errCatchStart(errCatch)) { if (allowedBigBedType(trackType))