annotate qiime2/qiime_feature-table_merge.xml @ 10:21c7954105a9 draft

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