diff macros.xml @ 6:ecbdfc775b9a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse commit fe77b125826ab5cbd0a235f957d66e544b658a98
author iuc
date Sat, 25 Jun 2016 16:44:39 -0400
parents ae9382cfb6ac
children ad4b9d7eae6a
line wrap: on
line diff
--- a/macros.xml	Sat Jun 25 15:06:43 2016 -0400
+++ b/macros.xml	Sat Jun 25 16:44:39 2016 -0400
@@ -28,6 +28,43 @@
 This Galaxy tool relies on the JBrowse, maintained by the GMOD Community. The Galaxy wrapper is developed by Eric Rasche
 ]]>
   </token>
+  
+  <xml name="genome_selector"
+    token_help=""
+    token_label="Fasta sequences"
+    token_optional="False" >
+    <conditional name="reference_genome">
+        <param help="Built-in references" label="Reference genome to display" name="genome_type_select" type="select">
+            <option selected="True" value="indexed">Use a built-in genome</option>
+            <option value="history">Use a genome from history</option>
+        </param>
+        <when value="indexed">
+            <param 
+              help="@HELP@"
+              label="@LABEL@"
+              name="genomes"
+              type="select"
+              optional="@OPTIONAL@"
+              >
+                <options from_data_table="all_fasta">
+                    <filter column="2" type="sort_by" />
+                    <validator message="No genomes are available for the selected input dataset" type="no_options" />
+                </options>
+            </param>
+        </when>
+        <when value="history">
+            <param 
+              format="fasta"
+              label="@LABEL@"
+              help="@HELP@"
+              name="genomes"
+              type="data"
+              optional="@OPTIONAL@"
+              multiple="True" />
+        </when>
+    </conditional>
+  </xml>
+  
   <xml name="auto_manual_tk"
       token_cond_label="Color"
       token_cond_name="color"
@@ -220,8 +257,8 @@
   </xml>
   <xml name="track_styling"
        token_classname="feature"
-       token_label="name,id"
-       token_description="note,description"
+       token_label="prodcut,name,id"
+       token_description="note"
        token_height="100px">
     <section name="jbstyle" title="JBrowse Styling Options [Advanced]" expanded="false">
         <param label="JBrowse style.className" type="text"