changeset 32:11b3fc8b5b48 draft

"planemo upload commit 90edad77d24453810d6792eaf54ae2ce2ee0913f-dirty"
author guerler
date Tue, 24 Nov 2020 17:26:23 +0000
parents 3071750405c9
children f115fbf3ac63
files spring_roc.xml
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/spring_roc.xml	Tue Nov 24 17:12:07 2020 +0000
+++ b/spring_roc.xml	Tue Nov 24 17:26:23 2020 +0000
@@ -10,9 +10,12 @@
         <param name="input" type="data" format="tabular" label="Interactions" help="Prediction Input Table with 2-columns containing UniProt Accession codes."/>
         <param name="database" type="data" format="tabular" label="BioGRID Database" help="BioGRID Database in TAB 3.0 format."/>
         <conditional name="sampling">
-            <param name="type" type="boolean" label="Use UniProt Localization" />
-            <when value="true">
-                <param name="locations" type="data" format="tabular" label="UniProt Localization" help="UniProt tabular export with localization column to sample non-interacting pairs." optional="True" />
+            <param name="type" type="select" label="Non-interacting Pairs" display="radio" help="Decide how to retrieve non-interacting pairs.">
+                <option value="random">Random Sampling</option>
+                <option value="uniprot">Sampling with UniProt Localization</option>
+            </param>
+            <when value="uniprot">
+                <param name="locations" type="data" format="tabular" label="UniProt Localization Database" help="UniProt tabular export with localization column to sample non-interacting pairs." optional="True" />
                 <param name="regions" type="select" multiple="True" label="Choose Subcelluar Locations">
                     <option value="Membrane" selected="True">Membrane</option>
                     <option value="Mitochondrion" selected="True">Mitochondrion</option>
@@ -20,7 +23,7 @@
                     <option value="Secreted">Secreted</option>
                  </param>
             </when>
-            <when value="false">
+            <when value="random">
                 <param name="locations" type="hidden" value="" />
                 <param name="regions" type="hidden" value="" />
             </when>