05e212467751884f63353f671cf97c3f83f7a8a8 mspeir Fri Aug 28 14:47:20 2026 -0700 singleCellSignalsPeaks mm10 makeDoc: correct the autoScale subtrack counts, refs #37914 Matches the corrected DROP_KEYS note in the hub build (cellBrowser ucsc/allTracksHub/build_stanzas.py): 475 subtracks corpus-wide (402 hg38, 73 mm10) inherited `autoScale group` from their source hubs, and a further 677 (184 hg38, 493 mm10) carried `autoScale on`, so build_stanzas drops autoScale for all 1152. Co-Authored-By: Claude Opus 5 (1M context) diff --git src/hg/makeDb/doc/mm10/singleCellSignalsPeaks.txt src/hg/makeDb/doc/mm10/singleCellSignalsPeaks.txt index 3594e984eb9..698deb5d354 100644 --- src/hg/makeDb/doc/mm10/singleCellSignalsPeaks.txt +++ src/hg/makeDb/doc/mm10/singleCellSignalsPeaks.txt @@ -242,34 +242,35 @@ # # Add a collection here only when its hub stanzas are genuinely a different naming scheme # from its curation. The fix for a merely MISSING crosswalk row is to add the row. ############################################################################## # 4c. Vertical scaling: autoScale group on the composite ############################################################################## # The composite parent carries "autoScale group", and NO subtrack sets autoScale of its # own. Every selected subtrack then shares one vertical scale, so two tracks drawn at the # same locus can be compared directly; with per-track autoScale, tracks whose values # differ by orders of magnitude both drew full height and looked equally strong. # # It has to sit on the parent. hgTracks groups by tdb->parent (wigTrack.c setMinMax # accumulates each drawn track's limits into the shared parent tdb, and wigDrawPredraw # reads them back), and hubCheck errAborts on an individual bigWig that declares -# "autoScale group" -- it "belongs in the parent composite stanza instead". 637 subtracks -# had inherited exactly that verbatim from their source hubs, so build_stanzas now drops -# autoScale via DROP_KEYS. A per-subtrack autoScale would also override the inherited -# parent setting. +# "autoScale group" -- it "belongs in the parent composite stanza instead". 475 subtracks +# corpus-wide (402 hg38, 73 mm10) had inherited exactly that verbatim from their source +# hubs, and a further 677 (184 hg38, 493 mm10) carried "autoScale on", so build_stanzas +# now drops autoScale via DROP_KEYS for all 1152. A per-subtrack autoScale would also +# override the inherited parent setting. # # Limits come from preDrawAutoScale scanning the preDraw array, i.e. the data in the # CURRENT WINDOW, not genome-wide -- so an outlying region elsewhere cannot flatten the # view. That is why grouping beats fixed per-dataset viewLimits, which was considered and # rejected: the spread of per-track maxima WITHIN one dataset reaches 20,117x (retina, # 0.80 to 16,092) and the maxima are outlier-dominated (a cortex-dev coverage track peaks # at 908,985), so a per-dataset ceiling would draw many real tracks flat. # # Grouping PER DATASET is not expressible here. autoScale group groups by tdb->parent and # a subtrack inside a view has the view as its parent, but a faceted composite cannot have # views: facetedCompositeUi walks tdb->subtracks exactly one level and builds _sel # cart vars from the immediate children (hgTrackUi.c), so with a view level the leaf # bigWigs are never enumerated. None of the faceted composites in the tree use views. # Accepted cost: selecting across datasets with different normalizations (BrainVar # gene-activity maxing near 6 next to SEA-AD coverage near 72) draws the smaller tracks