Mercurial > repos > frogs > frogs_3_1_0
comparison r_clustering.xml @ 0:59bc96331073 draft default tip
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.1.0 commit 08296fc88e3e938c482c631bd515b3b7a0499647
author | frogs |
---|---|
date | Thu, 28 Feb 2019 10:14:49 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:59bc96331073 |
---|---|
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="3.1"> | |
19 <description>of samples using different linkage methods</description> | |
20 <requirements> | |
21 <requirement type="package" version="3.1.0">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/14-phylo_import.Rdata"/> | |
52 <param name="varExp" value="EnvType"/> | |
53 <param name="method" value="references/Unifrac.tsv"/> | |
54 <!--output name="html" file="references/19-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_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 <https://joey711.github.io/phyloseq/>`_ 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 <https://en.wikipedia.org/wiki/HTML>`_): | |
98 | |
99 .. container:: row | |
100 | |
101 .. image:: static/images/frogs_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 website: http://frogs.toulouse.inra.fr/ | |
113 | |
114 Please cite the **FROGS article**: *Escudie F., et al. Bioinformatics, 2018. FROGS: Find, Rapidly, OTUs with Galaxy Solution.* | |
115 | |
116 </help> | |
117 <citations> | |
118 <citation type="doi">10.1093/bioinformatics/btx791</citation> | |
119 </citations> | |
120 | |
121 </tool> |