7ac6e996e887b7380e963c079a5e9a2546e9bbac braney Fri Nov 6 12:42:08 2015 -0800 implement score and chromosome filter in bigChain load function #16314 diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c index e17e03b..b7caad1 100644 --- src/hg/lib/trackDbCustom.c +++ src/hg/lib/trackDbCustom.c @@ -685,31 +685,31 @@ && // Historically needed 'bed n .' but encode didn't follow bed n . ( (wordCount >= 3) || (!tdbIsTrackUiTopLevel(tdb) && trackDbSettingClosestToHome(tdb, "wgEncode")))) { cType = cfgBedScore; if (!bedScoreHasCfgUi(tdb)) cType = cfgNone; // FIXME: UGLY SPECIAL CASE should be handled in trackDb! else if (startsWith("encodeGencodeIntron", tdb->track)) cType = cfgNone; } } } -else if(startsWith("chain",type)) +else if(startsWith("chain",type) || startsWith("bigChain",type)) cType = cfgChain; else if (startsWith("bamWig", type)) cType = cfgWig; else if (startsWith("bam", type)) cType = cfgBam; else if (startsWith("psl", type) || startsWith("bigPsl", type)) cType = cfgPsl; else if (sameWord("vcfTabix",type) || sameWord("vcf", type)) cType = cfgVcf; else if (sameWord("halSnake",type)) cType = cfgSnake; // TODO: Only these are configurable so far if (cType == cfgNone && warnIfNecessary) {