2fac81d9c77176cc08e09a602904f116d493828a
hiram
  Mon Jan 9 13:05:00 2023 -0800
record modelerVersion.txt no redmine

diff --git src/hg/utils/automation/doRepeatModeler.pl src/hg/utils/automation/doRepeatModeler.pl
index e956cac..dd17461 100755
--- src/hg/utils/automation/doRepeatModeler.pl
+++ src/hg/utils/automation/doRepeatModeler.pl
@@ -201,30 +201,31 @@
 export threadCount="${threadCount}"
 export rModeler="${RepeatModeler}"
 
 time (\$rModeler -engine ncbi \$threadCount -database "\${asmId}") > modeler.log 2>&1
 rsync --exclude "do.log" -a -P ./ "${runDir}/"
 cd "${runDir}"
 rm -fr "\${tmpDir}/"
 chmod 775 "${runDir}"
 ' > oneJob
 chmod +x oneJob
 printf "oneJob ${db} {check out line+ ${db}-rmod.log}\n" > jobList
 para make $parasolOpts jobList
 para check
 para time > run.time
 cat run.time
+\$rModeler -version > "${runDir}/modelerVersion.txt"
 
 _EOF_
   );
   $bossScript->execute() if (! $opt_debug);
 } # doCluster
 
 #########################################################################
 # * step: cleanup [workhorse]
 sub doCleanup {
   my $runDir = "$buildDir";
 
   # 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 ?";