94ca641d99a7745058c8df8a3c38309898cb5973
jnavarr5
  Fri Sep 25 13:49:11 2026 -0700
Updating the script that generates the ra file for EpiCentral so it uses semicolons instead removing the commas outright. refs #38112

diff --git src/hg/makeDb/scripts/episignatures/epigenCentralToBed.py src/hg/makeDb/scripts/episignatures/epigenCentralToBed.py
index 955d57e7052..7a9f45be260 100755
--- src/hg/makeDb/scripts/episignatures/epigenCentralToBed.py
+++ src/hg/makeDb/scripts/episignatures/epigenCentralToBed.py
@@ -91,35 +91,36 @@
     authorYear = {}
     with open(fname) as fh:
         for line in fh:
             if line.startswith("#") or not line.strip():
                 continue
             pmid, ay = line.rstrip("\n").split("\t")
             authorYear[pmid] = ay
     return authorYear
 
 
 def writeRa(fh, signatures):
     """The filterValues/filterType lines for the signature menu.
 
     The menu label is "Disorder (SIGNATURE)". A comma in a filterValues entry is the
     entry separator and, with a *List* filterType, cannot be escaped at all, so the
-    commas inside a few disorder names are dropped here rather than in the bigBed.
+    commas inside a few disorder names become semicolons here rather than in the
+    bigBed, as the methaDory menu does.
     """
     entries = []
     for sig in sorted(signatures, key=str.lower):
-        disorder = signatures[sig]["disorder"].replace(",", "")
+        disorder = signatures[sig]["disorder"].replace(",", ";")
         entries.append("%s|%s (%s)" % (sig, disorder, sig))
     fh.write("    filterValues.signatureList %s\n" % ",".join(entries))
     fh.write("    filterType.signatureList multipleListAnd\n")
 
 
 def writeHtml(fh, signatures, refs):
     """The "Included episignatures" table of the description page."""
     authorYear = loadAuthorYear()
     fh.write('<table class="stdTbl">\n')
     fh.write("<tr><th>Episignature</th><th>Disorder</th><th>OMIM</th>"
              "<th>CpG probes</th><th>Reference</th></tr>\n")
     for sig in sorted(signatures, key=str.lower):
         rec = signatures[sig]
         pmid, doi = refs.get(sig, ("", ""))
         id_ = pmid or doi