fa261bb6a4e20cb44972593d383589f1e5e4edce
kate
  Tue Apr 28 12:34:02 2020 -0700
Redo tissue table, bed file, and related code to slot new kidney medulla tissue in (assign id) in proper alphabetical order. refs #25130

diff --git src/hg/js/hgGtexTrackSettings.js src/hg/js/hgGtexTrackSettings.js
index 61fe4bd..f7113a5 100644
--- src/hg/js/hgGtexTrackSettings.js
+++ src/hg/js/hgGtexTrackSettings.js
@@ -57,34 +57,34 @@
     var CLASS_TISSUE_COLOR_PATCH = 'gbmTissueColorPatch';
     var CLASS_TISSUE_HOVERED_COLOR = 'gbmTissueHoveredColor';
     var CLASS_TISSUE_UNSELECTED_COLOR = 'gbmTissueNotSelectedColor';
 
     // 54 tissues from GTEx, as in hgTracks.gtexTissue table
     // NOTE: kidneyMedulla was added in V8
     // TODO: Consider generating this list during make, to an auxiliary .js file
     var tissues = [
         'adiposeSubcut', 'adiposeVisceral', 'adrenalGland', 'arteryAorta', 'arteryCoronary', 
         'arteryTibial', 'bladder', 'brainAmygdala', 'brainAnCinCortex', 'brainCaudate', 
         'brainCerebelHemi', 'brainCerebellum', 'brainCortex', 'brainFrontCortex', 
         'brainHippocampus', 'brainHypothalamus', 'brainNucAccumbens', 'brainPutamen', 
         'brainSpinalcord', 'brainSubstanNigra', 'breastMamTissue', 'xformedlymphocytes',
         'xformedfibroblasts', 'ectocervix', 'endocervix', 'colonSigmoid', 'colonTransverse',
         'esophagusJunction', 'esophagusMucosa', 'esophagusMuscular', 'fallopianTube', 
-        'heartAtrialAppend', 'heartLeftVentricl', 'kidneyCortex', 'liver', 'lung', 
+        'heartAtrialAppend', 'heartLeftVentricl', 'kidneyCortex', 'kidneyMedulla', 'liver', 'lung', 
         'minorSalivGland', 'muscleSkeletal', 'nerveTibial', 'ovary', 'pancreas', 'pituitary', 
         'prostate', 'skinNotExposed', 'skinExposed', 'smallIntestine', 'spleen', 'stomach', 
-        'testis', 'thyroid', 'uterus', 'vagina', 'wholeBlood', 'kidneyMedulla'
+        'testis', 'thyroid', 'uterus', 'vagina', 'wholeBlood'
     ];
 
     // Convenience functions
 
     function tissueFromSvgId(svgId) {
         // Get tissue name from an SVG id. Convention here is <tis>_*
         return svgId.split('_')[0];
     }
 
     function setMapTissueElColor(el) {
         // Change appearance of label in body map. This function is part of setTissue(),
         // used at initialization time (when other element attributes are already set by CGI)
         // NOTE: label may be consist of multiple text elements, so traverse children
         // TODO: Try replacing with CSS (First attempt resulted in black only after mouseover!)
         if (el === null) {