5be304c4bdd41bd4452a4b9f1b8fcf37930079e4 braney Fri Feb 3 11:09:59 2017 -0800 allow arbitrary fields with a bigBed file to be used for labels. #18782 diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c index ea12cf7..9754194 100644 --- src/hg/lib/trackDbCustom.c +++ src/hg/lib/trackDbCustom.c @@ -637,30 +637,32 @@ } } eCfgType cfgTypeFromTdb(struct trackDb *tdb, boolean warnIfNecessary) /* determine what kind of track specific configuration is needed, warn if not multi-view compatible */ { eCfgType cType = cfgNone; char *type = tdb->type; assert(type != NULL); if(startsWith("wigMaf", type) || startsWith("bigMaf", type)) cType = cfgWigMaf; else if(startsWith("wig", type)) cType = cfgWig; +else if(startsWith("bigBed", type)) + cType = cfgBigBed; else if(startsWith("bigGenePred", type)) cType = cfgGenePred; else if(startsWith("bigWig", type)) cType = cfgWig; else if(startsWith("longTabix", type)) cType = cfgLong; else if(startsWith("bedGraph", type)) cType = cfgWig; else if (startsWith("netAlign", type) || startsWith("net", tdb->track)) // SPECIAL CASE from hgTrackUi which might not be needed cType = cfgNetAlign; else if(sameWord("bed5FloatScore", type) || sameWord("bed5FloatScoreWithFdr",type)) { if (bedScoreHasCfgUi(tdb))