8790628157f14caae701bfc3d793150127c13812
lrnassar
  Tue May 5 16:27:53 2026 -0700
varFreqs: add a 7-line mouseOver to the varFreqsAll combined track exposing variant identity, AA change, var type, consequence, max AF, total AC, and source databases. refs #36642

Replaces a previously commented-out 2-field mouseOver with a labeled 7-line tooltip designed to answer the questions a user typically has on hover: what is this variant, what protein change does it cause, which consequence bucket, how rare is it, how many alleles, and which population databases call it. The fields are the existing AutoSql columns on varFreqsAll.bb so no data rebuild is required.

diff --git src/hg/makeDb/trackDb/human/varFreqs.ra src/hg/makeDb/trackDb/human/varFreqs.ra
index 571fb09828b..75ae3383567 100644
--- src/hg/makeDb/trackDb/human/varFreqs.ra
+++ src/hg/makeDb/trackDb/human/varFreqs.ra
@@ -4,31 +4,31 @@
 group varRep
 type bed 12
 visibility hide
 superTrack on
 
         track varFreqsAll
         shortLabel All Databases Combined
         longLabel Variant Frequencies: All Databases Combined with Consequence Annotations
         type bigBed 9 +
         parent varFreqs on
         bigDataUrl /gbdb/$D/varFreqs/varFreqsAll.bb
         visibility pack
         itemRgb on
         maxWindowToDraw 5000000
         priority 0.1
-        #mouseOver $aaChange $dnaChange
+        mouseOver Var: $name\nAA change: $aaChange\nVar type: $varType\nConseq: $consequence\nMax AF: $maxAF\nTotal AC: $totalAC\nSources: $sources
         # Variant type and consequence filters
         filterValues.varType SNV|SNV,INS|Insertion,DEL|Deletion,MNV|MNV
         filterLabel.varType Variant Type
         filterValues.consequence missense|Missense,synonymous|Synonymous,stop_gained|Stop Gained,frameshift|Frameshift,splice_donor|Splice Donor,splice_acceptor|Splice Acceptor,intron|Intron,.|Intergenic
         filterLabel.consequence Consequence
         # Source database filter
         filterValues.sources AllOfUs|AllOfUs,SPARK|SPARK WES,SFARI_WGS|SFARI WGS,GenomeAsia|GenomeAsia SNVs,GenomeAsiaIndel|GenomeAsia Indels,KOVA|KOVA Korea,ToMMo|ToMMo Japan,IndiGen|IndiGenomes India,FinnGen|FinnGen Finland,Saudi|Saudi,SweGen|SweGen Sweden,TOPMed|TOPMed,ABraOM|ABraOM Brazil,ALFA|ALFA,MGRB|MGRB Australia,HRC|HRC,MexBB|Mexico Biobank,SGDP|SGDP,HGDP1kG|gnomAD HGDP+1kG,GREGoR|GREGoR,SCHEMA|SCHEMA,GA4K|GA4K PacBio LR,CoLoRSdb|CoLoRSdb PacBio LR,SVatalog|SVatalog 101 10XG SR,Tishkoff180|Tishkoff 180 African WGS
         filterType.sources multipleListOr
         filterLabel.sources Source Database
         # Length filters
         filterByRange.refLen on
         filterLabel.refLen Reference Length
         filterByRange.altLen on
         filterLabel.altLen Alternate Length
         filterByRange.varLen on