5602c6f4da7d31d02fcf849c6dce1ef329cca3ef
braney
  Tue Dec 2 12:58:41 2025 -0800
bigBeds with less than five fields with filters should show them on the
hgTrackUi page

diff --git src/hg/lib/trackDbCustom.c src/hg/lib/trackDbCustom.c
index 605a027e680..f7734daae5f 100644
--- src/hg/lib/trackDbCustom.c
+++ src/hg/lib/trackDbCustom.c
@@ -743,31 +743,31 @@
      && !startsWith("encodeGencodeRaceFrags", tdb->track)) // SPECIAL CASE should fix in trackDb!
     cType = cfgGenePred;
 else if (sameWord("bedLogR",type)
      ||  sameWord("peptideMapping", type))
     cType = cfgBedScore;
 // This is a catch-all for big* types that are not special-cased above.  big* types after this
 // point are assumed to be flavors of bigBed.
 else if (startsWith("bed ", type) || startsWith("big", type) || startsWith("bedDetail", type))
     {
     if (trackDbSetting(tdb, "bedFilter") != NULL)
         cType = cfgBedFilt;
     else if (!startsWith("big", type) || startsWith("bigBed", type))
         {
         char *words[3];
         int wordCount = chopLine(cloneString( type), words);
-        if (sameString("bigBed", type) && (wordCount == 1)) // no following words
+        if (startsWith("bigBed", type) )
             {
             cType = cfgBedScore;
 	    if (!bedHasFilters(tdb))
 		cType = cfgNone;
             }
         else if ((  ((wordCount > 1) && (atoi(words[1]) >= 5))
             || trackDbSetting(tdb, "scoreMin") != NULL)
         &&  // 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;