annotate qiime2-2020.8/qiime_longitudinal_anova.xml @ 20:d93d8888f0b0 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 12:44:24 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_longitudinal_anova" name="qiime longitudinal anova"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>ANOVA test</description>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
9 qiime longitudinal anova
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10 # if $input_files_mmetadatafile:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 # def list_dict_to_string(list_dict):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 # for d in list_dict[1:]:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14 # set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 # end for
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16 # return $file_list
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 # end def
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 # end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 #if $pformula:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22 --p-formula
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25 #if str($psstype) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 --p-sstype=$psstype
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 --o-visualization=ovisualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 cp ohierarchy.qza $ohierarchy
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 qiime tools export ovisualization.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 && mkdir -p '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 && cp -r out/* '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 && mv '$ovisualization.files_path/index.html' '$ovisualization'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA... (multiple Sample metadata containing formula terms. arguments will be merged) [required]" name="additional_input" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 </repeat>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 <param label="--p-formula: --p-formula: TEXT R-style formula specifying the model. All terms must be present in the sample metadata or metadata-transformable artifacts and can be continuous or categorical metadata columns. Formulae will be in the format \'a ~ b + c\', where \'a\' is the metric (dependent variable) and \'b\' and \'c\' are independent covariates. Use \'+\' to add a variable; \'+ a:b\' to add an interaction between variables a and b; \'*\' to include a variable and all interactions; and \'-\' to subtract a particular term (e.g., an interaction term). See https://patsy.readthedocs.io/en/latest/formulas.html for full documentation of valid formula operators. Always enclose formulae in quotes to avoid unpleasant surprises. [required]" name="pformula" selected="False" type="boolean" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50 <param label="--p-sstype: " name="psstype" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 <option value="I">I</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 <option value="II">II</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 <option value="III">III</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 ANOVA test
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 Perform an ANOVA test on any factors present in a metadata file and/or
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 metadata-transformable artifacts. This is followed by pairwise t-tests to
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 examine pairwise differences between categorical sample groups.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 metadata : Metadata
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 Sample metadata containing formula terms.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 formula : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 R-style formula specifying the model. All terms must be present in the
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 sample metadata or metadata-transformable artifacts and can be
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 continuous or categorical metadata columns. Formulae will be in the
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 format "a ~ b + c", where "a" is the metric (dependent variable) and
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 "b" and "c" are independent covariates. Use "+" to add a variable; "+
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 a:b" to add an interaction between variables a and b; "*" to include a
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 variable and all interactions; and "-" to subtract a particular term
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 (e.g., an interaction term). See
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 https://patsy.readthedocs.io/en/latest/formulas.html for full
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 documentation of valid formula operators. Always enclose formulae in
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 quotes to avoid unpleasant surprises.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 sstype : Str % Choices('I', 'II', 'III'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 Type of sum of squares calculation to perform (I, II, or III).
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94 visualization : Visualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100 </tool>