diff jbrowse.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/jbrowse.xml	Sat Jun 25 15:06:43 2016 -0400
+++ b/jbrowse.xml	Sat Jun 25 16:44:39 2016 -0400
@@ -1,4 +1,4 @@
-<tool id="jbrowse" name="JBrowse" version="0.5">
+<tool id="jbrowse" name="JBrowse" version="0.5.2">
   <description>genome browser</description>
   <macros>
     <import>macros.xml</import>
@@ -72,11 +72,13 @@
     <metadata>
         <gencode>$gencode</gencode>
         <genomes>
-            #if str($action.genomes) != "None":
-            #for $genome in $action.genomes:
-                <genome>$genome</genome>
-            #end for
-            #end if
+              #if str($action.reference_genome.genome_type_select) == "indexed":
+                <genome>${action.reference_genome.genomes.fields.path}</genome>
+              #else
+                #for $genome in $action.reference_genome.genomes:
+                    <genome>$genome</genome>
+                #end for
+              #end if
         </genomes>
         <general>
             <defaultLocation>${jbgen.defaultLocation}</defaultLocation>
@@ -224,20 +226,13 @@
             <option value="update">Update exising JBrowse Instance</option>
         </param>
         <when value="create">
-            <param label="Fasta Sequence(s)"
-                   name="genomes"
-                   type="data"
-                   format="fasta"
-                   multiple="True"/>
+            <expand macro="genome_selector" />
        </when>
         <when value="update">
-            <param label="Additional Fasta Sequence(s)"
-                   help="If sequences are selected, they will be added to the existing JBrowse instance. You should not select any sequences if you are simply updating an existing JBrowse instance which already has the required reference sequences."
-                   name="genomes"
-                   type="data"
-                   format="fasta"
-                   optional="True"
-                   multiple="True"/>
+            <expand macro="genome_selector"
+              label="Additional Fasta Sequence(s)"
+              help="If sequences are selected, they will be added to the existing JBrowse instance. You should not select any sequences if you are simply updating an existing JBrowse instance which already has the required reference sequences."
+              optional="True"/>
             <param label="Previous JBrowse Instance"
                    name="update_jbrowse"
                    type="data"