annotate qiime2/qiime_composition_ancom.xml @ 3:558645416841 draft

Uploaded
author florianbegusch
date Sun, 21 Jul 2019 02:21:34 -0400
parents 51025741f326
children de4c22a52df4
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_composition_ancom" name="qiime composition ancom" version="2019.4">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Apply ANCOM to identify features that differ in abundance.</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 composition ancom
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10 --i-table=$itable
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11
2
51025741f326 Uploaded
florianbegusch
parents: 0
diff changeset
12 #if $input_files_mmetadatafile:
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13 #def list_dict_to_string(list_dict):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
14 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
15 #for d in list_dict[1:]:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
16 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
17 #end for
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18 #return $file_list
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
19 #end def
2
51025741f326 Uploaded
florianbegusch
parents: 0
diff changeset
20 #end if
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile) --m-metadata-column="$mmetadatacolumn"
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24 #if str($pdifferencefunction) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25 --p-difference-function=$pdifferencefunction
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 #if str($ptransformfunction) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 --p-transform-function=$ptransformfunction
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32 --o-visualization=ovisualization;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35 && cp -r out/* '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
36 && mv '$ovisualization.files_path/index.html' '$ovisualization'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
38 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
39 <param format="qza,no_unzip.zip" label="--i-table: FeatureTable[Composition] - The feature table to be used for ANCOM computation. [required]" name="itable" optional="False" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
41 <param format="tabular" label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [required]" name="additional_input" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42 </repeat>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 <param label="--m-metadata-column: MetadataColumn[Categorical] - Column from metadata file or artifact viewable as metadata. The categorical sample metadata column to test for differential abundance across. [required]" name="mmetadatacolumn" optional="False" type="text"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 <param label="--p-difference-function: " name="pdifferencefunction" optional="True" type="select">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45 <option selected="True" value="None">Selection is Optional</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46 <option value="mean_difference">mean_difference</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47 <option value="f_statistic">f_statistic</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49 <param label="--cmd-config: Use config file for command options" name="cmdconfig" optional="True" type="data"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50 <param label="--p-transform-function: " name="ptransformfunction" optional="True" type="select">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51 <option selected="True" value="None">Selection is Optional</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 <option value="log">log</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 <option value="clr">clr</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54 <option value="sqrt">sqrt</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
59 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
61 Apply ANCOM to identify features that differ in abundance.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
62 ##########################################################
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
63
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
64 Apply Analysis of Composition of Microbiomes (ANCOM) to identify features
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
65 that are differentially abundant across groups.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
66
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
67 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
68 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
69 table : FeatureTable[Composition]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
70 The feature table to be used for ANCOM computation.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
71 metadata : MetadataColumn[Categorical]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
72 The categorical sample metadata column to test for differential
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
73 abundance across.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
74 transform_function : Str % Choices('sqrt', 'log', 'clr'), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
75 The method applied to transform feature values before generating
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
76 volcano plots.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
77 difference_function : Str % Choices('mean_difference', 'f_statistic'), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
78 The method applied to visualize fold difference in feature abundances
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
79 across groups for volcano plots.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
80
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
81 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
82 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
83 visualization : Visualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
84 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
85 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
86 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
87 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
88 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
89 </tool>