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