X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Foligo_freq;h=53029b661c1c70be8e64215c1ec98e49834a9129;hb=2f0fd91b461033529a4a72e161bd133252a22eb6;hp=e179d8dd218855831e48b8c4c81b765150f9bf74;hpb=b607bb9d6e4adcebd9f9e128aacc91a212010ee0;p=biopieces.git diff --git a/bp_bin/oligo_freq b/bp_bin/oligo_freq index e179d8d..53029b6 100755 --- a/bp_bin/oligo_freq +++ b/bp_bin/oligo_freq @@ -1,4 +1,4 @@ -#!/usr/bin/env perl -w +#!/usr/bin/env perl # Copyright (C) 2007-2009 Martin A. Hansen. @@ -26,6 +26,7 @@ # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +use warnings; use strict; use Maasha::Biopieces; @@ -71,26 +72,22 @@ if ( defined $options->{ "all" } ) map { Maasha::Biopieces::put_record( $_, $out ) } @freq_table; } +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(); } @@ -98,4 +95,3 @@ END __END__ -