97bb7f76e1881c333a1218c87982bc73fdaf59ad tdreszer Mon Oct 31 15:27:02 2011 -0700 Add limited support for bigBeds to have scoreFilter controls. diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c index f93a216..0e8957f 100644 --- src/hg/lib/trackDbCustom.c +++ src/hg/lib/trackDbCustom.c @@ -698,31 +698,31 @@ cType = cfgNetAlign; warnIfNecessary = FALSE; } else if(sameWord("bed5FloatScore", type) || sameWord("bed5FloatScoreWithFdr",type)) cType = cfgBedScore; else if(sameWord("narrowPeak",type) || sameWord("broadPeak", type) || sameWord("encodePeak",type) || sameWord("gappedPeak",type)) cType = cfgPeak; else if(sameWord("genePred",type)) cType = cfgGenePred; else if(sameWord("bedLogR",type) || sameWord("peptideMapping", type)) cType = cfgBedScore; -else if(startsWith("bed ", type)) +else if(startsWith("bed ", type) || startsWith("bigBed", type)) { char *words[3]; chopLine(cloneString( type), words); if (trackDbSetting(tdb, "bedFilter") != NULL) cType = cfgBedFilt; else if (atoi(words[1]) >= 5 && trackDbSettingClosestToHome(tdb, "noScoreFilter") == NULL) cType = cfgBedScore; } else if(startsWith("chain",type)) cType = cfgChain; else if (startsWith("bam", type)) cType = cfgBam; else if (startsWith("psl", type)) cType = cfgPsl; // TODO: Only these are configurable so far