b96a2a4fd4c75db180a03af13a1122db5ce6d512
galt
  Fri Feb 20 20:18:33 2026 -0800
Since it was present in 4 utils but missing and needed in 3 others, I have added bigWigToWig call in wigToBigWig test, and bigChainToChain to chainToBigChain test, and genePredToBigGenePred to bigGenePredToGenePred. Now all seven utilities properly run their inverse utilities so that they recreate the original input, verifying correctness. Requested in code-review by Mark. refs #28109, #36925

diff --git src/hg/utils/chainToBigChain/tests/makefile.galt.save src/hg/utils/chainToBigChain/tests/makefile.galt.save
new file mode 100644
index 00000000000..5118fb6b2b6
--- /dev/null
+++ src/hg/utils/chainToBigChain/tests/makefile.galt.save
@@ -0,0 +1,28 @@
+kentSrc = ../../../..
+include ../../../../inc/common.mk
+
+chainToBigChain = ${DESTBINDIR}/chainToBigChain
+bedToBigBed = ${DESTBINDIR}/bedToBigBed
+
+all:: test
+
+test:: simpleTest
+
+simpleTest: mkout
+	${chainToBigChain} input/hg38.mm10.test.chain output/$@.bigChain output/$@.bigChainLink
+	diff expected/$@.bigChain output/$@.bigChain
+	diff expected/$@.bigChainLink output/$@.bigChainLink
+	bedToBigBed -type=bed6+6 -as=${kentSrc}/hg/lib/bigChain.as -tab output/$@.bigChain input/hg38.chrom.sizes output/$@.bb
+	bedToBigBed -type=bed4+1 -as=${kentSrc}/hg/lib/bigLink.as -tab output/$@.bigChainLink input/hg38.chrom.sizes output/$@.link.bb
+	bigBedToBed output/$@.bb output/$@.bb.bed
+	diff expected/$@.bigChain output/$@.bb.bed
+	bigBedToBed output/$@.link.bb output/$@.link.bb.bed
+	diff expected/$@.bigChainLink output/$@.link.bb.bed
+	bigChainToChain output/$@.bb output/$@.link.bb output/$@.test.chain
+	diff input/hg38.mm10.test.chain output/$@.test.chain
+
+mkout:
+	@mkdir -p output
+
+clean::
+	rm -rf output