]> git.donarmstrong.com Git - biopieces.git/commitdiff
added verbose stuff to bowtie_seq
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 23 Jul 2009 12:33:52 +0000 (12:33 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 23 Jul 2009 12:33:52 +0000 (12:33 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@583 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/bowtie_seq

index 849dbf28deaf6c34968b50d53aea75709f66bcae..aedf02ad3edce43918f4eb460846e9407060f98e 100755 (executable)
@@ -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" );
 }