annotate qiime2/qiime_feature-table_merge.xml @ 0:370e0b6e9826 draft

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