14292c6bc896a3768a781cf348b14208c5e172a9
lrnassar
  Thu Feb 23 15:13:54 2023 -0800
Tweaking the statement Max added after re-enabling BED output for signal tracks, refs #30585

diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c
index 545bef2..dcc6b93 100644
--- src/hg/hgTables/mainPage.c
+++ src/hg/hgTables/mainPage.c
@@ -384,34 +384,36 @@
 	hPrintf(" SELECTED");
     if (sameString(ot->name, outBed) || sameString(ot->name, outWigBed))
         hPrintf(" id=\"outBed\"");
     hPrintf(">%s</OPTION>\n", ot->label);
     }
 hPrintf("</SELECT>\n");
 hPrintf(" ");
 
 hPrintf("<DIV style='display:none; opacity:0.9; border: 1px solid #EEE; margin: 2px; padding: 4px' id='gffNote'>"
         "<b>Note:</b> Table Browser GTF files contain transcripts, but no gene identifiers or symbols.<br> "
         "If you are looking for fully formatted "
         "gene model files for use in genome analysis pipelines,<br>check the "
         "<a href='https://hgdownload.soe.ucsc.edu/goldenPath/%s/bigZips/genes'>bigZips/genes</a> "
         "directory on our download server.</DIV>", database);
 hPrintf("<DIV style='display:none; opacity:0.9; border: 1px solid #EEE; margin: 2px; padding: 4px' id='wigNote'>"
-        "<b>Signal data points format:</b> The Table Browser at the moment outputs signal track data points in "
-        "<a href='../goldenPath/help/wiggle.html' target=_blank>wiggle</a> text format. "
-        "If you need the output in BED/bedGraph format, use our <a href=\"../goldenPath/help/bigWig.html#Extract\" "
-        "target=_blank>bigWigToBedGraph</a> command line tool or contact us at genome@soe.ucsc.edu if that poses a problem.</div>");
+        "<b>Signal data points format:</b> The Table Browser outputs signal track data in "
+        "<a href='../goldenPath/help/wiggle.html' target=_blank>wiggle</a> format by default. You can also use the "
+        "Table Browser <b>filter</b> feature to designate a value threshold and then output that as BED format. The "
+        "BED file will create a discreet entry for every value that meets the filter. Our command line tool "
+        "<a href=\"../goldenPath/help/bigWig.html#Extract\" target=_blank>bigWigToBedGraph</a> can also be used "
+        "to convert wig files directly. Contact us at genome@soe.ucsc.edu for help with data extraction or conversion.</div>");
 hPrintf(" ");
 
 // we should make an hgTables.js one day, this is ugly
 jsInline("function checkOutputNotes(event) {\n"
     "var outType=document.getElementById('outputTypeDropdown').value;\n"
     "if (outType==='gff')\n"
     "    document.getElementById('gffNote').style.display='';\n"
     "else if (outType==='wigData')\n"
     "    document.getElementById('wigNote').style.display='';\n"
     "else\n"
     "    $('.outputNote').hide();\n" // a lot shorter with Jquery than without
     "}\n"
     "$(document).ready(checkOutputNotes);\n"
 );
 jsAddEventForId("change", "outputTypeDropdown", "checkOutputNotes");