08b62dca54a26736674194ac8f6977ec456f9ddc hiram Tue Nov 12 01:08:45 2024 -0800 correctly recognize blastDb output files when giant genome refs #34370 diff --git src/hg/utils/automation/doRepeatModeler.pl src/hg/utils/automation/doRepeatModeler.pl index 84d616e..88aad33 100755 --- src/hg/utils/automation/doRepeatModeler.pl +++ src/hg/utils/automation/doRepeatModeler.pl @@ -156,31 +156,31 @@ _EOF_ ); $bossScript->execute() if (! $opt_debug); } # sub doBlastDb ######################################################################### # * step: cluster [bigClusterHub] sub doCluster { my $runDir = "$buildDir"; my $paraHub = $bigClusterHub; # First, make sure previous step has completed: if ( ! $opt_debug ) { - if ( ! -s "$runDir/$db.nsq" ) { + if ( ! (-s "$runDir/$db.nsq" || -s "$runDir/$db.00.nsq") ) { die "doCluster: previous 'blastDb' step has not completed, $db.nsq not present\n"; } # And, verify this step has not run before if ( -s "$runDir/run.time" && ! -s "$runDir/${db}-families.fa" ) { die "cluster: this step appears to have run before, but is broken, run.time is present but ${db}-families.fa is not present ?"; } if ( -s "$runDir/${db}-families.fa" ) { &HgAutomate::verbose(1, "\ncluster step previously completed\n"); return; } } my $whatItDoes = "runs single cluster job to perform the RepeatModeler process.";