# HG changeset patch
# User serranop
# Date 1379181292 14400
# Node ID eca87767a73cfea797e74fbed6e98835c085359f
# Parent  311ab474a270219a2f6d05de7b4af71475729bcb
Uploaded
diff -r 311ab474a270 -r eca87767a73c usearch_fastq_mergepairs.xml
--- a/usearch_fastq_mergepairs.xml	Sat Sep 14 13:46:29 2013 -0400
+++ b/usearch_fastq_mergepairs.xml	Sat Sep 14 13:54:52 2013 -0400
@@ -3,7 +3,6 @@
     usearch -version
     usearch_wrapper.sh
 usearch
-##-quiet
 -fastq_mergepairs '$input_forward'
 -reverse '$input_reverse'
 #if $minovlen.value != 0
diff -r 311ab474a270 -r eca87767a73c usearch_wrapper.sh
--- a/usearch_wrapper.sh	Sat Sep 14 13:46:29 2013 -0400
+++ b/usearch_wrapper.sh	Sat Sep 14 13:54:52 2013 -0400
@@ -1,9 +1,17 @@
 #!/bin/bash
+
+# Print the command
 echo "$*"
+
+# Direct stderr to stdout and save output
 OUTPUT=`$* 2>&1`
+
+# Direct stdout to stderr on failure
 if [ $? -ne 0 ]
 then
     echo "ERROR: $OUTPUT" 1>&2
     exit
 fi
+
+# Print output
 echo $OUTPUT