forked from geraldinepascal/FROGS-wrappers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
r_manova.xml
executable file
·115 lines (94 loc) · 4.17 KB
/
r_manova.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0"?>
<!--
# Copyright (C) 2017 INRA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<tool name="FROGSSTAT Phyloseq Multivariate Analysis Of Variance" id="FROGSSTAT_Phyloseq_Multivariate_Analysis_Of_Variance" version="3.1">
<description>perform Multivariate Analysis of Variance (MANOVA)</description>
<requirements>
<requirement type="package" version="3.1.0">frogs</requirement>
</requirements>
<stdio>
<exit_code range="1:" />
<exit_code range=":-1" />
</stdio>
<command>r_manova.py
--rdata $data
--varExp "$varExp"
--distance-matrix $method
--html $html
</command>
<inputs>
<!-- Files -->
<param format="rdata" name="data" type="data" label="Phyloseq object (format rdata)" help="This is the result of FROGS Phyloseq Import Data tool." optional="false">
<validator type="empty_field" message="This parameter is required." />
</param>
<param name="method" format="tabular" type="data" label="The beta diversity distance matrix file" help="This file is the result of FROGS Phyloseq Beta Diversity tool." optional="false">
<validator type="empty_field" message="This parameter is required." />
</param>
<!-- Parameters -->
<param name="varExp" type="text" label="Experiment variable" help="The experiment variable that you want to analyse." optional="false" value="" size="40">
<validator type="empty_field" message="This parameter is required." />
</param>
</inputs>
<outputs>
<data format="html" name="html" label="${tool.name}: manova.html" from_work_dir="manova.html"/>
</outputs>
<tests>
<test>
<param name="data" value="references/14-phylo_import.Rdata"/>
<param name="varExp" value="EnvType"/>
<param name="method" value="references/Unifrac.tsv"/>
<!--output name="html" file="references/20-phylo_structure.html" compare="sim_size" delta="0" /-->
<output name="html">
<assert_contents>
<has_text_matching expression="html\sxmlns=.*" />
<has_text_matching expression="Phyloseq\s+\d+\.\d+\.\d+" />
</assert_contents>
</output>
</test>
</tests>
<help>
.. image:: static/images/frogs_images/FROGS_logo.png
:height: 144
:width: 110
.. class:: infomark page-header h2
What it does
Using `phyloseq <https://joey711.github.io/phyloseq/>`_ and `vegan <https://cran.r-project.org/web/packages/vegan/index.html>`_ functions to perform Multivariate Analysis of Variance (MANOVA)
.. class:: infomark page-header h2
Inputs/Outputs
.. class:: h3
Input
**data file** (format RData):
The informations of data in one phyloseq object.
This is the result of FROGS Phyloseq Import Data tool.
**distance file** (format tabular):
The data file containing beta diversity distance matrix.
This file is the result of FROGS Phyloseq Beta Diversity tool.
.. class:: h3
Output
**html file** (format `HTML <https://en.wikipedia.org/wiki/HTML>`_): The review of Manova test.
.. image:: static/images/frogs_images/phyloseq_manova.png
.. class:: infomark page-header h2
**Contact**
Contacts: [email protected]
Repository: https://github.com/geraldinepascal/FROGS
website: http://frogs.toulouse.inra.fr/
Please cite the **FROGS article**: *Escudie F., et al. Bioinformatics, 2018. FROGS: Find, Rapidly, OTUs with Galaxy Solution.*
</help>
<citations>
<citation type="doi">10.1093/bioinformatics/btx791</citation>
</citations>
</tool>