59c1dfd73900ee12b22b5564fa14f28aa19d4807 hiram Wed Nov 17 09:46:45 2021 -0800 eliminate obsolete commented out code refs #28477 diff --git src/hg/utils/automation/doWindowMasker.pl src/hg/utils/automation/doWindowMasker.pl index 2b49e08..56669e3 100755 --- src/hg/utils/automation/doWindowMasker.pl +++ src/hg/utils/automation/doWindowMasker.pl @@ -128,58 +128,30 @@ \$windowMasker -mk_counts true -input \$fa -output windowmasker.counts popd cp \$tmpDir/windowmasker.counts . rm -rf \$tmpDir _EOF_ ); $bossScript->execute(); } # doCount ######################################################################### # * step: mask [workhorse] sub doMask { printf STDERR "# doMask: obsolete step, no longer needed\n"; return 0; -# my $runDir = "$buildDir"; -# &HgAutomate::checkExistsUnlessDebug('count', 'mask', "$runDir/windowmasker.counts"); -# my $whatItDoes = "It does WindowMasker masking step."; -# my $workhorse = &HgAutomate::chooseWorkhorse(); -# my $bossScript = new HgRemoteScript("$runDir/doMask.csh", $workhorse, -# $runDir, $whatItDoes); -# $bossScript->add(<<_EOF_ -# set windowMaskerDir = /cluster/bin/\$MACHTYPE -# set windowMasker = \$windowMaskerDir/windowmasker -# set fa = $db.fa -# set tmpDir = `mktemp -d -p /scratch/tmp doWindowMasker.XXXXXX` -# chmod 775 \$tmpDir -# set inputTwoBit = $unmaskedSeq -# cp windowmasker.counts \$tmpDir -# pushd \$tmpDir -# twoBitToFa \$inputTwoBit \$fa -# \$windowMasker -ustat windowmasker.counts -input \$fa -output windowmasker.intervals -# perl -wpe \'if \(s\/^\>lcl\\\|\(\.\*\)\\n\$\/\/\) { \$chr = \$1\; } \\ -# if \(\/^\(\\d+\) \- \(\\d+\)\/\) { \\ -# \$s=\$1\; \$e=\$2+1\; s\/\(\\d+\) \- \(\\d+\)\/\$chr\\t\$s\\t\$e\/\; \\ -# }\' windowmasker.intervals > windowmasker.bed -# popd -# cp \$tmpDir/windowmasker.bed . -# rm -rf \$tmpDir -# _EOF_ -# ); -# -# $bossScript->execute(); } # doMask ######################################################################### # * step: sdust [workhorse] sub doSdust { my $runDir = "$buildDir"; &HgAutomate::checkExistsUnlessDebug('mask', 'sdust', "$runDir/windowmasker.counts"); my $whatItDoes = "It does WindowMasker masking step with -sdust true."; my $workhorse = &HgAutomate::chooseWorkhorse(); my $bossScript = new HgRemoteScript("$runDir/doSdust.csh", $workhorse, $runDir, $whatItDoes); $bossScript->add(<<_EOF_ set windowMaskerDir = /cluster/bin/\$MACHTYPE set windowMasker = \$windowMaskerDir/windowmasker set fa = $db.fa