16311d16d3c24281f59bcba6d8c4e6b548cd6ad1 hiram Tue Dec 2 12:09:52 2025 -0800 on advice from Terence and NCBI fixup the track label on gene models track that is not from RefSeq diff --git src/hg/utils/automation/asmHubTrackDb.sh src/hg/utils/automation/asmHubTrackDb.sh index f39f93e0ee3..ba12649ff75 100755 --- src/hg/utils/automation/asmHubTrackDb.sh +++ src/hg/utils/automation/asmHubTrackDb.sh @@ -693,36 +693,40 @@ # may or may not have a searchTrix for ncbiGene, assume none searchTrix="" # check to see if there is a index for ncbiGene if [ -s ${buildDir}/trackData/ncbiGene/$asmId.ncbiGene.ix ]; then searchTrix=" searchTrix ixIxx/$asmId.ncbiGene.ix" fi if [ -s ${buildDir}/trackData/ncbiGene/$asmId.ncbiGene.bb ]; then rm -f $buildDir/bbi/${asmId}.ncbiGene.bb rm -f $buildDir/ixIxx/${asmId}.ncbiGene.ix rm -f $buildDir/ixIxx/${asmId}.ncbiGene.ixx rm -f ${buildDir}/genes/${asmId}.ncbiGene.gtf.gz -export longLabel="Gene models submitted to NCBI" -export shortLabel="Gene models" -if [ "$asmType" = "refseq" ]; then - longLabel="RefSeq gene predictions from NCBI" - shortLabel="NCBI RefSeq" -fi +export longLabel="Gene models submitted to GenBank, ENA, DDBJ" +export shortLabel="NCBI GenBank" +# Note: 2025-12-02 - this isn't valid, since we are in this section due +# to there being no NCBI RefSeq track. Even though this +# is a RefSeq assembly, these are other gene models, not +# from RefSeq +# if [ "$asmType" = "refseq" ]; then +# longLabel="RefSeq gene predictions from NCBI" +# shortLabel="NCBI RefSeq" +# fi if [ -s ${buildDir}/trackData/ncbiGene/${asmId}.ncbiGene.gtf.gz ]; then mkdir -p $buildDir/genes ln -s ../trackData/ncbiGene/${asmId}.ncbiGene.gtf.gz $buildDir/genes/${asmId}.ncbiGene.gtf.gz fi ln -s ../trackData/ncbiGene/$asmId.ncbiGene.bb $buildDir/bbi/${asmId}.ncbiGene.bb if [ -s $buildDir/ixIxx/${asmId}.ncbiGene.ix ]; then ln -s ../trackData/ncbiGene/$asmId.ncbiGene.ix $buildDir/ixIxx/${asmId}.ncbiGene.ix ln -s ../trackData/ncbiGene/$asmId.ncbiGene.ixx $buildDir/ixIxx/${asmId}.ncbiGene.ixx fi printf "track ncbiGene longLabel $longLabel shortLabel $shortLabel visibility pack color 0,80,150 altColor 150,80,0