diff macs2_filterdup.xml @ 26:59845dc3331f draft

Uploaded
author bgruening
date Fri, 19 Sep 2014 13:43:11 -0400
parents f63ccb331626
children 16545befe8b5
line wrap: on
line diff
--- a/macs2_filterdup.xml	Wed May 21 15:34:41 2014 -0400
+++ b/macs2_filterdup.xml	Fri Sep 19 13:43:11 2014 -0400
@@ -8,7 +8,7 @@
     <command>
         macs2 filterdup
             -i "${ infile }"
-            -o "${ outfile }"
+            -o temp_outfile
 
         --format '${ infile.extension.upper() }'
         @effective_genome_size@
@@ -19,6 +19,8 @@
         #else
             --keep-dup "${ keep_dup_options.keep_dup_options_selector }"
         #end if
+	;
+	mv temp_outfile "${ outfile }"
     </command>
     <expand macro="stdio" />
     <inputs>
@@ -50,4 +52,5 @@
 
 @citation@
   </help>
+  <expand macro="citations" />
 </tool>