0
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_feature-table_merge" name="qiime feature-table merge" version="2019.4">
|
|
3 <description> - Combine multiple tables</description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2019.4">qiime2</requirement>
|
|
6 </requirements>
|
|
7 <command><![CDATA[
|
|
8 qiime feature-table merge
|
|
9
|
2
|
10 #if $input_files_itables:
|
0
|
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-tables=' + d['additional_input'].__getattr__('file_name')
|
|
15 #end for
|
|
16 #return $file_list
|
|
17 #end def
|
|
18 --i-tables=$list_dict_to_string($input_files_itables)
|
2
|
19 #end if
|
0
|
20
|
|
21
|
|
22 #if str($poverlapmethod) != 'None':
|
|
23 --p-overlap-method=$poverlapmethod
|
|
24 #end if
|
|
25
|
|
26
|
|
27 --o-merged-table=omergedtable
|
|
28 ;
|
|
29 cp omergedtable.qza $omergedtable
|
|
30 ]]></command>
|
|
31 <inputs>
|
|
32 <repeat name="input_files_itables" optional="False" title="--i-tables">
|
|
33 <param format="qza,no_unzip.zip" label="--i-tables: PATH List[FeatureTable[Frequency]] The collection of feature tables to be merged. [required]" name="additional_input" type="data"/>
|
|
34 </repeat>
|
|
35
|
|
36 <param label="--p-overlap-method: " name="poverlapmethod" optional="True" type="select">
|
|
37 <option selected="True" value="None">Selection is Optional</option>
|
|
38 <option value="error_on_overlapping_sample">error_on_overlapping_sample</option>
|
|
39 <option value="error_on_overlapping_feature">error_on_overlapping_feature</option>
|
|
40 <option value="sum">sum</option>
|
|
41 </param>
|
|
42 </inputs>
|
|
43 <outputs>
|
|
44 <data format="qza" label="${tool.name} on ${on_string}: mergedtable.qza" name="omergedtable"/>
|
|
45 </outputs>
|
|
46 <help><![CDATA[
|
|
47 Combine multiple tables
|
|
48 #######################
|
|
49
|
|
50 Combines feature tables using the `overlap_method` provided.
|
|
51
|
|
52 Parameters
|
|
53 ----------
|
|
54 tables : List[FeatureTable[Frequency]]
|
|
55 The collection of feature tables to be merged.
|
|
56 overlap_method : Str % Choices('error_on_overlapping_sample', 'error_on_overlapping_feature', 'sum'), optional
|
|
57 Method for handling overlapping ids.
|
|
58
|
|
59 Returns
|
|
60 -------
|
|
61 merged_table : FeatureTable[Frequency]
|
|
62 The resulting merged feature table.
|
|
63 ]]></help>
|
|
64 <macros>
|
|
65 <import>qiime_citation.xml</import>
|
|
66 </macros>
|
|
67 <expand macro="qiime_citation"/>
|
|
68 </tool>
|