diff macros.xml @ 5:dc4e4a1b3676 draft default tip

Uploaded
author greg
date Tue, 04 Sep 2018 08:58:11 -0400
parents bb9f29c4a770
children
line wrap: on
line diff
--- a/macros.xml	Mon Oct 30 09:55:03 2017 -0400
+++ b/macros.xml	Tue Sep 04 08:58:11 2018 -0400
@@ -2,16 +2,17 @@
 <macros>
     <token name="@WRAPPER_VERSION@">1.0</token>
     <xml name="param_method">
-        <param name="method" type="select" label="Protein clustering method">
-            <option value="gfam" selected="true">GFam</option>
-            <option value="orthofinder">OrthoFinder</option>
-            <option value="orthomcl">OrthoMCL</option>
-        </param>
+        <param name="method" type="select" label="Protein clustering method" dynamic_options="get_clustering_method_options(scaffold)"/>
     </xml>
     <xml name="param_scaffold">
-        <param name="scaffold" type="select" label="Gene family scaffold">
-            <options from_data_table="plant_tribes_scaffolds" />
-            <validator type="no_options" message="No PlantTribes scaffolds are available.  Use the PlantTribes Scaffolds Download Data Manager tool in Galaxy to install and populate the PlantTribes scaffolds data table." />
+        <param name="scaffold" type="select" label="Gene family scaffold" refresh_on_change="True">
+            <options from_data_table="plant_tribes_scaffolds">
+                <column name="name" index="1"/>
+                <column name="value" index="2"/>
+                <column name="path" index="2"/>
+                <filter type="sort_by" column="1"/>
+                <validator type="no_options" message="No PlantTribes scaffolds are available.  Use the PlantTribes Scaffolds Download Data Manager tool in Galaxy to install and populate the PlantTribes scaffolds data table."/>
+            </options>
         </param>
     </xml>
     <xml name="citation1">