]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/blat_seq
implementing status solution
[biopieces.git] / bp_bin / blat_seq
index bc5af18b8e51eaffb7b98d352499bdac07abef8a..4f68e0ebd720912b4ce43becf5c336adeb4ea0c9 100755 (executable)
@@ -37,7 +37,7 @@ use Maasha::UCSC::PSL;
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
-my ( $run_time_beg, $run_time_end, $options, $in, $out, $record, $blat_args, $genome_file, $query_file, $fh_in, $fh_out,
+my ( $options, $in, $out, $record, $blat_args, $genome_file, $query_file, $fh_in, $fh_out,
      $tmp_dir, $type, $result_file, $entry );
 
 $options = Maasha::Biopieces::parse_options(
@@ -105,26 +105,22 @@ unlink $result_file;
 
 Maasha::Filesys::dir_remove( $tmp_dir );
 
+Maasha::Biopieces::close_stream( $in );
+Maasha::Biopieces::close_stream( $out );
+
 
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
 BEGIN
 {
-    $run_time_beg = Maasha::Biopieces::run_time();
-
-    Maasha::Biopieces::log_biopiece();
+    Maasha::Biopieces::status_set();
 }
 
 
 END
 {
-    Maasha::Biopieces::close_stream( $in );
-    Maasha::Biopieces::close_stream( $out );
-
-    $run_time_end = Maasha::Biopieces::run_time();
-
-    Maasha::Biopieces::run_time_print( $run_time_beg, $run_time_end, $options );
+    Maasha::Biopieces::status_log();
 }
 
 
@@ -132,4 +128,3 @@ END
 
 
 __END__
-