diff bbmap.xml @ 2:e0ca2ec4f5d9 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
author iuc
date Thu, 11 Nov 2021 16:38:09 +0000
parents 07a6e49c7d74
children 8157a81f511c
line wrap: on
line diff
--- a/bbmap.xml	Tue Oct 05 20:06:15 2021 +0000
+++ b/bbmap.xml	Thu Nov 11 16:38:09 2021 +0000
@@ -61,23 +61,7 @@
 #end if
 ]]></command>
     <inputs>
-        <conditional name="input_type_cond">
-            <param name="input_type" type="select" label="Choose the category of the files to be analyzed">
-                <option value="single" selected="true">Single dataset</option>
-                <option value="pair">Dataset pair</option>
-                <option value="paired">List of dataset pairs</option>
-            </param>
-            <when value="single">
-                <param name="read1" type="data" format="fastqsanger.gz,fastqsanger" label="Read1 fastq file"/>
-            </when>
-            <when value="pair">
-                <param name="read1" type="data" format="fastqsanger.gz,fastqsanger" label="Read1 fastq file"/>
-                <param name="read2" type="data" format="fastqsanger.gz,fastqsanger" label="Read2 fastq file"/>
-            </when>
-            <when value="paired">
-                <param name="reads_collection" type="data_collection" format="fastqsanger,fastqsanger.gz" collection_type="paired" label="Collection of fastqsanger paired read files"/>
-            </when>
-        </conditional>
+        <expand macro="input_type_cond"/>
         <expand macro="reference_source_cond"/>
         <param name="output_sort" type="select" label="BAM sorting mode" help="The 'Not sorted' option can significantly extend the run time of the tool (it runs using a single thread).">
             <option value="coordinate" selected="True">Sort by chromosomal coordinates</option>