219f66fde04ded54d6992855d1fef738aa5b6a6f
mspeir
  Thu Aug 27 17:12:34 2026 -0700
Give the RefSeq Historical subtrack its own dataVersion, refs #35766

The Historical track inherited the composite's dataVersion file, which
tracks the current RefSeq annotation release, so the track advertised
RS_2025_08 while its data is RS_2024_08. This affected three places: the
long label in the browser image (simpleTracks.c appends the version for
any track whose name starts with ncbiRef), the track settings page, and
the details pages.

A subtrack may carry its own dataVersion; trackDbSetting reads the local
value first and only climbs to the parent when there isn't one. Same
pattern already used by clinGenHaplo and the nmdEsc* subtracks.

Also adds the version file step to the makedoc, and a reminder to the
weekly notifier mail so the next refresh doesn't leave it stale again.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

diff --git src/hg/makeDb/trackDb/human/trackDb.ra src/hg/makeDb/trackDb/human/trackDb.ra
index 945d6aac27b..9e09bdcc5fe 100644
--- src/hg/makeDb/trackDb/human/trackDb.ra
+++ src/hg/makeDb/trackDb/human/trackDb.ra
@@ -5595,30 +5595,31 @@
 parent refSeqComposite off
 priority 8
 type genePred
 shortLabel RefSeq Select and MANE
 longLabel NCBI RefSeq Select and MANE subset: A single representative transcript
 trackHandler ncbiRefSeq
 idXref ncbiRefSeqLink mrnaAcc name
 color 20,20,160
 baseColorUseCds given
 baseColorDefault genomicCodons
 
 track ncbiRefSeqHistorical
 parent refSeqComposite off
 priority 9
 type genePred
+dataVersion /gbdb/$D/ncbiRefSeq/ncbiRefSeqHistoricalVersion.txt
 shortLabel RefSeq Historical
 longLabel NCBI RefSeq Historical Transcript Versions
 color 12,12,120
 idXref ncbiRefSeqLinkHistorical mrnaAcc name
 baseColorUseCds given
 baseColorDefault genomicCodons
 
 searchTable ncbiRefSeqHistorical
 searchMethod exact
 searchType genePred
 semiShortCircuit 1
 termRegex [N][MR]_[0-9]{6}[0-9]*\.[0-9]+
 searchPriority 20