diff macs2_predictd.xml @ 19:05aca18fd8dc draft

Uploaded
author iuc
date Wed, 23 Apr 2014 18:25:51 -0400
parents ab352bb83cb2
children 59845dc3331f
line wrap: on
line diff
--- a/macs2_predictd.xml	Sat Feb 15 15:50:45 2014 -0500
+++ b/macs2_predictd.xml	Wed Apr 23 18:25:51 2014 -0400
@@ -10,18 +10,20 @@
     </macros>
     <command>
         macs2 predictd
-            -i #echo ' '.join( map( str, $infiles) )#
+            -i ${ ' '.join( map( lambda x:'"%s"' % ( x ), $infiles ) ) }
             @tag_size@
             @effective_genome_size@
-            --bw $band_width
-            --mfold $mfoldlo $mfoldhi
+            --bw "${ band_width }"
+            --mfold "${ mfoldlo }" "${ mfoldhi }"
 
             ## remove the timepoint and strip the output
             2>&amp;1 | awk -F: '{print $4}' | awk '{$1=$1}1'
 
-            &gt; $outfile;
+            &gt; "${ outfile }"
+            
+        &amp;&amp;
 
-        Rscript predictd;
+        Rscript predictd
     </command>
     <expand macro="stdio" />
     <inputs>