changeset 2:e311ac3ce995 draft

"planemo upload commit e3e80ffb20dc853056edb611668861d0a154f3eb"
author guerler
date Tue, 30 Mar 2021 01:47:21 +0000
parents b2d4238b09d1
children 576c88c2ed11
files spring_minz.xml
diffstat 1 files changed, 25 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/spring_minz.xml	Mon Mar 29 21:49:29 2021 +0000
+++ b/spring_minz.xml	Tue Mar 30 01:47:21 2021 +0000
@@ -36,19 +36,19 @@
         #end if
     ]]>    </command>
     <inputs>
-        <param name="targets" format="hhr" multiple="true" label="Target profiles" help="Homology search result of target/query profiles in 'hhr' format." />
+        <param name="targets" type="data_collection" format="hhr" multiple="true" label="Target profiles" help="Homology search result of target/query profiles in 'hhr' format." />
         <conditional name="input_type">
             <param name="input_type_selector" type="select" label="Identify interactions across sets?">
                 <option value="yes" selected="True">yes</option>
                 <option value="no">no</option>
             </param>
             <when value="yes">
-                <param name="inputs" format="hhr" multiple="true" label="Input profiles" help="Homology search results of input profiles in 'hhr' format." />
+                <param name="inputs" format="hhr" type="data_collection" multiple="true" label="Input profiles" help="Homology search results of input profiles in 'hhr' format." />
             </when>
             <when value="no" />
         </conditional>
-        <param name="crossreference" format="tabular" type="data" label="Cross reference" help="Cross reference of interacting proteins `first_id metadata_id second_id`." />
-        <param name="minscore" type="integer" value="10" min="1" max="200" label="Score threshold" help="Matching interaction pairs with a score lower than this threshold will be excluded." />
+        <param name="crossreference" format="tabular" type="data" label="Cross reference" help="Cross reference of interacting proteins `first_id metadata_id second_id`."/>
+        <param name="minscore" type="integer" value="10" min="1" max="200" label="Score threshold" help="Matching interaction pairs with a score lower than this threshold will be excluded."/>
         <expand macro="logfile" />
     </inputs>
     <outputs>
@@ -59,7 +59,14 @@
     </outputs>
     <tests>
         <test expect_num_outputs="1">
-            <param name="targets" value="minz/NP_000282.1.hhr,minz/NP_000290.2.hhr,minz/NP_000548.2.hhr,minz/NP_000836.2.hhr" ftype="hhr" />
+            <param name="targets">
+                <collection type="list">
+                    <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr" />
+                    <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" ftype="hhr" />
+                    <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" ftype="hhr" />
+                    <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" ftype="hhr" />
+                </collection>
+            </param>
             <conditional name="input_type">
                 <param name="input_type_selector" value="no" />
             </conditional>
@@ -67,10 +74,21 @@
             <output name="output" file="minz/pdb70_result.0.txt" />
         </test>
         <test expect_num_outputs="1">
-            <param name="targets" value="minz/NP_000282.1.hhr" ftype="hhr" />
+            <param name="targets">
+                <collection type="list">
+                    <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr" />
+                </collection>
+            </param>
             <conditional name="input_type">
                 <param name="input_type_selector" value="yes" />
-                <param name="inputs" value="minz/NP_000282.1.hhr,minz/NP_000290.2.hhr,minz/NP_000548.2.hhr,minz/NP_000836.2.hhr" ftype="hhr" />
+                <param name="inputs">
+                    <collection type="list">
+                        <element name="NP_000282.1.hhr" value="minz/NP_000282.1.hhr" ftype="hhr" />
+                        <element name="NP_000290.2.hhr" value="minz/NP_000290.2.hhr" ftype="hhr" />
+                        <element name="NP_000548.2.hhr" value="minz/NP_000548.2.hhr" ftype="hhr" />
+                        <element name="NP_000836.2.hhr" value="minz/NP_000836.2.hhr" ftype="hhr" />
+                    </collection>
+                </param>
             </conditional>
             <param name="crossreference" value="minz/pdb70_random.txt" />
             <output name="output" file="minz/pdb70_result.1.txt" />