29
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_feature-table_merge-taxa" name="qiime feature-table merge-taxa"
|
|
3 version="2020.8">
|
|
4 <description>Combine collections of feature taxonomies</description>
|
|
5 <requirements>
|
|
6 <requirement type="package" version="2020.8">qiime2</requirement>
|
|
7 </requirements>
|
|
8 <command><![CDATA[
|
|
9 qiime feature-table merge-taxa
|
|
10 # if $input_files_idata:
|
|
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 --i-data=$list_dict_to_string($input_files_idata)
|
|
19 # end if
|
|
20
|
|
21 --o-merged-data=omergeddata
|
|
22
|
|
23 #if str($examples) != 'None':
|
|
24 --examples=$examples
|
|
25 #end if
|
|
26
|
|
27 ;
|
|
28 cp omergeddata.qza $omergeddata
|
|
29
|
|
30 ]]></command>
|
|
31 <inputs>
|
|
32 <repeat name="input_files_idata" optional="False" title="--i-data">
|
|
33 <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" />
|
|
34 </repeat>
|
|
35 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
|
|
36
|
|
37 </inputs>
|
|
38
|
|
39 <outputs>
|
|
40 <data format="qza" label="${tool.name} on ${on_string}: mergeddata.qza" name="omergeddata" />
|
|
41
|
|
42 </outputs>
|
|
43
|
|
44 <help><![CDATA[
|
|
45 Combine collections of feature taxonomies
|
|
46 ###############################################################
|
|
47
|
|
48 Combines a pair of feature data objects which may or may not contain data
|
|
49 for the same features. If different feature data is present for the same
|
|
50 feature id in the inputs, the data from the first will be propagated to the
|
|
51 result.
|
|
52
|
|
53 Parameters
|
|
54 ----------
|
|
55 data : List[FeatureData[Taxonomy]]
|
|
56 The collection of feature taxonomies to be merged.
|
|
57
|
|
58 Returns
|
|
59 -------
|
|
60 merged_data : FeatureData[Taxonomy]
|
|
61 The resulting collection of feature taxonomies containing all feature
|
|
62 taxonomies provided.
|
|
63 ]]></help>
|
|
64 <macros>
|
|
65 <import>qiime_citation.xml</import>
|
|
66 </macros>
|
|
67 <expand macro="qiime_citation"/>
|
|
68 </tool> |