comparison topGO.xml @ 0:472ad7da3d92 draft

planemo upload commit 9f9e8b72a239e58b5087b2b3737262c25cc2671e-dirty
author proteore
date Mon, 04 Dec 2017 09:39:21 -0500
parents
children 6788a57c5cb5
comparison
equal deleted inserted replaced
-1:000000000000 0:472ad7da3d92
1 <tool id="topGO" name="topGO enrichment analysis" version="0.1.0">
2 <description>
3 performs enrichment analysis using R package topGO
4 </description>
5 <requirements>
6 <requirement type="package" version="1.54.0">bioconductor-graph</requirement>
7 <requirement type="package" version="2.28.0">bioconductor-topgo</requirement>
8 </requirements>
9 <stdio>
10 <exit_code range="1:" />
11 </stdio>
12 <command><![CDATA[
13
14 #if $inputtype.filetype == "file_all":
15 Rscript --vanilla $__tool_directory__/enrichment_v3.R --inputtype tabfile --input '$inputtype.genelist' --ontology '$ontocat' --option '$option' --threshold '$threshold' --correction '$correction' --textoutput '$condtext.textoutput' --barplotoutput '$condbar.barplotoutput' --dotplotoutput '$conddot.dotplotoutput' --column '$inputtype.column' --geneuniverse '$geneuniverse' --header '$inputtype.header'
16 #end if
17
18
19 #if $inputtype.filetype == "copy_paste":
20 Rscript --vanilla $__tool_directory__/enrichment_v3.R --inputtype copypaste --input '$inputtype.genelist' --ontology '$ontocat' --option '$option' --threshold '$threshold' --correction '$correction' --textoutput '$condtext.textoutput' --barplotoutput '$condbar.barplotoutput' --dotplotoutput '$conddot.dotplotoutput' --column c1 --geneuniverse '$geneuniverse' --header None
21
22 #end if
23
24
25
26 ]]></command>
27
28 <inputs>
29 <conditional name="inputtype">
30 <param name="filetype" type="select" label="Select your type of input file" help="The identifiers must be Ensembl gene IDs (e.g : ENSG00000139618). If it is not the case, please use the ID Mapping tool.">
31 <option value="file_all">Input file containing your identifiers</option>
32 <option value="copy_paste">Copy/paste your list of IDs</option>
33 </param>
34 <when value="copy_paste">
35 <param name="genelist" type="text" label="Enter a list of identifiers"/>
36 </when>
37 <when value="file_all">
38 <param name="genelist" type="data" format="txt,tabular" label="Choose an input file" help="This file must imperatively have 1 column filled with IDs consistent with the database that will be used. Please use the MappingIDs component if this is not the case."/>
39 <param name="column" type="text" label="Please specify the column where you would like to apply the comparison (e.g : Enter c1)" value="c1"/>
40
41 <param name="header" type="select" label="Does your file have a header?" multiple="false" optional="false">
42 <option value="TRUE" selected="true">Yes</option>
43 <option value="FALSE" selected="false">No</option>
44 </param>
45 </when>
46 </conditional>
47 <param name="geneuniverse" type="select" label="Select a specie">
48 <option value="org.At.tair.db" >Arabidopsis</option>
49 <option value="org.Ce.eg.db" >C.elegans</option>
50 <option value="org.Dm.eg.db" >Fly</option>
51 <option value="org.Hs.eg.db" selected="true">Human</option>
52 <option value="org.Mm.eg.db" >Mouse</option>
53 <option value="org.Sc.sqd.db" >Yeast</option>
54 </param>
55
56 <param name="ontocat" type="select" label="Ontology category">
57 <option value="BP" >Biological Process</option>
58 <option value="CC" >Cellular Component</option>
59 <option value="MF" >Molecular Function</option>
60 </param>
61
62 <param name="option" type="select" label="Choose the topGO option for your analysis">
63 <option value="classic" >Classic fisher test</option>
64 <option value="elim" selected="true">Elim</option>
65 <option value="weight01" >Weight01</option>
66 <option value="parentchild" >ParentChild</option>
67 </param>
68 <param name="threshold" type="text" label="Enter the p-value threshold level under the form 1e-level wanted (e.g : 1e-3)" value="1e-3"/>
69 <param name="correction" label="Choose a correction for multiple testing" type="select">
70 <option value="none" >None</option>
71 <option value="holm">Holm correction</option>
72 <option value="hochberg" >Hochberg correction</option>
73 <option value="hommel" >Hommel correction</option>
74 <option value="bonferroni" >Bonferroni correction</option>
75 <option value="BH" selected="true">Benjamini and Hochberg</option>
76 <option value="BY" >Benjamini and Yekutieli</option>
77 <option value="fdr" >FDR</option>
78 </param>
79 <conditional name="condtext">
80 <param name="textoutput" type="select" label="Generate a text file for results">
81 <option value="TRUE">Yes</option>
82 <option value="FALSE">No</option>
83 </param>
84 <when value="TRUE"/>
85 <when value="FALSE"/>
86 </conditional>
87 <conditional name="condbar">
88 <param name="barplotoutput" type="select" label="Generate a barplot of over-represented GO terms">
89 <option value="TRUE">Yes</option>
90 <option value="FALSE">No</option>
91 </param>
92 <when value="TRUE"/>
93 <when value="FALSE"/>
94 </conditional>
95 <conditional name="conddot">
96 <param name="dotplotoutput" type="select" label="Generate a dotplot of over-represented GO terms">
97 <option value="TRUE">Yes</option>
98 <option value="FALSE">No</option>
99 </param>
100 <when value="TRUE"/>
101 <when value="FALSE"/>
102 </conditional>
103 </inputs>
104 <outputs>
105
106 <data name="outputtext" format="tabular" label="Text output for topGO analysis $ontocat category" from_work_dir="result.csv">
107 <filter>condtext['textoutput']=="TRUE"</filter>
108 </data>
109
110 <data name="outputbarplot" format="png" label="Barplot output for topGO analysis $ontocat category" from_work_dir="barplot.png">
111 <filter>condbar['barplotoutput']=="TRUE"</filter>
112 </data>
113
114 <data name="outputdotplot" format="png" label="Dotplot output for topGO analysis $ontocat category" from_work_dir="dotplot.png">
115 <filter>conddot['dotplotoutput']=="TRUE"</filter>
116 </data>
117
118 </outputs>
119 <tests>
120 <test>
121 <conditional name="inputtype">
122 <param name="filetype " value="tabfile"/>
123 <param name="genelist" value="prot_reactome_EGFR_mapped_ensg.txt"/>
124 <param name="column" value="c1"/>
125 <param name="header" value="FALSE"/>
126 </conditional>
127 <param name="ontocat" value="BP"/>
128 <param name="option" value="elim"/>
129 <param name="threshold" value="1e-3"/>
130 <param name="correction" value="BH"/>
131 <conditional name="condtext">
132 <param name="textoutput" value="TRUE"/>
133 </conditional>
134 <conditional name="condbar">
135 <param name="barplotoutput" value="TRUE"/>
136 </conditional>
137 <conditional name="conddot">
138 <param name="dotoutput" value="TRUE"/>
139 </conditional>
140 <param name="geneuniverse" value="org.Hs.eg.db"/>
141 <output name="outputtext" file="Text_output_for_topGO_analysis.txt"/>
142 <output name="outputbarplot" file="Barplot_output_for_topGO_analysis.png"/>
143 <output name="outputdotplot" file="Dotplot_output_for_topGO_analysis.png"/>
144 </test>
145 </tests>
146 <help><![CDATA[
147
148
149 **Galaxy component based on R package topGO.**
150
151 **Input required**
152
153 This component works with Ensembl gene ids (e.g : ENSG0000013618). You can
154 copy/paste these identifiers or supply a tabular file (.csv, .tsv, .txt, .tab)
155 where there are contained.
156
157 **Principle**
158
159 This component provides the GO terms representativity of a gene list in one ontology category (Biological Process "BP", Cellular Component "CC", Molecular Function "MF"). This representativity is evaluated in comparison to the background list of all human genes associated associated with GO terms of the chosen category (BP,CC,MF). This background is given by the R package "org.Hs.eg.db", which is a genome wide association package for **human**.
160
161 **Output**
162
163 Three kind of outputs are available : a textual output, a barplot output and
164 a dotplot output.
165
166 *Textual output* :
167 The text output lists all the GO-terms that were found significant under the specified threshold.
168
169
170 The different fields are as follow :
171
172 - Annotated : number of genes in org.Hs.eg.db which are annotated with the GO-term.
173
174 - Significant : number of genes belonging to your input which are annotated with the GO-term.
175
176 - Expected : show an estimate of the number of genes a node of size Annotated would have if the significant genes were to be randomly selected from the gene universe.
177
178 - pvalues : pvalue obtained after the test
179
180 - ( qvalues : additional column with adjusted pvalues )
181
182
183 **Tests**
184
185 topGO provides a classic fisher test for evaluating if some GO terms are over-represented in your gene list, but other options are also provided (elim, weight01,parentchild). For the merits of each option and their algorithmic descriptions, please refer to topGO manual :
186 https://bioconductor.org/packages/release/bioc/vignettes/topGO/inst/doc/topGO.pdf
187
188 **Multiple testing corrections**
189
190 Furthermore, the following corrections for multiple testing can also be applied :
191 - holm
192 - hochberg
193 - hommel
194 - bonferroni
195 - BH
196 - BY
197 - fdr
198
199 **Authors**
200
201 Alexa A and Rahnenfuhrer J (2016). topGO: Enrichment Analysis for Gene Ontology. R package version 2.30.0.
202
203 **Galaxy integration**
204
205 Lisa Peru, T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR
206
207 Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit, Migale Bioinformatics platform
208
209 This work has been partially funded through the French National Agency for Research (ANR) IFB project.
210
211 Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool.
212
213 ]]></help>
214 <citations>
215 </citations>
216
217 </tool>