Changeset 275
- Timestamp:
- 10/12/09 14:06:24 (1 month ago)
- Files:
-
- lib/GI.pm (modified) (2 diffs)
- lib/Widget/RepeatMasker.pm (modified) (2 diffs)
- lib/runlog.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lib/GI.pm
r274 r275 54 54 sub set_global_temp { 55 55 my $dir = shift; 56 57 return if(! -d $dir); 58 59 #remove old tempdir if user supplied a new one 60 if($TMP ne $dir){ 61 File::Path::rmtree($TMP); 62 } 56 63 57 64 $TMP = $dir; … … 2843 2850 } 2844 2851 2845 #--set up optional global TMP 2852 #--set up optional global TMP (If TMP is not accessible from other nodes 2853 #) 2846 2854 if($CTL_OPT{TMP}){ 2847 2855 $CTL_OPT{_TMP} = tempdir("maker_XXXXXX", CLEANUP => 1, DIR => $CTL_OPT{TMP}); 2848 set_global_temp($CTL_OPT{_TMP}); 2849 } 2856 } 2857 else{ 2858 $CTL_OPT{_TMP} = $TMP; 2859 } 2860 2861 set_global_temp($CTL_OPT{_TMP}); 2850 2862 2851 2863 #---set up blast databases and indexes for analyisis lib/Widget/RepeatMasker.pm
r273 r275 9 9 use FileHandle; 10 10 use Widget; 11 #use Bio::DB::Fasta;12 11 use Bio::Search::Hit::PhatHit::repeatmasker; 13 12 use Bio::Search::HSP::PhatHSP::repeatmasker; … … 251 250 #checks if RepeatMasker really finished 252 251 unless($count){ 253 unlink($file);254 die "ERROR: The file $file appears to be incomplete\n".255 "MAKER will need to delete the file, before trying again\n\n";252 #unlink($file); 253 #die "ERROR: The file $file appears to be incomplete\n". 254 # "MAKER will need to delete the file, before trying again\n\n"; 256 255 } 257 256 lib/runlog.pm
r272 r275 264 264 265 265 #temp lamprey 266 $log_val =~ s/^\/*scratch\/serial[^\/]*\/u0045039\/ lamprey2\/*//;267 $ctl_val =~ s/^\/*scratch\/serial[^\/]*\/u0045039\/ lamprey2\/*//;266 $log_val =~ s/^\/*scratch\/serial[^\/]*\/u0045039\///; 267 $ctl_val =~ s/^\/*scratch\/serial[^\/]*\/u0045039\///; 268 268 269 269 #if previous log options are not the same as current control file options … … 378 378 "did not finish on the last run and must be erased\n"; 379 379 #temp lamprey 380 $key =~ s/^\/*scratch\/serial[^\/]*\/ u0045039\/lamprey2\/*//;380 $key =~ s/^\/*scratch\/serial[^\/]*\/.*\/([^\/]*.maker.output)/$1/; 381 381 382 382 push(@files, $key);
