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 src/hg/utils/chainToBigChain/tests/makefile
index 3da4c006dec..b53130f3b7f 100644
--- src/hg/utils/chainToBigChain/tests/makefile
+++ src/hg/utils/chainToBigChain/tests/makefile
@@ -6,21 +6,24 @@
 
 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
+	chainSort output/$@.test.chain output/$@.test.chain2
+	diff input/hg38.mm10.test.chain output/$@.test.chain2
 
 mkout:
 	@mkdir -p output
 
 clean::
 	rm -rf output