changeset 15:ce2f9b4e4e7c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0d7fcf576fd797327af90538b216473ef13daa41
author iuc
date Sat, 23 May 2015 22:48:56 -0400
parents 38516915ccaf
children e30113df8cf6
files macros.xml mapBed.xml mergeBed.xml
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Sat May 23 08:47:25 2015 -0400
+++ b/macros.xml	Sat May 23 22:48:56 2015 -0400
@@ -89,6 +89,10 @@
         </param>
     </xml>
 
+    <xml name="choose_column">
+        <param name="col" type="data_column" data_ref="inputA" label="Specify the column(s) that should be summarized" help="(-c)" />
+    </xml>
+
     <token name="@C_AND_O_ARGUMENT@">
         #set $col = list()
         #set $op = list()
@@ -104,7 +108,7 @@
 
     <xml name="c_and_o_argument">
         <repeat name="c_and_o_argument_repeat" title="Applying operations to columns from merged intervals" min="0">
-            <yield />
+            <expand macro="choose_column" />
             <expand macro="choose_operations">
                 <expand macro="math_options" />
                 <expand macro="additional_math_options" />
--- a/mapBed.xml	Sat May 23 08:47:25 2015 -0400
+++ b/mapBed.xml	Sat May 23 22:48:56 2015 -0400
@@ -30,9 +30,7 @@
             label="Require reciprocal overlap"
             help="If set, the overlap between the BAM alignment and the BED interval must affect the above fraction of both the alignment and the BED interval. (-r)" />
         <expand macro="strand2" />
-        <expand macro="c_and_o_argument">
-            <param name="col" type="data_column" data_ref="inputA" label="Specify the column(s) that should be summarized" help="(-c)" />
-        </expand>
+        <expand macro="c_and_o_argument" />
         <expand macro="split" />
         <expand macro="print_header" />
         <conditional name="genome">
--- a/mergeBed.xml	Sat May 23 08:47:25 2015 -0400
+++ b/mergeBed.xml	Sat May 23 22:48:56 2015 -0400
@@ -28,9 +28,7 @@
             label="Maximum distance between features allowed for features to be merged"
             help="That is, overlapping and/or book-ended features are merged. (-d)"/>
         <expand macro="print_header" />
-        <expand macro="c_and_o_argument">
-            <param name="col" type="data_column" data_ref="input" label="Specify the column(s) that should be summarized" help="(-c)" />
-        </expand>
+        <expand macro="c_and_o_argument" />
     </inputs>
     <outputs>
         <data format="bed" name="output" metadata_source="input" label="Merged ${input.name}"/>