comparison r_clustering.xml @ 0:76c750c5f0d1 draft default tip

planemo upload for repository https://github.com/oinizan/FROGS-wrappers commit 0b900a51e220ce6f17c1e76292c06a5f4d934055-dirty
author frogs
date Thu, 25 Oct 2018 05:01:13 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:76c750c5f0d1
1 <?xml version="1.0"?>
2 <!--
3 # Copyright (C) 2017 INRA
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 -->
18 <tool name="FROGSSTAT Phyloseq Sample Clustering" id="FROGSSTAT_Phyloseq_Sample_Clustering" version="1.0.0">
19 <description>of samples using different linkage methods</description>
20 <requirements>
21 <requirement type="package" version="2.0.1">frogs</requirement>
22 </requirements>
23 <stdio>
24 <exit_code range="1:" />
25 <exit_code range=":-1" />
26 </stdio>
27 <command>r_clustering.py
28 --html $html
29 --rdata $data
30 --varExp $varExp
31 --distance-matrix $method
32 </command>
33 <inputs>
34 <!-- Files -->
35 <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">
36 <validator type="empty_field" message="This parameter is required." />
37 </param>
38 <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">
39 <validator type="empty_field" message="This parameter is required." />
40 </param>
41 <!-- Parameters -->
42 <param name="varExp" type="text" label="Experiment variable" help="The experiment variable that you want to analyse." optional="false" value="" size="40">
43 <validator type="empty_field" message="This parameter is required." />
44 </param>
45 </inputs>
46 <outputs>
47 <data format="html" name="html" label="${tool.name}: clustering.html" from_work_dir="clustering.html"/>
48 </outputs>
49 <tests>
50 <test>
51 <param name="data" value="references/11-phylo_import.Rdata"/>
52 <param name="varExp" value="EnvType"/>
53 <param name="method" value="references/Unifrac.tsv"/>
54 <!--output name="html" file="references/16-phylo_structure.html" compare="sim_size" delta="0" /-->
55 <output name="html">
56 <assert_contents>
57 <has_text_matching expression="html\sxmlns=.*" />
58 <has_text_matching expression="Phyloseq\s+\d+\.\d+\.\d+" />
59 </assert_contents>
60 </output>
61
62 </test>
63 </tests>
64 <help>
65
66 .. image:: static/images/FROGS_logo.png
67 :height: 144
68 :width: 110
69
70 .. class:: infomark page-header h2
71
72 What it does
73
74 Using `phyloseq &lt;https://joey711.github.io/phyloseq/&gt;`_ and customized R function, this tool contructs the clustering plot for cluster analysis with different linkage methods.
75
76
77 .. class:: infomark page-header h2
78
79 Inputs/Outputs
80
81 .. class:: h3
82
83 Input
84
85 **data file** (format RData):
86 The informations of data in one phyloseq object.
87 This is the result of FROGS Phyloseq Import Data tool.
88
89 **distance file** (format tabular):
90 The data file containing beta diversity distance matrix.
91 This file is the result of FROGS Phyloseq Beta Diversity tool.
92
93 .. class:: h3
94
95 Output
96
97 **html file** (format `HTML &lt;https://en.wikipedia.org/wiki/HTML&gt;`_):
98
99 .. container:: row
100
101 .. image:: static/images/phyloseq_clustering_ward.png
102 :height: 576
103 :width: 768
104
105 .. class:: infomark page-header h2
106
107 **Contact**
108
109 Contacts: frogs@inra.fr
110
111 Repository: https://github.com/geraldinepascal/FROGS
112
113 Please cite the FROGS Publication: *Escudie F., Auer L., Bernard M., Cauquil L., Vidal K., Maman S., Mariadassou M., Combes S., Hernandez-Raquet G., Pascal G., 2016. FROGS: Find Rapidly OTU with Galaxy Solution. In: ISME-2016 Montreal, CANADA ,* http://bioinfo.genotoul.fr/wp-content/uploads/FROGS_ISME2016_poster.pdf
114
115 Depending on the help provided you can cite us in acknowledgements, references or both.
116
117 </help>
118 <citations>
119 <citation type="doi">10.7287/peerj.preprints.386v1</citation>
120 </citations>
121 </tool>