bdf448295c10bee74b6baa773f6733ce33171996
markd
  Thu Oct 1 20:56:37 2026 -0700
Store the ProCapNet minus strand negated, and fix group autoscale. refs #35528

Two of the three problems Jairo found on the composite.

The negate control did not work on ProCapNet. Its minus-strand files held
positive values and were flipped at display time with trackDb negateValues. The
composite's control sets one shared value, which replaced the per-track setting
and sent both strands the same way, with no route back to the default short of a
cart reset. encode4ProCap was fine because ENCODE publishes its minus strand
negative already. So put the sign in the data: proCapNetPredToFixedStep gains
--negate, proCapNetPredBuild passes it for the minus strand, and negateValues is
gone from the stanzas. The twelve existing files were rewritten rather than
rebuilt, since the downloads had been deleted; each was checked against its
original for identical nBasesCovered, a mirrored value range and exactly negated
values. The originals are kept in previousPred, about 197 GB, until QA is done.

Group autoscale on the composite did nothing, which was my error: the multiWig
containers and the contribution leaves each carried autoScale on, and the child
setting wins. The wiggle settings now live only on the composite.

The third, an empty row when both strands of a cell line are deselected, is
#38441 and is not fixed here.

Note in both makedocs and in the generator that this arrangement only partly
works and is expected to become a superTrack of multiWig overlays: under a
composite, hgTrackUi lists leaves rather than containers, so an overlay gets no
inline config block and leaves an empty row when deselected.

diff --git src/hg/makeDb/trackDb/human/hs1/transcriptionStart.ra src/hg/makeDb/trackDb/human/hs1/transcriptionStart.ra
index aeb8aa11a02..2d854f4461f 100644
--- src/hg/makeDb/trackDb/human/hs1/transcriptionStart.ra
+++ src/hg/makeDb/trackDb/human/hs1/transcriptionStart.ra
@@ -1,246 +1,216 @@
 # Generated by hg/makeDb/outside/proCapNet/proCapNetTrackDb for hs1.
 # Do not edit by hand, edit the script and regenerate.
 
 track transcriptionStart
 superTrack on show
 shortLabel Transcription Initiation (TSS)
 longLabel Transcription initiation (TSS)
 group rna
 
     track proCapNet
     parent transcriptionStart
     compositeTrack on
     type bigWig
     shortLabel ProCapNet
     longLabel ProCapNet predicted PRO-cap
     subGroup1 cellLine Cell_line A673=A673 Caco2=Caco-2 Calu3=Calu3 HUVEC=HUVEC K562=K562 MCF10A=MCF10A
     subGroup2 dataType Data_type predPos=Predicted_+ predNeg=Predicted_-
     subGroup3 sampleClass Sample_class Cancer=Cancer Noncancer=Non-cancer
     dimensions dimensionX=dataType dimensionY=cellLine dimA=sampleClass
     filterComposite dimA
     sortOrder cellLine=+ dataType=+
     configurable on
     autoScale group
     alwaysZero on
     maxHeightPixels 100:40:8
     windowingFunction maximum
     noInherit on
     visibility hide
     priority 2
 
         track proCapNet_A673_pred
         parent proCapNet on
         container multiWig
         aggregate solidOverlay
         showSubtrackColorOnUi on
         type bigWig
-        autoScale on
-        alwaysZero on
-        maxHeightPixels 100:40:8
-        windowingFunction maximum
         color 0,114,178
         shortLabel A673 Predicted
         longLabel A673 (ENCSR072YCM) ProCapNet predicted PRO-cap, plus up minus down
         onlyVisibility full
         priority 1
 
             track proCapNet_A673_pred_pos
             parent proCapNet_A673_pred
             subGroups cellLine=A673 dataType=predPos sampleClass=Cancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/A673.proCapNet.pos.bw
             color 0,114,178
             shortLabel A673 Predicted +
             longLabel A673 (ENCSR072YCM) ProCapNet predicted PRO-cap, plus strand
 
             track proCapNet_A673_pred_neg
             parent proCapNet_A673_pred
             subGroups cellLine=A673 dataType=predNeg sampleClass=Cancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/A673.proCapNet.neg.bw
             color 0,114,178
             altColor 0,114,178
-            negateValues on
             shortLabel A673 Predicted -
             longLabel A673 (ENCSR072YCM) ProCapNet predicted PRO-cap, minus strand
 
         track proCapNet_Caco-2_pred
         parent proCapNet on
         container multiWig
         aggregate solidOverlay
         showSubtrackColorOnUi on
         type bigWig
-        autoScale on
-        alwaysZero on
-        maxHeightPixels 100:40:8
-        windowingFunction maximum
         color 213,94,0
         shortLabel Caco-2 Predicted
         longLabel Caco-2 (ENCSR182QNJ) ProCapNet predicted PRO-cap, plus up minus down
         onlyVisibility full
         priority 2
 
             track proCapNet_Caco-2_pred_pos
             parent proCapNet_Caco-2_pred
             subGroups cellLine=Caco2 dataType=predPos sampleClass=Cancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/Caco-2.proCapNet.pos.bw
             color 213,94,0
             shortLabel Caco-2 Predicted +
             longLabel Caco-2 (ENCSR182QNJ) ProCapNet predicted PRO-cap, plus strand
 
             track proCapNet_Caco-2_pred_neg
             parent proCapNet_Caco-2_pred
             subGroups cellLine=Caco2 dataType=predNeg sampleClass=Cancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/Caco-2.proCapNet.neg.bw
             color 213,94,0
             altColor 213,94,0
