From a10d9aff5e1cd39c39ab696f8a9b6c759db2adeb Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 23 Jul 2009 12:33:52 +0000 Subject: [PATCH] added verbose stuff to bowtie_seq git-svn-id: http://biopieces.googlecode.com/svn/trunk@583 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/bowtie_seq | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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" ); } -- 2.39.5