c04b09f87f28de8fecd79e27fea27e2bfcf28c1f max Tue Dec 5 01:34:25 2023 -0800 fixing proteome bug found by refs #32665 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