diff hisat2_macros.xml @ 20:6ab42baa56e9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
author iuc
date Wed, 30 May 2018 12:02:20 -0400
parents d5fe9aead222
children 0c16cad5e03b
line wrap: on
line diff
--- a/hisat2_macros.xml	Tue Apr 10 18:41:43 2018 -0400
+++ b/hisat2_macros.xml	Wed May 30 12:02:20 2018 -0400
@@ -27,4 +27,24 @@
         </conditional>
 
     </xml>
+
+    <xml name="dbKeyActions">
+        <actions>
+            <conditional name="reference_genome.source">
+                <when value="indexed">
+                    <action type="metadata" name="dbkey">
+                         <option type="from_data_table" name="hisat2_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.history_item" param_attribute="dbkey" />
+                    </action>
+                </when>
+            </conditional>
+        </actions>
+    </xml>
+
 </macros>
\ No newline at end of file