0
|
1 <macros>
|
2
|
2
|
4
|
3 <token name="@TOOL_VERSION@">1.7.3</token>
|
2
|
4
|
0
|
5 <xml name="requirements">
|
|
6 <requirements>
|
4
|
7 <requirement type="package" version="@TOOL_VERSION@">r-sartools</requirement>
|
0
|
8 </requirements>
|
|
9 </xml>
|
|
10
|
|
11 <xml name="stdio">
|
|
12 <stdio>
|
|
13 <exit_code range="1" level="fatal" />
|
|
14 <regex match="Execution halted"
|
|
15 source="both"
|
|
16 level="fatal"
|
|
17 description="Execution halted" />
|
|
18 <regex match="rsync error"
|
|
19 source="both"
|
|
20 level="fatal"
|
|
21 description="rsync error" />
|
|
22 </stdio>
|
|
23 </xml>
|
|
24
|
4
|
25 <token name="@COMMAND_BASIC_PARAMETERS@">
|
|
26 --projectName '$projectName'
|
|
27 --author '$author'
|
|
28 --targetFile '$targetFile'
|
|
29 --rawDir '$rawDir'
|
|
30 --featuresToRemove '$featuresToRemove'
|
|
31 --varInt '$varInt'
|
|
32 --condRef '$condRef'
|
|
33 </token>
|
0
|
34
|
4
|
35 <token name="@COMMAND_BATCH_PARAM@">
|
|
36 #if $advanced_parameters.batch_condition.condition:
|
|
37 --batch '$advanced_parameters.batch_condition.batch'
|
|
38 #else:
|
0
|
39 --batch NULL
|
4
|
40 #end if
|
|
41 </token>
|
0
|
42
|
4
|
43 <token name="@COMMAND_OUTPUTS@">
|
|
44 --figures_html '$figures_html'
|
|
45 --figures_html_files_path '$figures_html.files_path'
|
|
46 --tables_html '$tables_html'
|
|
47 --tables_html_files_path '$tables_html.files_path'
|
|
48 --rdata '$rdata'
|
|
49 --report_html '$report_html'
|
|
50 --log '$log'
|
|
51 </token>
|
0
|
52
|
4
|
53 <macro name="basic_parameters">
|
3
|
54 <param type="text" value="Project" label="Name of the project used for the report" argument="--projectName" help="No space allowed." >
|
4
|
55 <validator type="regex" message="Field requires a value. No space allowed.">\S+</validator>
|
|
56 </param>
|
3
|
57 <param type="text" value="Galaxy" label="Name of the report author" argument="--author" help="No space allowed." >
|
4
|
58 <validator type="regex" message="Field requires a value. No space allowed.">\S+</validator>
|
|
59 </param>
|
3
|
60 <param type="data" format="txt" label="Design / target file" argument="--targetFile" help="See the help section below for details on the required format." />
|
|
61 <param type="data" format="no_unzip.zip,zip" label="Zip file containing raw counts files" argument="--rawDir" help="See the help section below for details on the required format." />
|
|
62 <param type="text" size="100" value="alignment_not_unique,ambiguous,no_feature,not_aligned,too_low_aQual" label="Names of the features to be removed" argument="--featuresToRemove" help="Separate the features with a comma, no space allowed. More than once can be specified. Specific HTSeq-count information and rRNA for example. Default are 'alignment_not_unique,ambiguous,no_feature,not_aligned,too_low_aQual'." >
|
4
|
63 <validator type="regex" message="Field requires a value. No space allowed.">\S+</validator>
|
|
64 </param>
|
3
|
65 <param type="text" value="group" label="Factor of interest" argument="--varInt" help="Biological condition in the target file. Default is 'group'." >
|
4
|
66 <validator type="regex" message="Field requires a value. No space allowed.">\S+</validator>
|
|
67 </param>
|
3
|
68 <param type="text" value="WT" label="Reference biological condition" argument="--condRef" help="Reference biological condition used to compute fold-changes, must be one of the levels of 'Factor of interest'." >
|
4
|
69 <validator type="regex" message="Field requires a value. No space allowed.">\S+</validator>
|
|
70 </param>
|
|
71 </macro>
|
0
|
72
|
4
|
73 <macro name="batch_param">
|
|
74 <conditional name="batch_condition">
|
|
75 <param name="condition" type="boolean" checked="false" truevalue="batch" falsevalue="NULL" label="Add a blocking factor" argument="--batch" help="Adjustment variable to use as a batch effect. Default: unchecked if no batch effect needs to be taken into account."/>
|
|
76 <when value="NULL" />
|
|
77 <when value="batch">
|
|
78 <param name="batch" type="text" value="batch" label="Blocking factor value" help="Must be a column of the target file" >
|
|
79 <validator type="empty_field"/>
|
|
80 </param>
|
|
81 </when>
|
|
82 </conditional>
|
|
83 </macro>
|
|
84
|
|
85 <macro name="alpha_param">
|
|
86 <param type="float" value="0.05" min="0" max="1" label="Threshold of statistical significance" argument="--alpha" help="Significance threshold applied to the adjusted p-values to select the differentially expressed features. Default is 0.05. The comma is not allowed as decimal separator, use a point instead." />
|
|
87 </macro>
|
0
|
88
|
4
|
89 <macro name="padjustmethod_param">
|
|
90 <param type="select" label="p-value adjustment method" argument="--pAdjustMethod" help="p-value adjustment method for multiple testing. 'BH' by default, 'BY' or any value of p.adjust.methods." >
|
|
91 <option value="BH" selected="true">BH</option>
|
|
92 <option value="BY">BY</option>
|
|
93 <option value="bonferroni">bonferroni</option>
|
|
94 <option value="fdr">fdr</option>
|
|
95 <option value="hochberg">hochberg</option>
|
|
96 <option value="holm">holm</option>
|
|
97 <option value="hommel">hommel</option>
|
|
98 </param>
|
|
99 </macro>
|
0
|
100
|
4
|
101 <macro name="colors_param">
|
|
102 <param type="text" size="100" value="#f3c300,#875692,#f38400,#a1caf1,#be0032,#c2b280,#848482,#008856,#e68fac,#0067a5" label="Colors of each biological condition on the plots: 'col1,col2,col3,col4'" argument="--colors" help="Separate the colors with a comma, no space allowed. Default are '#f3c300,#875692,#f38400,#a1caf1,#be0032,#c2b280,#848482,#008856,#e68fac,#0067a5'." >
|
|
103 <validator type="regex" message="Field requires a value. No space allowed.">\S+</validator>
|
|
104 <sanitizer>
|
|
105 <valid>
|
|
106 <add value="#" />
|
|
107 </valid>
|
|
108 </sanitizer>
|
|
109 </param>
|
|
110 </macro>
|
0
|
111
|
4
|
112 <macro name="forceCairoGraph_param">
|
|
113 <param type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="Activate cairo type" argument="--forceCairoGraph" help="Unchecked by default." />
|
|
114 </macro>
|
0
|
115
|
4
|
116 <macro name="outputs">
|
0
|
117 <data name="report_html" format="html" label="${tool.name} report" />
|
|
118 <data name="tables_html" format="html" label="${tool.name} tables" />
|
|
119 <data name="figures_html" format="html" label="${tool.name} figures" />
|
|
120 <data name="log" format="txt" label="${tool.name} R log" />
|
|
121 <data name="rdata" format="data" label="${tool.name} R objects (.RData)" />
|
4
|
122 </macro>
|
0
|
123
|
4
|
124 <token name="@HELP_AUTHORS@">
|
0
|
125 .. class:: infomark
|
|
126
|
|
127 **Authors** M.-A. Dillies and H. Varet
|
|
128
|
|
129 | If you use this tool, please cite: H. Varet, L. Brillet-Guéguen, J.-Y. Coppee and M.-A. Dillies, SARTools: A DESeq2- and EdgeR-Based R Pipeline for Comprehensive Differential Analysis of RNA-Seq Data, PLoS One, 2016, doi: http://dx.doi.org/10.1371/journal.pone.0157022
|
|
130 | For details about this tool, please go to https://github.com/PF2-pasteur-fr/SARTools
|
|
131
|
|
132 .. class:: infomark
|
|
133
|
|
134 **Galaxy integration** Loraine Brillet-Guéguen, Institut Français de Bioinformatique
|
|
135
|
|
136 | Contact support.abims@sb-roscoff.fr for any questions or concerns about the Galaxy implementation of this tool.
|
|
137
|
|
138 ---------------------------------------------------
|
4
|
139 </token>
|
0
|
140
|
4
|
141 <token name="@HELP_DESCRIPTION@">
|
0
|
142 | SARTools is a R package dedicated to the differential analysis of RNA-seq data. It provides tools to generate descriptive and diagnostic graphs, to run the differential analysis with one of the well known DESeq2 or edgeR packages and to export the results into easily readable tab-delimited files. It also facilitates the generation of a HTML report which displays all the figures produced, explains the statistical methods and gives the results of the differential analysis.
|
|
143 | Note that SARTools does not intend to replace DESeq2 or edgeR: it simply provides an environment to go with them. For more details about the methodology behind DESeq2 or edgeR, the user should read their documentations and papers.
|
4
|
144 </token>
|
0
|
145
|
4
|
146 <token name="@HELP_INPUT_FILES@">
|
0
|
147 .. class:: warningmark
|
|
148
|
|
149 If the counts and the target files are not supplied in the required formats, the workflow will probably crash and will not be able to run the analysis.
|
|
150
|
|
151
|
|
152 +---------------------------+-----------+
|
|
153 | Parameter : num + label | Format |
|
|
154 +===========================+===========+
|
|
155 | 1 : Design / target file | tabular |
|
|
156 +---------------------------+-----------+
|
|
157 | 2 : Raw counts files | zip |
|
|
158 +---------------------------+-----------+
|
|
159
|
|
160
|
|
161 Design/target file:
|
4
|
162 | The user has to supply a tab delimited file which describes the experiment, i.e. which contains the name of the biological condition associated with each sample. This file is called ”target” as a reference to the target file needed when using the limma package [1]. This file has one row per sample and is composed of at least three columns with headers:
|
0
|
163
|
4
|
164 * column 1 : unique names of the samples (short but informative as they will be displayed on all the figures);
|
|
165 * column 2 : name of the count files;
|
|
166 * column 3 : biological conditions;
|
|
167 * optional columns : further information about the samples (day of library preparation for example).
|
0
|
168
|
|
169
|
|
170 - Example of a target file::
|
|
171
|
|
172 label files group
|
|
173 s1c1 count_file_sample1_cond1.txt cond1
|
|
174 s2c1 count_file_sample2_cond1.txt cond1
|
|
175 s1c2 count_file_sample1_cond2.txt cond2
|
|
176 s2c2 count_file_sample2_cond2.txt cond2
|
|
177
|
|
178
|
|
179 Zip file containing raw counts files:
|
4
|
180 | The statistical analysis assumes that reads have already been mapped and that counts per feature (gene or transcript) are available. If counting has been done with HTSeq-count [2, 3], output files are ready to be loaded in R with the dedicated SARTools function. If not, the user must supply, in a zip file, one count file per sample with two tab delimited columns without header:
|
0
|
181
|
4
|
182 * column 1 : the unique IDs of the features;
|
|
183 * column 2 : the raw counts associated with these features (null or positive integers).
|
|
184 </token>
|
0
|
185
|
4
|
186 <token name="@HELP_BASIC_PARAMETERS@">
|
|
187 * **projectName:** name of the project;
|
|
188 * **author:** author of the analysis;
|
|
189 * **featuresToRemove:** character vector containing the IDs of the features to remove before running the analysis (default are "alignment not unique", "ambiguous", "no feature", "not aligned", "too low aQual" to remove HTSeq-count specific rows);
|
|
190 * **varInt:** variable of interest, i.e. biological condition, in the target file ("group" by default);
|
|
191 * **condRef:** reference biological condition used to compute fold-changes (no default, must be one of the levels of varInt);
|
|
192 </token>
|
0
|
193
|
4
|
194 <token name="@HELP_OUTPUT_FILES@">
|
0
|
195 **Report:**
|
|
196
|
|
197
|
4
|
198 | Give details about the methodology, the different steps and the results. It displays all the figures produced and the most important results of the differential analysis as the number of up- and down-regulated features.
|
|
199 | The user should read the full HTML report and closely analyze each figure to check that the analysis ran smoothly.
|
0
|
200
|
|
201
|
|
202 **Tables:**
|
|
203
|
|
204
|
4
|
205 * **TestVsRef.complete.txt:** contains all the features studied;
|
|
206 * **TestVsRef.down.txt:** contains only significant down-regulated features, i.e. less expressed in Test than in Ref;
|
|
207 * **TestVsRef.up.txt:** contains only significant up-regulated features i.e. more expressed in Test than in Ref.
|
0
|
208
|
|
209
|
|
210 **Figures:**
|
|
211
|
|
212
|
4
|
213 * **MAplot.png:** MA-plot for each comparison (log ratio of the means vs intensity).
|
|
214 * **PCA.png:** first and second factorial planes of the PCA on the samples based on VST or rlog data;
|
|
215 * **barplotNull.png:** percentage of null counts per sample;
|
|
216 * **barplotTC.png:** total number of reads per sample;
|
|
217 * **cluster.png:** hierachical clustering of the samples (based on VST or rlog data);
|
|
218 * **countsBoxplot.png:** boxplots on raw and normalized counts;
|
|
219 * **densplot.png:** estimation of the density of the counts for each sample;
|
|
220 * **diagSizeFactorsHist.png:** diagnostic of the estimation of the size factors;
|
|
221 * **diagSizeFactorsTC.png:** plot of the size factors vs the total number of reads;
|
|
222 * **dispersionsPlot.png:** graph of the estimations of the dispersions and diagnostic of log-linearity of the dispersions;
|
|
223 * **majSeq.png:** percentage of reads caught by the feature having the highest count in each sample;
|
|
224 * **pairwiseScatter.png:** pairwise scatter plot between each pair of samples and SERE values;
|
|
225 * **rawpHist.png:** histogram of the raw p-values for each comparison;
|
|
226 * **volcanoPlot.png:** vulcano plot for each comparison (− log10 (adjusted P value) vs log ratio of the means).
|
0
|
227
|
|
228
|
|
229 **R log file:**
|
|
230
|
|
231
|
4
|
232 | Give the R console outputs.
|
0
|
233
|
|
234
|
|
235 **R objects (.RData file):**
|
|
236
|
|
237
|
4
|
238 | Give all the R objects created during the analysis is saved: it may be used to perform downstream analyses.
|
|
239 </token>
|
0
|
240
|
4
|
241 <macro name="common_citations">
|
|
242 <citation type="doi">10.1371/journal.pone.0157022</citation>
|
|
243 <citation type="bibtex">@INBOOK{Smyth05,
|
|
244 author = {G.-K. Smyth},
|
|
245 editor = {R. Gentleman, V. Carey, S. Dudoit, R. Irizarry, and W. Huber},
|
|
246 chapter = {Limma: linear models for microarray data},
|
|
247 title = {Bioinformatics and Computational Biology Solutions Using R and Bioconductor},
|
|
248 publisher = {Springer},
|
|
249 year = {2005},
|
|
250 pages = {397–420}
|
|
251 }</citation>
|
|
252 <citation type="doi">10.1093/bioinformatics/btu638</citation>
|
|
253 <citation type="bibtex">@ARTICLE{Benjamini95,
|
|
254 author = {Y. Benjamini and Y. Hochberg},
|
|
255 title = {Controlling the false discovery rate: a practical and powerful approach to multiple testing},
|
|
256 journal = {Journal of the Royal Statistical Society B},
|
|
257 year = {1995},
|
|
258 volume = {57},
|
|
259 pages = {289–300}
|
|
260 }</citation>
|
|
261 <citation type="bibtex">@ARTICLE{Benjamini01,
|
|
262 author = {Y. Benjamini and D. Yekutieli},
|
|
263 title = {The control of the false discovery rate in multiple testing under dependency},
|
|
264 journal = {Ann. Statist.},
|
|
265 year = {2001},
|
|
266 volume = {29},
|
|
267 number = {4},
|
|
268 pages = {1165–1188}
|
|
269 }</citation>
|
|
270 </macro>
|
0
|
271
|
|
272 </macros>
|