2162be65d294e930dfca338b0a3ef2a054449b36
mspeir
  Sat Aug 15 13:31:58 2026 -0700
Make the singleCellSignalsPeaks metadata check mandatory, refs #38070

Missing facet metadata used to warn and write the .ra anyway, so a stanza file
holding 22 of 925 subtracks produced a short .ra and exit 0. It is now an error,
with --no-meta-check to skip it deliberately and --meta to point elsewhere.

The metadata, palette and manifest are found relative to --stanzas instead of
HUB_BUILD, so pointing --stanzas at another build no longer checks it against
the default build's metadata. Moved the HUB_BUILD default off a personal hive
directory to /hive/data/inside/cells/all-tracks-hub-build, beside the served
hub. Both .ra files regenerate unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

diff --git src/hg/makeDb/doc/hg38/singleCellSignalsPeaks.txt src/hg/makeDb/doc/hg38/singleCellSignalsPeaks.txt
index bd3a439151c..9739603fea2 100644
--- src/hg/makeDb/doc/hg38/singleCellSignalsPeaks.txt
+++ src/hg/makeDb/doc/hg38/singleCellSignalsPeaks.txt
@@ -11,31 +11,31 @@
 # composites in the hub and are NOT part of this track.
 
 ##############################################################################
 # 1. Source data
 ##############################################################################
 # The track mirrors the hub's main hg38 signal-&-peaks faceted composite
 # (cellBrowserHg38). That composite and its facet metadata are produced by the
 # hub build from the Cell Browser dataset tree (/hive/data/inside/cells/datasets):
 #
 #   cd $HOME/cellBrowser/ucsc/allTracksHub
 #   python3 build_manifest.py            # scan datasets -> manifest.tsv
 #   python3 build_stanzas.py             # manifest -> stanzas/hg38.trackDb.txt
 #                                        #            + meta/hg38.metadata.tsv
 #
 # The build writes its output to $CBHUB_OUT, NOT next to the scripts (that dir is
-# git-controlled). Default: /hive/users/mspeir/claude/cell-browser/all-tracks-hub-build
+# git-controlled). Default: /hive/data/inside/cells/all-tracks-hub-build
 #
 # The per-track source files (abs_path column of manifest.tsv) are the files the
 # Cell Browser datasets already serve; nothing is regenerated here, only copied.
 
 ##############################################################################
 # 2. Copy the data files into place  (bed dir, served via a /gbdb symlink)
 ##############################################################################
 # Every subtrack of the cellBrowserHg38 composite is copied into
 #   /hive/data/genomes/hg38/bed/singleCellSignalsPeaks/<served-relpath>
 # keeping each file's served relative path (e.g.
 #   human-enhancer-atlas/.../Adipocyte.bw ,
 #   allen-brain-science/seaad_MTG/bw/ADNC0Astro.bw ).
 # The served subpath is preserved on purpose: 18 peak-file basenames repeat
 # across datasets (cortex-atac), so a flat directory would clobber them.
 #   936 files total (bigWig + bigBed/bigNarrowPeak), ~206 GB.