e14db01e479c6605bb81b7199c9ed37ccab9ef5e
chmalee
  Fri Dec 1 13:00:28 2023 -0800
Add proteome to list of databases not to update trackDb, refs #32693

diff --git src/product/installer/browserSetup.sh src/product/installer/browserSetup.sh
index 28bb88f..c93eae8 100644
--- src/product/installer/browserSetup.sh
+++ src/product/installer/browserSetup.sh
@@ -1717,31 +1717,31 @@
     mysqlcheck --all-databases --auto-repair --quick --fast --silent
 }
 
 function hideSomeTracks
 # hide the big tracks and the ones that we are not allowed to distribute
 {
     # these tables are not used for searches by default. Searches are very slow. We focus on genes.
     notSearchTables='wgEncodeGencodeBasicV19 wgEncodeGencodeCompV17 wgEncodeGencodeBasicV14 wgEncodeGencodeBasicV17 wgEncode GencodeCompV14 mgcFullMrna wgEncodeGencodeBasicV7 orfeomeMrna wgEncodeGencodePseudoGeneV14 wgEncodeGencodePseudoGeneV17 wgEncodeGencodePseudoGeneV19 wgEncodeGencodeCompV7 knownGeneOld6 geneReviews transMapAlnSplicedEst gbCdnaInfo oreganno vegaPseudoGene transMapAlnMRna ucscGenePfam qPcrPrimers transMapAlnUcscGenes transMapAlnRefSeq genscan bacEndPairs fosEndPairs'
 
     # these tracks are hidden by default
     hideTracks='intronEst cons100way cons46way ucscRetroAli5 mrna omimGene2 omimAvSnp'
 
     echo2 Hiding some tracks by default and removing some tracks from searches
     for db in $DBS; do
        echo $db
-       if [ "$db" == "go" -o "$db" == "uniProt" -o "$db" == "visiGene" -o "$db" == "hgFixed" ] ; then
+       if [ "$db" == "go" -o "$db" == "uniProt" -o "$db" == "visiGene" -o "$db" == "hgFixed" -o "$db" == "proteome" ] ; then
                continue
        fi
        for track in $hideTracks; do
             mysql $db -e 'UPDATE trackDb set visibility=0 WHERE tableName="'$track'"'
         done
 
        for track in $notSearchTables; do
             mysql $db -e 'DELETE from hgFindSpec WHERE searchTable="'$track'"'
         done
     done
 }
 
 # only download a set of minimal mysql tables, to make a genome browser that is using the mysql failover mechanism
 # faster. This should be fast enough in the US West Coast area and maybe even on the East Coast.
 function downloadMinimal