dfee6d0940b88f5e537a436263bcb7f8bea5d3a8
lrnassar
  Tue May 5 16:42:04 2026 -0700
varFreqs: fix varFreqsAll mouseOver to use HTML (<br> + <b>) instead of \n. refs #36642

The previous commit 8790628157f used \n for line breaks, which is not what UCSC trackdb mouseOver supports — the trackDb tooltip renders the value as HTML, so newlines need to be <br> tags. Verified live in the sandbox: data-tooltip on each <area> now correctly renders with bolded labels and line breaks. Also bolds the field labels (Var, AA change, Var type, Conseq, Max AF, Total AC, Sources) for readability, matching the convention seen in uniprot.ra and other tracks.

diff --git src/hg/makeDb/trackDb/human/varFreqs.ra src/hg/makeDb/trackDb/human/varFreqs.ra
index 75ae3383567..9ed3c9f546f 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 Var: $name\nAA change: $aaChange\nVar type: $varType\nConseq: $consequence\nMax AF: $maxAF\nTotal AC: $totalAC\nSources: $sources
+        mouseOver <b>Var:</b> $name<br><b>AA change:</b> $aaChange<br><b>Var type:</b> $varType<br><b>Conseq:</b> $consequence<br><b>Max AF:</b> $maxAF<br><b>Total AC:</b> $totalAC<br><b>Sources:</b> $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