0
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_feature-table_merge-taxa" name="qiime feature-table merge-taxa" version="2019.4">
|
|
3 <description> - Combine collections of feature taxonomies</description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2019.4">qiime2</requirement>
|
|
6 </requirements>
|
|
7 <command><![CDATA[
|
|
8 qiime feature-table merge-taxa
|
|
9
|
|
10 #def list_dict_to_string(list_dict):
|
|
11 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
|
|
12 #for d in list_dict[1:]:
|
|
13 #set $file_list = $file_list + ' --i-data=' + d['additional_input'].__getattr__('file_name')
|
|
14 #end for
|
|
15 #return $file_list
|
|
16 #end def
|
|
17 --i-data=$list_dict_to_string($input_files_idata)
|
|
18
|
|
19
|
|
20 --o-merged-data=omergeddata
|
|
21 ;
|
|
22 cp omergeddata.qza $omergeddata
|
|
23 ]]></command>
|
|
24 <inputs>
|
|
25 <repeat name="input_files_idata" optional="False" title="--i-data">
|
|
26 <param format="qza,no_unzip.zip" label="--i-data: PATH List[FeatureData[Taxonomy]] The collection of feature taxonomies to be merged. [required]" name="additional_input" type="data"/>
|
|
27 </repeat>
|
|
28 </inputs>
|
|
29 <outputs>
|
|
30 <data format="qza" label="${tool.name} on ${on_string}: mergeddata.qza" name="omergeddata"/>
|
|
31 </outputs>
|
|
32 <help><![CDATA[
|
|
33 Combine collections of feature taxonomies
|
|
34 #########################################
|
|
35
|
|
36 Combines a pair of feature data objects which may or may not contain data
|
|
37 for the same features. If different feature data is present for the same
|
|
38 feature id in the inputs, the data from the first will be propagated to the
|
|
39 result.
|
|
40
|
|
41 Parameters
|
|
42 ----------
|
|
43 data : List[FeatureData[Taxonomy]]
|
|
44 The collection of feature taxonomies to be merged.
|
|
45
|
|
46 Returns
|
|
47 -------
|
|
48 merged_data : FeatureData[Taxonomy]
|
|
49 The resulting collection of feature taxonomies containing all feature
|
|
50 taxonomies provided.
|
|
51 ]]></help>
|
|
52 <macros>
|
|
53 <import>qiime_citation.xml</import>
|
|
54 </macros>
|
|
55 <expand macro="qiime_citation"/>
|
|
56 </tool>
|