From: martinahansen Date: Thu, 23 Jul 2009 12:33:52 +0000 (+0000) Subject: added verbose stuff to bowtie_seq X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a10d9aff5e1cd39c39ab696f8a9b6c759db2adeb;p=biopieces.git added verbose stuff to bowtie_seq git-svn-id: http://biopieces.googlecode.com/svn/trunk@583 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/bowtie_seq b/bp_bin/bowtie_seq index 849dbf2..aedf02a 100755 --- a/bp_bin/bowtie_seq +++ b/bp_bin/bowtie_seq @@ -94,9 +94,13 @@ if ( defined $options->{ 'max_hits' } ) { $arg = join " ", @args; -if ( $options->{ 'verbose' } ) { +if ( $options->{ 'verbose' } ) +{ + print STDERR qq(Running: bowtie $arg $index $tmp_in $tmp_out\n); Maasha::Common::run( "bowtie", "$arg $index $tmp_in $tmp_out" ); -} else { +} +else +{ Maasha::Common::run( "bowtie", "$arg $index $tmp_in $tmp_out > /dev/null 2>&1" ); }