X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fread_solid;h=193cd52657dc6bcdb4911fdbfb8f1a01b764bd5a;hb=e5b4c0d3fcbde504c49d6f69e2791bd74434d0d2;hp=2d6ccf9f91eea4c531842562a7ef9c179a4ce724;hpb=afbdacf13f1672d85575067efade87beb51d2904;p=biopieces.git diff --git a/bp_bin/read_solid b/bp_bin/read_solid index 2d6ccf9..193cd52 100755 --- a/bp_bin/read_solid +++ b/bp_bin/read_solid @@ -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; use Maasha::Filesys; @@ -36,7 +37,7 @@ use Maasha::Calc; # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -my ( $run_time_beg, $run_time_end, $options, $in, $out, $record, $data_in, $num, $entry, $i, +my ( $options, $in, $out, $record, $data_in, $num, $entry, $i, $seq_name, $seq_cs, $line, $seq_qual, @scores, @seqs ); $options = Maasha::Biopieces::parse_options( @@ -93,25 +94,22 @@ if ( $options->{ 'data_in' } ) close $data_in; } +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(); }