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