diff bowtie2_macros.xml @ 23:17062a0decb7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
author iuc
date Wed, 06 Jun 2018 17:23:32 -0400
parents 66f992977578
children 09b2cdb7ace5
line wrap: on
line diff
--- a/bowtie2_macros.xml	Thu Apr 12 17:42:40 2018 -0400
+++ b/bowtie2_macros.xml	Wed Jun 06 17:23:32 2018 -0400
@@ -323,4 +323,20 @@
         <param name="unaligned_file" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write unaligned reads (in fastq format) to separate file(s)" help="--un/--un-conc (possibly with -gz or -bz2); This triggers --un parameter for single reads and --un-conc for paired reads" />
         <param name="aligned_file" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write aligned reads (in fastq format) to separate file(s)" help="--al/--al-conc (possibly with -gz or -bz2); This triggers --al parameter for single reads and --al-conc for paired reads" />
     </xml>
+    <xml name="dbKeyActions">
+        <conditional name="reference_genome.source">
+            <when value="indexed">
+                <action type="metadata" name="dbkey">
+                     <option type="from_data_table" name="bowtie2_indexes" column="1">
+                        <filter type="param_value" ref="reference_genome.index" column="0"/>
+                    </option>
+                </action>
+            </when>
+            <when value="history">
+                <action type="metadata" name="dbkey">
+                    <option type="from_param" name="reference_genome.own_file" param_attribute="dbkey" />
+                </action>
+            </when>
+        </conditional>
+    </xml>
 </macros>