97bb7f76e1881c333a1218c87982bc73fdaf59ad
tdreszer
  Mon Oct 31 15:27:02 2011 -0700
Add limited support for bigBeds to have scoreFilter controls.
diff --git src/hg/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c
index ec9f241..918f848 100644
--- src/hg/hgTrackUi/hgTrackUi.c
+++ src/hg/hgTrackUi/hgTrackUi.c
@@ -2671,31 +2671,31 @@
             }
         else if(sameWord(words[0], "encodePeak") || sameWord(words[0], "narrowPeak")
              || sameWord(words[0], "broadPeak")  || sameWord(words[0], "gappedPeak"))
 	       {
 	       encodePeakUi(tdb, ct);
 	       }
         else if (sameWord(words[0], "expRatio"))
 	       {
 	       expRatioUi(tdb);
 	       }
         else if (sameWord(words[0], "array")) /* not quite the same as an "expRatio" type (custom tracks) */
             {
             expRatioCtUi(tdb);
             }
         /* if bed has score then show optional filter based on score */
-        else if (sameWord(words[0], "bed") && wordCount == 3)
+        else if ((sameWord(words[0], "bed") || sameWord(words[0], "bigBed")) && wordCount == 3)
             {
             /* Note: jaxQTL3 is a bed 8 format track because of
                 thickStart/thickStart, but there is no valid score.
                 Similarly, the score field for wgRna track is no long used either.
                 It originally was usd to depict different RNA types.  But the new
                 wgRna table has a new field 'type', which is used to store RNA
                 type info and from which to determine the display color of each entry.
             */
             int bedFieldCount = atoi(words[1]);
             if ((bedFieldCount >= 5 || trackDbSetting(tdb, "scoreMin") != NULL)
             &&  !sameString(track, "jaxQTL3") && !sameString(track, "wgRna")
             &&  !startsWith("encodeGencodeIntron", track))
                 {
                 cfgByCfgType(cfgBedScore,database, cart, tdb,tdb->track, NULL, trackDbSettingClosestToHomeOn(tdb, "boxedCfg"));
                 }