diff qiime2/qiime_feature-table_merge-taxa.xml @ 29:3ba9833030c1 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 13:12:49 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime2/qiime_feature-table_merge-taxa.xml	Fri Sep 04 13:12:49 2020 +0000
@@ -0,0 +1,68 @@
+<?xml version="1.0" ?>
+<tool id="qiime_feature-table_merge-taxa" name="qiime feature-table merge-taxa"
+      version="2020.8">
+  <description>Combine collections of feature taxonomies</description>
+  <requirements>
+    <requirement type="package" version="2020.8">qiime2</requirement>
+  </requirements>
+  <command><![CDATA[
+qiime feature-table merge-taxa
+# if $input_files_idata:
+  # def list_dict_to_string(list_dict):
+    # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
+    # for d in list_dict[1:]:
+      # set $file_list = $file_list + ' --i-data=' + d['additional_input'].__getattr__('file_name')
+    # end for
+    # return $file_list
+  # end def
+--i-data=$list_dict_to_string($input_files_idata)
+# end if
+
+--o-merged-data=omergeddata
+
+#if str($examples) != 'None':
+--examples=$examples
+#end if
+
+;
+cp omergeddata.qza $omergeddata
+
+  ]]></command>
+  <inputs>
+    <repeat name="input_files_idata" optional="False" title="--i-data">
+      <param format="qza,no_unzip.zip" label="--i-data: ARTIFACTS... List[FeatureData[Taxonomy]] The collection of feature taxonomies to be merged. [required]" name="additional_input" optional="False" type="data" />
+    </repeat>
+    <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
+    
+  </inputs>
+
+  <outputs>
+    <data format="qza" label="${tool.name} on ${on_string}: mergeddata.qza" name="omergeddata" />
+    
+  </outputs>
+
+  <help><![CDATA[
+Combine collections of feature taxonomies
+###############################################################
+
+Combines a pair of feature data objects which may or may not contain data
+for the same features. If different feature data is present for the same
+feature id in the inputs, the data from the first will be propagated to the
+result.
+
+Parameters
+----------
+data : List[FeatureData[Taxonomy]]
+    The collection of feature taxonomies to be merged.
+
+Returns
+-------
+merged_data : FeatureData[Taxonomy]
+    The resulting collection of feature taxonomies containing all feature
+    taxonomies provided.
+  ]]></help>
+  <macros>
+    <import>qiime_citation.xml</import>
+  </macros>
+  <expand macro="qiime_citation"/>
+</tool>
\ No newline at end of file