diff biom_convert.xml @ 2:584008e574b2 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit f1b3e36f79747fca391321389276ac196d3f7cd0"
author iuc
date Fri, 24 Jan 2020 16:40:37 -0500
parents 0de92f0b96ef
children bd46669113b9
line wrap: on
line diff
--- a/biom_convert.xml	Wed Sep 11 12:40:19 2019 -0400
+++ b/biom_convert.xml	Fri Jan 24 16:40:37 2020 -0500
@@ -1,4 +1,4 @@
-<tool id="biom_convert" name="Convert" version="@VERSION@.2">
+<tool id="biom_convert" name="Convert" version="@VERSION@.3">
     <description>between BIOM table formats</description>
     <macros>
         <import>macros.xml</import>
@@ -24,9 +24,9 @@
                 #end if
                 #if str( $output.type_selector ) == "tsv"
                     --to-tsv
-                    #if $output_type.header_key
+                    #if $output.header_key
                         --header-key '$output.header_key'
-                        #if $output_type.output_metadata_id
+                        #if $output.output_metadata_id
                             --output-metadata-id '$output.output_metadata_id'
                         #end if
                         --tsv-metadata-formatter '$output.tsv_metadata_formatter'
@@ -152,6 +152,19 @@
             </conditional>
             <output name="output_fp" file="output_1.biom1.re" ftype="biom1" compare="re_match"/>
         </test>
+        <test>
+            <conditional name="input">
+                <param name="type_selector" value="biom"/>
+                <param name="input_fp" value="input_abundance_1.biom1" ftype="biom1"/>
+            </conditional>
+            <conditional name="output">
+                <param name="type_selector" value="tsv"/>
+                <param name="header_key"/>
+                <param name="output_metadata_id"/>
+                <param name="tsv_metadata_formatter" value="naive"/>
+            </conditional>
+            <output name="output_fp" file="output_abundance_1.tabular" ftype="tabular" />
+        </test>
     </tests>
     <help><![CDATA[