5b4e0ab9dcf0345d588a88049923a619515ed211 hiram Sun Aug 13 18:38:47 2023 -0700 allow -ram=Ng argument to get through to the para make command no redmine diff --git src/hg/utils/automation/doSameSpeciesLiftOver.pl src/hg/utils/automation/doSameSpeciesLiftOver.pl index f86b529..ad3668e 100755 --- src/hg/utils/automation/doSameSpeciesLiftOver.pl +++ src/hg/utils/automation/doSameSpeciesLiftOver.pl @@ -297,31 +297,30 @@ my $whatItDoes = "It performs a cluster run of blat -fastMap."; my $bossScript = new HgRemoteScript("$runDir/doAlign.csh", $paraHub, $runDir, $whatItDoes); # Don't allow target sequences to be split because we don't lift them # nor do we cat them before chaining. Use the max target seq size # as the chunkSize for partitionSequence.pl on the target. my $tpSize = `awk '{print \$2;}' $tSizes | sort -nr | head -1`; chomp $tpSize; # However, $tDb might be a collection of zillions of tiny scaffolds. # So to ensure reasonable cluster batch size, make sure that chunkSize # is at least 10,000,000 for the target. my $minTpSize = 10000000; $tpSize = $minTpSize if ($tpSize < $minTpSize); - my $paraRun = &HgAutomate::paraRun(); my $gensub2 = &HgAutomate::gensub2(); $bossScript->add(<<_EOF_ # Compute partition (coordinate ranges) for cluster job. This does # not need to be run on the build fileserver because it does not actually # split any sequences -- it merely computes ranges based on the chrom.sizes. rm -rf tParts $Bin/partitionSequence.pl $tpSize 0 $tSeqScratch \\ $tSizes 2000 \\ -lstDir=tParts > t.lst rm -rf qParts $Bin/partitionSequence.pl 10000000 0 $qSeqScratch \\ $qSizes 1000 \\ -lstDir=qParts > q.lst mkdir $pslDir