53ab3f1e293a91ddf71ec7568f4a6ff827bcd278 lrnassar Fri Oct 2 13:52:36 2026 -0700 Native GPN-Star track (Ye, Benegas et al., Nature 2026) on hg38, mm39, galGal6, dm6 and ce11, from the authors' Hugging Face hub. Each model is a multiWig sequence logo plus a four-allele -LLR composite using negateValues. The three hg38 models (V/M/P) sit in predictionScoresSuper via human/gpnStar.ra with /gbdb/$D bigDataUrls so -strict drops them on other human assemblies; the other four get a standalone gpnStar superTrack. The authors' bigWigs come from pyBigWig, whose bwAddIntervalSpanSteps writes the last section of each run 6 bases too long (pyBigWig #166) and makes bigWigAverageOverBed and bigWigCorrelate abort, so gpnStarRebuild.sh re-encodes them with wigToBigWig and gpnStarVerify.sh checks every per-base value is unchanged. Entropy scores and the GenArk-only Arabidopsis set are left out, and pennantIcon still has #TBD placeholders for the newsarch anchor and date. refs #38451 diff --git src/hg/makeDb/scripts/gpnStar/gpnStarCheckSections.py src/hg/makeDb/scripts/gpnStar/gpnStarCheckSections.py new file mode 100755 index 00000000000..ffc1b61b24b --- /dev/null +++ src/hg/makeDb/scripts/gpnStar/gpnStarCheckSections.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python3 +"""Report bigWig fixedStep sections whose header end-start disagrees with itemCount. + +The GPN-Star bigWigs from Hugging Face have such sections (end overshoots by 6 before +each coverage gap), which makes kent bigWigAverageOverBed and bigWigCorrelate abort. + +usage: gpnStarCheckSections.py file.bw nShow +""" +import struct, sys, zlib +f = open(sys.argv[1], "rb"); nShow = int(sys.argv[2]) +h = f.read(64) +magic, ver, zl, chromTree, dataOff, indexOff = struct.unpack("