f3bec731c93f26f8f1984fd727c6ee55ebf99f85 braney Tue Sep 29 13:00:12 2026 -0700 docent regression scripts for three v505 tickets, and registry updates, refs #37617, #37618, #38442, #38249, #38252 rm37617 checks that filter.AF on a VCF INFO field hides the variants below the trackDb minimum, and rm37618 that colorByInfo colors each item by its INFO value. Both use a four-variant fixture hub, docentFixtures/rm37617. rm38442 runs the ticket's PCR search, sets the places a drag saves, and checks that the PCR track keeps its place after a zoom. All three fail on hgwbeta (v504) and pass on genome-test. registry.tsv names the three scripts, adds a row for #38387, and raises the #38249 quickLiftTester row to sandbox-ab: backing out either quickLift fix by hand turns the test red. diff --git src/hg/utils/docent/tests/regress/rm37618.docent.yaml src/hg/utils/docent/tests/regress/rm37618.docent.yaml new file mode 100644 index 00000000000..f1b2b58d9aa --- /dev/null +++ src/hg/utils/docent/tests/regress/rm37618.docent.yaml @@ -0,0 +1,35 @@ +# #37618 -- VCF items colored by the value of an INFO field, set in trackDb with +# `colorByInfo <field>` and `colorByInfo.<field> value=color,...`. +# +# The code is de6d2d4e5d0 (Christopher Lee: filters, coloring and mouseovers for VCF +# tracks), in hg/lib/vcfUi.c and hg/hgTracks/vcfTrack.c. As with #37617 the settings are +# not documented yet and the experimental gnomAD v4.1.1 track is not to be QA'd, so this +# uses the same fixture, ~/public_html/docentFixtures/rm37617/. +# +# The fixture's rm37618Color track has `colorByInfo CLASS` with pathogenic red and benign +# blue. chr1:1,000,100 is pathogenic and chr1:1,000,300 is benign. Before the change the +# setting was ignored and both items drew in the default VCF grey, 128,128,128, so a color check at each +# position is the whole test: the rows, the item names and the map boxes are the same on +# both builds. +# +# The unit test for the same settings is hg/lib/tests/vcfInfoFilterTester.c (showColors). +proof: + - "assertion-only 2026-09-29 -- written from #37618 and de6d2d4e5d0" + - "release-ab 2026-09-29 -- fails on hgwbeta (v504, whose v504_branch lacks de6d2d4e5d0) and passes on genome-test. On v504 the row is drawn 128,128,128 at both positions" + +target: genome-test +db: hg38 +position: chr1:1000000-1000800 +reset: true +fast: true +steps: + - go: chr1:1000000-1000800 + - hide: all + - hub: {url: "https://hgwdev.gi.ucsc.edu/~braney/docentFixtures/rm37617/rm37617hub.txt", db: hg38} + - go: chr1:1000000-1000800 + + - expect: + rows: [rm37618Color] + color: + - {track: rm37618Color, at: "chr1:1000100", is: "255,0,0", not: "0,0,255"} + - {track: rm37618Color, at: "chr1:1000300", is: "0,0,255", not: "255,0,0"}