74421edfd8c8e930e3bc90e86f87c7dab8031e95 hiram Wed Jan 7 09:23:34 2026 -0800 correct name on buildDir diff --git src/hg/utils/automation/doFasTAN.pl src/hg/utils/automation/doFasTAN.pl index 93862cdd666..4e50a5e4bc4 100755 --- src/hg/utils/automation/doFasTAN.pl +++ src/hg/utils/automation/doFasTAN.pl @@ -40,31 +40,31 @@ my $unmaskedSeq = ""; my $base = $0; $base =~ s/^(.*\/)?//; sub usage { # Usage / help / self-documentation: my ($status, $detailed) = @_; # Basic help (for incorrect usage): print STDERR "usage: $base db path/to/unmasked.2bit options: "; print STDERR $stepper->getOptionHelp(); print STDERR <<_EOF_ -buildDir dir Use dir instead of default - $HgAutomate::clusterData/\$db/$HgAutomate::trackBuild/longdust.\$date + $HgAutomate::clusterData/\$db/$HgAutomate::trackBuild/fasTan.\$date (necessary when continuing at a later date). _EOF_ ; print STDERR HgAutomate::getCommonOptionHelp('dbHost' => $dbHost, 'workhorse' => $defaultWorkhorse); print STDERR " Automates Gene Myers' 'FasTAN' process for the given unmasked.2bit sequence. Steps: setup: Prepares partitioned sequence listings from the given unmasked.2bit cluster: Does the cluster run of 'FasTAN' on the partitioned sequences bedResult: Gathers the individual cluster job results into one .bed and .bb bigBed result cleanup: Removes temporary files All operations are performed in the build directory which is $HgAutomate::clusterData/\$db/$HgAutomate::trackBuild/fasTan.\$date unless -buildDir is given."; @@ -270,31 +270,31 @@ # Make sure we have valid options and exactly 1 argument: checkOptions(); usage(1) if (scalar(@ARGV) != 2); my $secondsStart = `date "+%s"`; chomp $secondsStart; ($db, $unmaskedSeq) = @ARGV; # Force debug and verbose until this is looking pretty solid: #$opt_debug = 1; $opt_verbose = 3 if ($opt_verbose < 3); # Establish what directory we will work in. my $date = `date +%Y-%m-%d`; chomp $date; $buildDir = $opt_buildDir ? $opt_buildDir : - "$HgAutomate::clusterData/$db/$HgAutomate::trackBuild/longdust.$date"; + "$HgAutomate::clusterData/$db/$HgAutomate::trackBuild/fasTan.$date"; # Do everything. $stepper->execute(); # Tell the user anything they should know. my $stopStep = $stepper->getStopStep(); my $upThrough = ($stopStep eq 'cleanup') ? "" : " (through the '$stopStep' step)"; my $secondsEnd = `date "+%s"`; chomp $secondsEnd; my $elapsedSeconds = $secondsEnd - $secondsStart; my $elapsedMinutes = int($elapsedSeconds/60); $elapsedSeconds -= $elapsedMinutes * 60;