diff makeWindowsBed.xml @ 17:44867b59dbf2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
author iuc
date Tue, 05 Sep 2017 15:40:14 -0400
parents 7308cc546a36
children a8eabd2838f6
line wrap: on
line diff
--- a/makeWindowsBed.xml	Fri Aug 18 15:33:08 2017 -0400
+++ b/makeWindowsBed.xml	Tue Sep 05 15:40:14 2017 -0400
@@ -1,4 +1,4 @@
-<tool id="bedtools_makewindowsbed" name="MakeWindowsBed" version="@WRAPPER_VERSION@.0">
+<tool id="bedtools_makewindowsbed" name="MakeWindowsBed" version="@WRAPPER_VERSION@.1">
     <description>make interval windows across a genome</description>
     <macros>
         <import>macros.xml</import>
@@ -9,7 +9,7 @@
 <![CDATA[
         bedtools makewindows
         #if $type.type_select == 'genome':
-            -g '$type.genome'
+            @GENOME_FILE_MAKEWINDOWS@
         #else:
             -b '$type.input'
         #end if
@@ -36,7 +36,7 @@
                 <param  name="input" format="bed,vcf,gff,gff3" type="data" label="BED/VCF/GFF file"/>
             </when>
             <when value="genome">
-                <expand macro="genome" />
+                <expand macro="input_conditional_genome_file" />
             </when>
         </conditional>
         <conditional name="action">
@@ -81,6 +81,7 @@
     <tests>
         <test>
             <param name="type_select" value="genome" />
+            <param name="genome_file_opts_selector" value="hist" />
             <param name="genome" value="mm9_chr1.len" ftype="tabular" />
             <param name="action_select" value="windowsize" />
             <param name="windowsize" value="1000000" />
@@ -88,6 +89,7 @@
         </test>
         <test>
             <param name="type_select" value="genome" />
+            <param name="genome_file_opts_selector" value="hist" />
             <param name="genome" value="mm9_chr1.len" ftype="tabular" />
             <param name="action_select" value="windowsize" />
             <param name="windowsize" value="1000000" />
@@ -97,6 +99,7 @@
         </test>
         <test>
             <param name="type_select" value="genome" />
+            <param name="genome_file_opts_selector" value="hist" />
             <param name="genome" value="mm9_chr1.len" ftype="tabular" />
             <param name="action_select" value="number" />
             <param name="number" value="100" />