c91de9787fcb7f202a9e294d4e9e8734938d5389 hiram Wed Jun 3 10:52:32 2026 -0700 do not add the toga V1 tracks when the TOGAv2 is available refs #35776 diff --git src/hg/utils/automation/asmHubTrackDb.sh src/hg/utils/automation/asmHubTrackDb.sh index 0377c7c16d8..ebec1439ab9 100755 --- src/hg/utils/automation/asmHubTrackDb.sh +++ src/hg/utils/automation/asmHubTrackDb.sh @@ -1100,31 +1100,32 @@ urlLabel Click here to show this guide on Crispor.org, with expression oligos, validation primers and more tableBrowser noGenome noGenomeReason This track is too big for whole-genome Table Browser access, it would lead to a timeout in your internet browser. Please see the CRISPR Track documentation, the section \"Data Access\", for bulk-download options. Contact us if you encounter difficulties with downloading the data. denseCoverage 0 scoreFilterMax 100 " "${asmId}" "${asmId}" "${asmId}" $scriptDir/asmHubCrisprAll.pl $asmId $buildDir/html/$asmId.names.tab $buildDir/trackData > $buildDir/html/$asmId.crisprAll.html fi # if [ -s ${buildDir}/trackData/crisprAll/crispr.bb ] # TOGA track if exists # build directory can be either TOGAvGalGal6v1 or TOGAvHg38v1 export tg=`ls -d ${buildDir}/trackData/TOGAv* 2> /dev/null | wc -l` -if [ "${tg}" -gt 0 ]; then +export tgV2=`ls -d ${buildDir}/contrib/TOGAv2/TOGAv2.html 2> /dev/null | wc -l` +if [[ "${tg}" -gt 0 && "${tgV2}" -eq 0 ]]; then rm -f $buildDir/bbi/HLTOGAannotVs*.* rm -f $buildDir/ixIxx/HLTOGAannotVs*.* tData=`ls -d $buildDir/trackData/TOGAv* | sed -e 's#.*/trackData#trackData#;'` fBase=`ls $buildDir/trackData/TOGAv*/HLTOGAannotVs*.bb | sed -e 's#.*/##; s/.bb//;'` # there is a bug in the source files that have galGal6 when they should # be GalGal6 FBase=`echo $fBase | sed -e 's#galGal6#GalGal6#;'` ln -s ../$tData/$fBase.bb $buildDir/bbi/$FBase.bb ln -s ../$tData/$fBase.ix $buildDir/ixIxx/$FBase.ix ln -s ../$tData/$fBase.ixx $buildDir/ixIxx/$FBase.ixx if [ -d ${buildDir}/trackData/TOGAvHg38v1 ]; then printf "track HLTOGAannotvHg38v1 bigDataUrl bbi/HLTOGAannotVsHg38v1.bb shortLabel TOGA vs. hg38 longLabel TOGA annotations using human/hg38 as reference