f2ef97844c0973a30cbbc1afcdd01b4096143a69 lrnassar Wed Jun 3 10:56:07 2026 -0700 Add date-based dataVersion to composite/superTrack otto containers. refs #36455 Composite and superTrack container pages do not display 'Data last updated at UCSC' (printUpdateTime returns early for them), so a dataVersion file is the only freshness signal a user sees there. Add one to the dbVar (dbVarSv), panelApp, clinGen (clinGenComp) and decipher (decipherContainer) containers. Each otto build script writes a per-assembly 'Last updated ' file when it actually updates the data, and the container stanza points to it via dataVersion. clinGen's container date is written by its three displayed feeds (makeDosage, makeGeneValidity, makeClinGenCspec); decipher writes hg38 only (hg19 is frozen). diff --git src/hg/utils/otto/decipher/checkDecipher.sh src/hg/utils/otto/decipher/checkDecipher.sh index 32f42ebf2f1..f2197c1b214 100755 --- src/hg/utils/otto/decipher/checkDecipher.sh +++ src/hg/utils/otto/decipher/checkDecipher.sh @@ -42,27 +42,30 @@ # build the new DECIPHER track tables (builds bigBed for cnv's) ../buildDecipher decipher-variants-grch38.bed ../validateDecipher.sh # now install for db in hg38 do for i in `cat ../decipher.tables` do n=$i"New" o=$i"Old" hgsqlSwapTables $db $n $i $o -dropTable3 done done cp -p --remove-destination decipherCnv.bb ../release/hg38/decipherCnv.bb + # decipherContainer is a superTrack whose container page shows no "Data last + # updated"; this dataVersion file gives it a date. hg38 only (hg19 is frozen). + printf 'Last updated %s\n' "$today" > ../release/hg38/version.txt echo "DECIPHER Installed `date`" cd ${WORKDIR} # Update our md5sum record md5sum decipher-variants-grch38.bed > decipher-variants-grch38.md5 #Commenting out heartbeat message below so as not to get spam. #else # echo "No update" fi rm decipher-variants-grch38.bed