d7d65ade9824fda1d981e1f9692860e243dd76a1 hiram Mon Dec 26 21:01:46 2022 -0800 "do not have the same name bash script as doRepeatMasker.pl no redmine diff --git src/hg/utils/automation/doRepeatModeler.pl src/hg/utils/automation/doRepeatModeler.pl index 1ac6202..eb7be51 100755 --- src/hg/utils/automation/doRepeatModeler.pl +++ src/hg/utils/automation/doRepeatModeler.pl @@ -215,31 +215,31 @@ # First, make sure previous step has completed: if ( ! $opt_debug ) { if ( -s "$runDir/run.time" && ! -s "$runDir/${db}-families.fa" ) { die "cleanup: previous 'cluster' step appears to be broken, run.time is present but ${db}-families.fa is not present ?"; } if ( ! -s "$runDir/${db}-families.fa" ) { die "cleanup previous 'libResult' step has not completed, ${db}-families.fa not present\n"; } # And, verify this step has not run before if ( ! -s "$runDir/${db}.fa" ) { &HgAutomate::verbose(1, "\ncleanup step previously completed\n"); return; } } my $whatItDoes = "Cleans up or compresses intermediate files."; - my $bossScript = newBash HgRemoteScript("$runDir/doCleanup.bash", $workhorse, + my $bossScript = newBash HgRemoteScript("$runDir/modelerCleanup.bash", $workhorse, $runDir, $whatItDoes); $bossScript->add(<<_EOF_ export asmId="${db}" if [ ! -s "\${asmId}-families.fa" ]; then printf "cleanup expected result file: \${asmId}-families.fa does not exist\n" 1>&2 exit 255 fi rm -fr \${asmId}.fa \${asmId}.n?? ./err/ if [ -s "\${asmId}-families.stk" ]; then gzip \${asmId}-families.stk fi c=`ls -d RM_* | wc -l` if [ "\${c}" -eq 1 ]; then RM_dir=`ls -d RM_*`