961c4bf5416b5f1282caf6200c94ce97c616e329 hiram Thu Aug 8 23:11:57 2019 -0700 correctly add index to xenoRefGene refs #23734 diff --git src/hg/utils/automation/asmHubTrackDb.sh src/hg/utils/automation/asmHubTrackDb.sh index 5b20d0e..5972696 100755 --- src/hg/utils/automation/asmHubTrackDb.sh +++ src/hg/utils/automation/asmHubTrackDb.sh @@ -347,31 +347,31 @@ ln -s $buildDir/trackData/ncbiGene/$asmId.ncbiGene.ix $buildDir/ixIxx/${asmId}.ncbiGene.ix ln -s $buildDir/trackData/ncbiGene/$asmId.ncbiGene.ixx $buildDir/ixIxx/${asmId}.ncbiGene.ixx printf "track ncbiGene longLabel NCBI gene predictions shortLabel NCBI Genes visibility pack color 0,80,150 altColor 150,80,0 colorByStrand 0,80,150 150,80,0 bigDataUrl bbi/%s.ncbiGene.bb type bigGenePred html html/%s.ncbiGene searchIndex name%s url https://www.ncbi.nlm.nih.gov/gene/?term=\$\$ urlLabel Entrez gene -labelFields=geneName,geneName2,name +labelFields geneName,geneName2,name group genes\n\n" "${asmId}" "${asmId}" "${searchTrix}" $scriptDir/asmHubNcbiGene.pl $asmId $buildDir/html/$asmId.names.tab $buildDir/trackData > $buildDir/html/$asmId.ncbiGene.html haveNcbiGene="yes" fi ################################################################### # CpG Islands composite export cpgVis="hide" # if there is no unmasked track, then set cpgVis to pack if [ ! -s ${buildDir}/trackData/cpgIslands/unmasked/${asmId}.cpgIslandExtUnmasked.bb ]; then cpgVis="pack" fi if [ -s ${buildDir}/trackData/cpgIslands/unmasked/${asmId}.cpgIslandExtUnmasked.bb -o -s ${buildDir}/trackData/cpgIslands/masked/${asmId}.cpgIslandExt.bb ]; then @@ -473,31 +473,32 @@ ################################################################### # xenoRefGene genes if [ -s ${buildDir}/trackData/xenoRefGene/${asmId}.xenoRefGene.bb ]; then rm -f ${buildDir}/bbi/${asmId}.xenoRefGene.bb ln -s ${buildDir}/trackData/xenoRefGene/${asmId}.xenoRefGene.bb ${buildDir}/bbi/${asmId}.xenoRefGene.bb printf "track xenoRefGene shortLabel GenBank mRNAs longLabel GenBank mRNAs mapped to this assembly with blat procedure group rna visibility pack color 180,0,0 type bigGenePred bigDataUrl bbi/%s.xenoRefGene.bb -labelFields=geneName,geneName2,name +labelFields geneName,geneName2,name +searchIndex name,geneName html html/%s.xenoRefGene\n\n" "${asmId}" "${asmId}" $scriptDir/asmHubXenoRefGene.pl $asmId $buildDir/html/$asmId.names.tab $buildDir/trackData > $buildDir/html/$asmId.xenoRefGene.html fi ################################################################### # gapOverlap # if [ -s ${buildDir}/trackData/gapOverlap/${asmId}.gapOverlap.bb ]; then # rm -f ${buildDir}/bbi/${asmId}.gapOverlap.bb # ln -s ${buildDir}/trackData/gapOverlap/${asmId}.gapOverlap.bb ${buildDir}/bbi/${asmId}.gapOverlap.bb # printf "track gapOverlap # shortLabel Gap Overlaps # longLabel Exactly identical sequence on each side of a gap # group map # visibility hide