ae63ce55185746c5fabb2ead8cc20215faada36d
max
  Mon Nov 3 08:03:14 2025 -0800
adding ancient dna track, refs #36592

diff --git src/hg/utils/otto/panelApp/updatePanelApp src/hg/utils/otto/panelApp/updatePanelApp
index a5c22b3a813..97883c0bc0c 100755
--- src/hg/utils/otto/panelApp/updatePanelApp
+++ src/hg/utils/otto/panelApp/updatePanelApp
@@ -63,31 +63,31 @@
 
 def flipFiles():
     " rename the .tmp files to the final filenames "
     for db in ["hg19", "hg38"]:
         archDir = getArchDir(db)
         for subTrack in ["genes", "tandRep", "cnv"]:
             if db=="hg19" and subTrack=="cnv":
                 # no cnvs for hg19 yet
                 continue
             oldFname = "current/%s/%s.bb.tmp" % (db, subTrack)
             newFname = "current/%s/%s.bb" % (db, subTrack)
             os.replace(oldFname, newFname)
 
 def main():
     " create the 2 x three BED files and convert each to bigBed and update the archive "
-    hg19Bed, hg38Bed = genes.downloadGenes()
-    writeBb(hg19Bed, hg38Bed, "genes")
-
     hg19Bed, hg38Bed = tandRep.downloadTandReps()
     writeBb(hg19Bed, hg38Bed, "tandRep")
 
     hg38Bed = cnv.downloadCnvs()
     # no hg19 CNV data yet from PanelApp
     writeBb(None, hg38Bed, "cnv")
 
+    hg19Bed, hg38Bed = genes.downloadGenes()
+    writeBb(hg19Bed, hg38Bed, "genes")
+
     flipFiles()
     updateGbdbSymlinks()
 
     print("PanelApp otto update: OK")
 
 main()