Mercurial > repos > frogs > frogs_3_1_0
comparison r_structure.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 Structure Visualisation" id="FROGSSTAT_Phyloseq_Structure_Visualisation" version="3.1"> | |
| 19 <description>with heatmap plot and ordination plot</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_structure.py | |
| 28 --html $html | |
| 29 --rdata $data | |
| 30 --varExp $varExp | |
| 31 --ordination-method $method | |
| 32 --distance-matrix $distance | |
| 33 </command> | |
| 34 <inputs> | |
| 35 <!-- Files --> | |
| 36 <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"> | |
| 37 <validator type="empty_field" message="This parameter is required." /> | |
| 38 </param> | |
| 39 <param name="distance" format="tabular" type="data" label="The beta diversity distance matrix file" help="These file is the result of FROGS Phyloseq Beta Diversity tool." optional="false"> | |
| 40 <validator type="empty_field" message="This parameter is required." /> | |
| 41 </param> | |
| 42 <!-- Parameters --> | |
| 43 <param name="varExp" type="text" label="Experiment variable" help="The experiment variable that you want to analyse." optional="false" value="" size="40"> | |
| 44 <validator type="empty_field" message="This parameter is required." /> | |
| 45 </param> | |
| 46 <param name="method" type="select" label="Ordination method"> | |
| 47 <option value="MDS" >MDS/PCoA</option> | |
| 48 <option value="NMDS" >NMDS</option> | |
| 49 <option value="DPCoA" >DPCoA</option> | |
| 50 </param> | |
| 51 </inputs> | |
| 52 <outputs> | |
| 53 <data format="html" name="html" label="${tool.name}: structure.html" from_work_dir="structure.html"/> | |
| 54 </outputs> | |
| 55 <tests> | |
| 56 <test> | |
| 57 <param name="data" value="references/14-phylo_import.Rdata" /> | |
| 58 <param name="varExp" value="EnvType" /> | |
| 59 <param name="method" value="MDS" /> | |
| 60 <param name="distance" value="references/Unifrac.tsv" /> | |
| 61 <!--output name="html" file="references/18-phylo_structure.html" compare="sim_size" delta="10" /--> | |
| 62 <output name="html"> | |
| 63 <assert_contents> | |
| 64 <has_text_matching expression="html\sxmlns=.*" /> | |
| 65 <has_text_matching expression="application/json.*DesLardons" /> | |
| 66 </assert_contents> | |
| 67 </output> | |
| 68 | |
| 69 </test> | |
| 70 </tests> | |
| 71 <help> | |
| 72 | |
| 73 .. image:: static/images/frogs_images/FROGS_logo.png | |
| 74 :height: 144 | |
| 75 :width: 110 | |
| 76 | |
| 77 .. class:: infomark page-header h2 | |
| 78 | |
| 79 What it does | |
| 80 | |
| 81 Using `phyloseq <https://joey711.github.io/phyloseq/>`_ and customized R function, this tool constructs heatmap plot and ordination plot with the `ordination methods <https://www.bioconductor.org/packages/release/bioc/vignettes/phyloseq/inst/doc/phyloseq-analysis.html#ordination-methods>`_ to visualise data structure. | |
| 82 | |
| 83 .. class:: infomark page-header h2 | |
| 84 | |
| 85 Inputs/Outputs | |
| 86 | |
| 87 .. class:: h3 | |
| 88 | |
| 89 Input | |
| 90 | |
| 91 **data file** (format rdata): | |
| 92 The informations of data in one phyloseq object. | |
| 93 This file is the result of "FROGS Phyloseq Import Data tool". | |
| 94 | |
| 95 **distance file** (format tabular): | |
| 96 The data file containing beta diversity distance matrix. | |
| 97 This file is the result of "FROGS Phyloseq Beta Diversity tool". | |
| 98 | |
| 99 .. class:: h3 | |
| 100 | |
| 101 Output | |
| 102 | |
| 103 **html file** (format `HTML <https://en.wikipedia.org/wiki/HTML>`_): | |
| 104 | |
| 105 The review of data structure with an ordination plot and with an heatmap plot: | |
| 106 | |
| 107 .. image:: static/images/frogs_images/phyloseq_plot_sample_ellipse.png | |
| 108 :height: 343 | |
| 109 :width: 450 | |
| 110 | |
| 111 .. image:: static/images/frogs_images/phyloseq_plot_heatmap_red.png | |
| 112 :height: 343 | |
| 113 :width: 450 | |
| 114 | |
| 115 .. class:: infomark page-header h2 | |
| 116 | |
| 117 **Contact** | |
| 118 | |
| 119 Contacts: frogs@inra.fr | |
| 120 | |
| 121 Repository: https://github.com/geraldinepascal/FROGS | |
| 122 website: http://frogs.toulouse.inra.fr/ | |
| 123 | |
| 124 Please cite the **FROGS article**: *Escudie F., et al. Bioinformatics, 2018. FROGS: Find, Rapidly, OTUs with Galaxy Solution.* | |
| 125 | |
| 126 </help> | |
| 127 <citations> | |
| 128 <citation type="doi">10.1093/bioinformatics/btx791</citation> | |
| 129 </citations> | |
| 130 | |
| 131 </tool> |
