diff macros.xml @ 2:800f8086da7d draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc commit 908fb9148a3a116dbf7ccd16e0992e7882e748c2
author iuc
date Tue, 30 Apr 2024 08:38:15 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Tue Apr 30 08:38:15 2024 +0000
@@ -0,0 +1,30 @@
+<macro>
+    <xml name="reference_genome_input">
+        <conditional name="reference_genome">
+          <param name="source" type="select" label="Source for the reference genome" help="Built-in references were created using default options.">
+            <option value="indexed" selected="true">Use a built-in genome</option>
+            <option value="history">Use a genome from history</option>
+          </param>
+          <when value="indexed">
+            <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact the Galaxy team.">
+                <options from_data_table="fasta_indexes">
+                    <filter type="sort_by" column="2" />
+                    <validator type="no_options" message="No genomes are available for the selected input dataset" />
+                </options>
+            </param>
+          </when>
+          <when value="history">
+            <param name="fasta" type="data" format="fasta,fasta.gz"
+              label="Reference genome fasta file"
+              help="The reference genome is required for long-read optimization."
+            />
+          </when>
+        </conditional>
+      </xml>
+
+    <xml name="creator">
+        <creator>
+            <organization name="Galaxy Australia" url="https://site.usegalaxy.org.au"/>
+        </creator>
+    </xml>
+</macro>
\ No newline at end of file