-            negateValues on
             shortLabel Caco-2 Predicted -
             longLabel Caco-2 (ENCSR182QNJ) ProCapNet predicted PRO-cap, minus strand
 
         track proCapNet_Calu3_pred
         parent proCapNet on
         container multiWig
         aggregate solidOverlay
         showSubtrackColorOnUi on
         type bigWig
-        autoScale on
-        alwaysZero on
-        maxHeightPixels 100:40:8
-        windowingFunction maximum
         color 0,158,115
         shortLabel Calu3 Predicted
         longLabel Calu3 (ENCSR797DEF) ProCapNet predicted PRO-cap, plus up minus down
         onlyVisibility full
         priority 3
 
             track proCapNet_Calu3_pred_pos
             parent proCapNet_Calu3_pred
             subGroups cellLine=Calu3 dataType=predPos sampleClass=Cancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/Calu3.proCapNet.pos.bw
             color 0,158,115
             shortLabel Calu3 Predicted +
             longLabel Calu3 (ENCSR797DEF) ProCapNet predicted PRO-cap, plus strand
 
             track proCapNet_Calu3_pred_neg
             parent proCapNet_Calu3_pred
             subGroups cellLine=Calu3 dataType=predNeg sampleClass=Cancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/Calu3.proCapNet.neg.bw
             color 0,158,115
             altColor 0,158,115
-            negateValues on
             shortLabel Calu3 Predicted -
             longLabel Calu3 (ENCSR797DEF) ProCapNet predicted PRO-cap, minus strand
 
         track proCapNet_HUVEC_pred
         parent proCapNet on
         container multiWig
         aggregate solidOverlay
         showSubtrackColorOnUi on
         type bigWig
-        autoScale on
-        alwaysZero on
-        maxHeightPixels 100:40:8
-        windowingFunction maximum
         color 204,121,167
         shortLabel HUVEC Predicted
         longLabel HUVEC (ENCSR801ECP) ProCapNet predicted PRO-cap, plus up minus down
         onlyVisibility full
         priority 4
 
             track proCapNet_HUVEC_pred_pos
             parent proCapNet_HUVEC_pred
             subGroups cellLine=HUVEC dataType=predPos sampleClass=Noncancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/HUVEC.proCapNet.pos.bw
             color 204,121,167
             shortLabel HUVEC Predicted +
             longLabel HUVEC (ENCSR801ECP) ProCapNet predicted PRO-cap, plus strand
 
             track proCapNet_HUVEC_pred_neg
             parent proCapNet_HUVEC_pred
             subGroups cellLine=HUVEC dataType=predNeg sampleClass=Noncancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/HUVEC.proCapNet.neg.bw
             color 204,121,167
             altColor 204,121,167
-            negateValues on
             shortLabel HUVEC Predicted -
             longLabel HUVEC (ENCSR801ECP) ProCapNet predicted PRO-cap, minus strand
 
         track proCapNet_K562_pred
         parent proCapNet on
         container multiWig
         aggregate solidOverlay
         showSubtrackColorOnUi on
         type bigWig
-        autoScale on
-        alwaysZero on
-        maxHeightPixels 100:40:8
-        windowingFunction maximum
         color 230,159,0
         shortLabel K562 Predicted
         longLabel K562 (ENCSR740IPL) ProCapNet predicted PRO-cap, plus up minus down
         onlyVisibility full
         priority 5
 
             track proCapNet_K562_pred_pos
             parent proCapNet_K562_pred
             subGroups cellLine=K562 dataType=predPos sampleClass=Cancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/K562.proCapNet.pos.bw
             color 230,159,0
             shortLabel K562 Predicted +
             longLabel K562 (ENCSR740IPL) ProCapNet predicted PRO-cap, plus strand
 
             track proCapNet_K562_pred_neg
             parent proCapNet_K562_pred
             subGroups cellLine=K562 dataType=predNeg sampleClass=Cancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/K562.proCapNet.neg.bw
             color 230,159,0
             altColor 230,159,0
-            negateValues on
             shortLabel K562 Predicted -
             longLabel K562 (ENCSR740IPL) ProCapNet predicted PRO-cap, minus strand
 
         track proCapNet_MCF10A_pred
         parent proCapNet on
         container multiWig
         aggregate solidOverlay
         showSubtrackColorOnUi on
         type bigWig
-        autoScale on
-        alwaysZero on
-        maxHeightPixels 100:40:8
-        windowingFunction maximum
         color 86,180,233
         shortLabel MCF10A Predicted
         longLabel MCF10A (ENCSR860TYZ) ProCapNet predicted PRO-cap, plus up minus down
         onlyVisibility full
         priority 6
 
             track proCapNet_MCF10A_pred_pos
             parent proCapNet_MCF10A_pred
             subGroups cellLine=MCF10A dataType=predPos sampleClass=Noncancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/MCF10A.proCapNet.pos.bw
             color 86,180,233
             shortLabel MCF10A Predicted +
             longLabel MCF10A (ENCSR860TYZ) ProCapNet predicted PRO-cap, plus strand
 
             track proCapNet_MCF10A_pred_neg
             parent proCapNet_MCF10A_pred
             subGroups cellLine=MCF10A dataType=predNeg sampleClass=Noncancer
             type bigWig
             bigDataUrl /gbdb/hs1/proCapNet/pred/MCF10A.proCapNet.neg.bw
             color 86,180,233
             altColor 86,180,233
-            negateValues on
             shortLabel MCF10A Predicted -
             longLabel MCF10A (ENCSR860TYZ) ProCapNet predicted PRO-cap, minus strand