b17a43e2a64efaca2ee008e7e466764fea60407a hiram Fri May 1 12:44:21 2026 -0700 explicit path names to allow function on cron jobs refs #31811 diff --git src/hg/makeDb/doc/asmHubs/mkGenomes.pl src/hg/makeDb/doc/asmHubs/mkGenomes.pl index c786867457f..a676e36ac4e 100755 --- src/hg/makeDb/doc/asmHubs/mkGenomes.pl +++ src/hg/makeDb/doc/asmHubs/mkGenomes.pl @@ -320,31 +320,31 @@ printf "chromSizes ../%s/%s/%s.chrom.sizes.txt\n", $accessionDir, $accessionId, $accessionId; # wait until code gets out for v429 release before using chromAlias.bb # for the chromInfoPage display of hgTracks if ( -s "${buildDir}/${asmId}.chromAlias.bb" ) { printf "chromAliasBb ../%s/%s/%s.chromAlias.bb\n", $accessionDir, $accessionId, $accessionId; } else { printf "chromAlias ../%s/%s/%s.chromAlias.txt\n", $accessionDir, $accessionId, $accessionId; } if ($chromAuthority =~ m/^chromAuthority/) { printf "%s\n", $chromAuthority; } printf "organism %s %s\n", $assemblyName, $asmDate; my $hugeGenome = 0; my $fourGb = 2**32 - 1; - my $asmSize=`ave -col=2 $buildDir/$asmId.chrom.sizes | grep -w total | awk '{printf "%d", \$NF}'`; + my $asmSize=`/cluster/bin/x86_64/ave -col=2 $buildDir/$asmId.chrom.sizes | grep -w total | awk '{printf "%d", \$NF}'`; chomp $asmSize; $hugeGenome = 1 if ($asmSize > $fourGb); my $chrName=`head -1 $buildDir/$asmId.chrom.sizes | awk '{print \$1}'`; chomp $chrName; my $bigChrom=`head -1 $buildDir/$asmId.chrom.sizes | awk '{print \$NF}'`; chomp $bigChrom; my $oneThird = int($bigChrom/3); my $tenK = $oneThird + 10000; $tenK = $bigChrom if ($tenK > $bigChrom); my $defPos="${chrName}:${oneThird}-${tenK}"; if ( -s "$buildDir/defaultPos.txt" ) { $defPos=`cat "$buildDir/defaultPos.txt"`; chomp $defPos; } printf "defaultPos %s\n", $defPos;