4
|
1 <tool id="sartools_edger" name="SARTools edgeR" version="@TOOL_VERSION@+galaxy0">
|
0
|
2
|
|
3 <description>Compare two or more biological conditions in a RNA-Seq framework with edgeR</description>
|
|
4
|
|
5 <macros>
|
4
|
6 <import>macros.xml</import>
|
0
|
7 </macros>
|
|
8
|
|
9 <expand macro="requirements"/>
|
|
10 <expand macro="stdio"/>
|
|
11
|
|
12
|
4
|
13 <command><![CDATA[
|
|
14
|
|
15 python '$__tool_directory__/abims_sartools_edger_wrapper.py'
|
|
16 ## parameters
|
|
17 @COMMAND_BASIC_PARAMETERS@
|
|
18 @COMMAND_BATCH_PARAM@
|
|
19 --alpha '$advanced_parameters.alpha'
|
|
20 --pAdjustMethod '$advanced_parameters.pAdjustMethod'
|
|
21 --cpmCutoff '$advanced_parameters.cpmCutoff'
|
|
22 --geneSelection '$advanced_parameters.geneSelection'
|
|
23 --normalizationMethod '$advanced_parameters.normalizationMethod'
|
|
24 --colors "'$advanced_parameters.colors'"
|
|
25 --forceCairoGraph '$advanced_parameters.forceCairoGraph'
|
|
26 ## ouputs
|
|
27 @COMMAND_OUTPUTS@
|
0
|
28
|
|
29 ]]></command>
|
|
30
|
|
31 <inputs>
|
|
32
|
|
33 <expand macro="basic_parameters" />
|
|
34
|
4
|
35 <section name="advanced_parameters" title="Advanced Parameters" expanded="false" >
|
|
36 <expand macro="batch_param" />
|
|
37 <expand macro="alpha_param" />
|
|
38 <expand macro="padjustmethod_param" />
|
|
39 <param type="integer" value="1" min="0" label="Counts-per-million cut-off to filter low counts" argument="--cpmCutoff" help="Set to 0 to disable filtering. Default is 1." />
|
|
40 <param name="geneSelection" type="select" label="Selection of the features in MDSPlot" argument="--gene.selection" help="Default is 'pairwise'." >
|
|
41 <option value="pairwise" selected="true">pairwise</option>
|
|
42 <option value="common">common</option>
|
0
|
43 </param>
|
4
|
44 <param type="select" label="Normalization method in calcNormFactors" argument="--normalizationMethod" help="'TMM' (default), 'RLE' (DESeq method) or 'upperquartile'." >
|
|
45 <option value="TMM" selected="true">TMM</option>
|
|
46 <option value="RLE">RLE</option>
|
|
47 <option value="upperquartile">upperquartile</option>
|
|
48 </param>
|
|
49 <expand macro="colors_param" />
|
|
50 <expand macro="forceCairoGraph_param" />
|
|
51 </section>
|
0
|
52
|
|
53 </inputs>
|
|
54
|
|
55 <outputs>
|
|
56
|
|
57 <expand macro="outputs" />
|
|
58
|
|
59 </outputs>
|
|
60
|
|
61 <tests>
|
|
62 <test>
|
4
|
63 <!-- Test with 2 conditions, 2 replicates, 10 features -->
|
0
|
64 <param name="targetFile" dbkey="?" value="target_small.txt" />
|
|
65 <param name="rawDir" value="raw_small.zip" dbkey="?" ftype="zip"/>
|
|
66 <output name="log">
|
|
67 <assert_contents>
|
|
68 <has_text text="KO vs WT 5 4 9" />
|
|
69 <has_text text="HTML report created" />
|
|
70 </assert_contents>
|
|
71 </output>
|
|
72 </test>
|
4
|
73 <!-- <test>
|
0
|
74 --> <!-- NOT WORKING YET: Test with 3 conditions, 3 replicates, 10 features, with batch effect -->
|
4
|
75 <!-- <param name="targetFile" dbkey="?" value="targetT048_small.txt" />
|
0
|
76 <param name="rawDir" value="rawT048_small.zip" dbkey="?" ftype="no_unzip.zip"/>
|
4
|
77 <param name="condRef" value="T0"/>
|
|
78 <param name="condition" value="true"/>
|
0
|
79 <output name="tables_html" file="SARTools_edgeR_targetT048_small_tables.html" lines_diff="12">
|
4
|
80 <extra_files type="file" name="T4vsT0.complete.txt" value="SARTools_edgeR_T4vsT0_small.complete.txt"/>
|
|
81 <extra_files type="file" name="T8vsT0.complete.txt" value="SARTools_edgeR_T8vsT0_small.complete.txt"/>
|
|
82 <extra_files type="file" name="T8vsT4.complete.txt" value="SARTools_edgeR_T8vsT4_small.complete.txt"/>
|
|
83 </output>
|
0
|
84 </test>
|
4
|
85 --> <test>
|
0
|
86 <!-- Test with 2 conditions, 2 replicates, 8217 features -->
|
|
87 <param name="targetFile" dbkey="?" value="target.txt" />
|
|
88 <param name="rawDir" value="raw.zip" dbkey="?" ftype="zip"/>
|
|
89 <output name="log">
|
|
90 <assert_contents>
|
|
91 <has_text text="KO vs WT 2691 2713 5404" />
|
|
92 <has_text text="HTML report created" />
|
|
93 </assert_contents>
|
|
94 </output>
|
|
95 </test>
|
4
|
96 <!-- <test>
|
0
|
97 --> <!-- NOT WORKING YET: Test with 3 conditions, 3 replicates, 10160 features, with batch effect -->
|
4
|
98 <!-- <param name="targetFile" dbkey="?" value="targetT048.txt" />
|
0
|
99 <param name="rawDir" value="rawT048.zip" dbkey="?" ftype="no_unzip.zip"/>
|
4
|
100 <param name="condRef" value="T0"/>
|
|
101 <param name="condition" value="true"/>
|
0
|
102 <output name="tables_html" file="SARTools_edgeR_targetT048_tables.html" lines_diff="14">
|
4
|
103 <extra_files type="file" name="T4vsT0.complete.txt" value="SARTools_edgeR_T4vsT0.complete.txt"/>
|
|
104 <extra_files type="file" name="T8vsT0.complete.txt" value="SARTools_edgeR_T8vsT0.complete.txt"/>
|
|
105 <extra_files type="file" name="T8vsT4.complete.txt" value="SARTools_edgeR_T8vsT4.complete.txt"/>
|
|
106 </output>
|
0
|
107 </test>
|
4
|
108 --> </tests>
|
0
|
109
|
|
110 <help><![CDATA[
|
|
111
|
|
112 @HELP_AUTHORS@
|
|
113
|
|
114 ==============
|
|
115 SARTools edgeR
|
|
116 ==============
|
|
117
|
|
118 -----------
|
|
119 Description
|
|
120 -----------
|
|
121
|
|
122 @HELP_DESCRIPTION@
|
|
123
|
|
124
|
|
125 -----------
|
|
126 Input files
|
|
127 -----------
|
|
128
|
|
129 @HELP_INPUT_FILES@
|
|
130
|
|
131
|
|
132 ----------
|
|
133 Parameters
|
|
134 ----------
|
|
135
|
4
|
136 @HELP_BASIC_PARAMETERS@
|
|
137 * **batch:** adjustment variable to use as a batch effect, must be a column of the target file (NULL if no batch effect needs to be taken into account);
|
|
138 * **alpha:** significance threshold applied to the adjusted p-values to select the differentially expressed features (default is 0.05);
|
|
139 * **pAdjustMethod:** p-value adjustment method for multiple testing [4, 5] ("BH" by default, "BY" or any value of p.adjust.methods);
|
|
140 * **cpmCutoff:** counts-per-million cut-off to filter low counts (default is 1, set to 0 to disable filtering);
|
|
141 * **gene.selection:** method of selection of the features for the MultiDimensional Scaling plot ("pairwise" by default or common);
|
|
142 * **normalizationMethod:** normalization method in calcNormFactors(): "TMM" (default), "RLE" (DESeq method) or "upperquartile";
|
|
143 * **colors:** colors used for the figures (one per biological condition), 8 are given by default.
|
|
144 * **forceCairoGraph:** TRUE or FALSE (default) to force the use of cairo with options(bitmapType="cairo").
|
0
|
145
|
|
146
|
|
147 ------------
|
|
148 Output files
|
|
149 ------------
|
|
150
|
|
151 @HELP_OUTPUT_FILES@
|
|
152
|
4
|
153
|
0
|
154 ---------------------------------------------------
|
|
155
|
|
156 [1] G.-K. Smyth. Limma: linear models for microarray data. In R. Gentleman, V. Carey, S. Dudoit, R. Irizarry, and W. Huber, editors, Bioinformatics and Computational Biology Solutions Using R and Bioconductor, pages 397–420. Springer, New York, 2005.
|
|
157
|
|
158 [2] S. Anders. HTSeq: Analysing high-throughput sequencing data with Python. http://www-huber.embl.de/users/anders/HTSeq/, 2011.
|
|
159
|
|
160 [3] S. Anders, P.-T. Pyl, and W. Huber. HTSeq - A Python framework to work with high-throughput sequencing data. bioRxiv preprint, 2014. URL: http://dx.doi.org/10.1101/002824.
|
|
161
|
|
162 [4] Y. Benjamini and Y. Hochberg. Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal Statistical Society B, 57:289–300, 1995.
|
|
163
|
|
164 [5] Y. Benjamini and D. Yekutieli. The control of the false discovery rate in multiple testing under dependency. Ann. Statist., 29(4):1165–1188, 2001.
|
|
165
|
|
166
|
4
|
167 ]]></help>
|
0
|
168
|
|
169 <citations>
|
|
170 <expand macro="common_citations" />
|
|
171 </citations>
|
|
172
|
|
173 </tool>
|