]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/get_genome_phastcons
implementing status solution
[biopieces.git] / bp_bin / get_genome_phastcons
index 9fc75ee22684e71a7e50f220c9fa54d235d976aa..24994abfe61a385d0bff5353fea67b542477b170 100755 (executable)
@@ -35,7 +35,7 @@ use Maasha::UCSC;
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
-my ( $run_time_beg, $run_time_end, $options, $in, $out, $phastcons_file, $phastcons_index, $index, $fh_phastcons, $scores, $record );
+my ( $options, $in, $out, $phastcons_file, $phastcons_index, $index, $fh_phastcons, $scores, $record );
 
 $options = Maasha::Biopieces::parse_options(
     [
@@ -101,26 +101,22 @@ while ( $record = Maasha::Biopieces::get_record( $in ) )
 
 close $fh_phastcons if $fh_phastcons;                                                                                                                                          
 
+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();
 }
 
 
@@ -128,4 +124,3 @@ END
 
 
 __END__
-