2c8115414f9f247308f4d43fe71d2ff92b156c15 hiram Wed Nov 17 10:31:46 2021 -0800 correct name on bash script refs #28401 diff --git src/hg/utils/automation/doCpgIslands.pl src/hg/utils/automation/doCpgIslands.pl index c573ff1..b4c24d6 100755 --- src/hg/utils/automation/doCpgIslands.pl +++ src/hg/utils/automation/doCpgIslands.pl @@ -161,31 +161,31 @@ sub doMakeBed { my $runDir = $buildDir; &HgAutomate::mustMkdir($runDir); # First, make sure we're starting clean. if (-e "$runDir/cpgIsland.bed") { die "doMakeBed: looks like this was run successfully already " . "(cpgIsland.bed exists). Either run with -continue load or cleanup " . "or move aside/remove $runDir/cpgIsland.bed and run again.\n"; } if (! -e "$runDir/cpglh.result") { die "doMakeBed: previous step doCpg has not completed, cpglh.result not found\n"; } my $whatItDoes = "Makes bed from cpglh output."; - my $bossScript = newBash HgRemoteScript("$runDir/doMakeBed.bcsh", $workhorse, + my $bossScript = newBash HgRemoteScript("$runDir/doMakeBed.bash", $workhorse, $runDir, $whatItDoes); $bossScript->add(<<_EOF_ awk \'\{\$2 = \$2 - 1; width = \$3 - \$2; printf\(\"\%s\\t\%d\\t\%s\\t\%s \%s\\t\%s\\t\%s\\t\%0.0f\\t\%0.1f\\t\%s\\t\%s\\n\", \$1, \$2, \$3, \$5, \$6, width, \$6, width\*\$7\*0.01, 100.0\*2\*\$6\/width, \$7, \$9\);}\' cpglh.result \\ | sort -k1,1 -k2,2n > cpgIsland.bed bedToBigBed -tab -type=bed4+6 -as=\$HOME/kent/src/hg/lib/cpgIslandExt.as \\ cpgIsland.bed $chromSizes $db.$tableName.bb _EOF_ ); $bossScript->execute(); } # doMakeBed ######################################################################### # * step: load [dbHost] sub doLoadCpg {