4
|
1 <tool id="sartools_deseq2" name="SARTools DESeq2" version="@TOOL_VERSION@+galaxy0">
|
0
|
2
|
|
3 <description>Compare two or more biological conditions in a RNA-Seq framework with DESeq2</description>
|
|
4
|
|
5 <macros>
|
4
|
6 <import>macros.xml</import>
|
0
|
7 </macros>
|
|
8
|
|
9 <expand macro="requirements"/>
|
|
10 <expand macro="stdio"/>
|
|
11
|
4
|
12 <command><![CDATA[
|
|
13
|
|
14 python '$__tool_directory__/abims_sartools_deseq2_wrapper.py'
|
|
15 ## parameters
|
|
16 @COMMAND_BASIC_PARAMETERS@
|
|
17 @COMMAND_BATCH_PARAM@
|
|
18 --fitType '$advanced_parameters.fitType'
|
|
19 --cooksCutoff '$advanced_parameters.cooksCutoff'
|
|
20 --independentFiltering '$advanced_parameters.independentFiltering'
|
|
21 --alpha '$advanced_parameters.alpha'
|
|
22 --pAdjustMethod '$advanced_parameters.pAdjustMethod'
|
|
23 --typeTrans '$advanced_parameters.typeTrans'
|
|
24 --locfunc '$advanced_parameters.locfunc'
|
|
25 --colors "'$advanced_parameters.colors'"
|
|
26 --forceCairoGraph '$advanced_parameters.forceCairoGraph'
|
|
27 ## ouputs
|
|
28 @COMMAND_OUTPUTS@
|
0
|
29
|
|
30 ]]></command>
|
|
31
|
|
32 <inputs>
|
|
33
|
|
34 <expand macro="basic_parameters" />
|
4
|
35
|
|
36 <section name="advanced_parameters" title="Advanced Parameters" expanded="false">
|
|
37 <expand macro="batch_param" />
|
|
38 <param type="select" label="Mean-variance relationship" argument="--fitType" help="Type of model for the mean-dispersion relationship. Parametric by default." >
|
|
39 <option value="parametric" selected="true">parametric</option>
|
|
40 <option value="local">local</option>
|
|
41 <option value="mean">mean</option>
|
0
|
42 </param>
|
4
|
43 <param type="boolean" checked="true" truevalue="TRUE" falsevalue="FALSE" label="Perform the outliers detection" argument="--cooksCutoff" help="Checked by default."/>
|
|
44 <param type="boolean" checked="true" truevalue="TRUE" falsevalue="FALSE" label="Perform independent filtering" argument="--independentFiltering" help="Checked by default."/>
|
|
45 <expand macro="alpha_param" />
|
|
46 <expand macro="padjustmethod_param" />
|
|
47 <param type="select" label="Transformation for PCA/clustering" argument="--typeTrans" help="Method of transformation of the counts for the clustering and the PCA: 'VST' (default) for Variance Stabilizing Transformation, or 'rlog' for Regularized Log Transformation." >
|
|
48 <option value="VST" selected="true">VST</option>
|
|
49 <option value="rlog">rlog</option>
|
|
50 </param>
|
|
51 <param type="select" label="Estimation of the size factors" argument="--locfunc" help="'median' (default) or 'shorth' from the genefilter package." >
|
|
52 <option value="median" selected="true">median</option>
|
|
53 <option value="shorth">shorth</option>
|
|
54 </param>
|
|
55 <expand macro="colors_param" />
|
|
56 <expand macro="forceCairoGraph_param" />
|
|
57 </section>
|
0
|
58
|
|
59 </inputs>
|
|
60
|
|
61 <outputs>
|
|
62
|
|
63 <expand macro="outputs" />
|
|
64
|
|
65 </outputs>
|
|
66
|
|
67 <tests>
|
|
68 <test>
|
|
69 <!-- Test with 2 conditions, 2 replicates, 8217 features -->
|
|
70 <param name="targetFile" dbkey="?" value="target.txt" />
|
|
71 <param name="rawDir" value="raw.zip" dbkey="?" ftype="zip"/>
|
|
72 <output name="log">
|
|
73 <assert_contents>
|
4
|
74 <has_text text="KO vs WT 0.1 171" />
|
3
|
75 <has_text text="KO vs WT 2583 2663 5246" />
|
0
|
76 <has_text text="HTML report created" />
|
|
77 </assert_contents>
|
|
78 </output>
|
|
79 </test>
|
4
|
80 <!-- <test>
|
0
|
81 --> <!-- NOT WORKING YET: Test with 3 conditions, 3 replicates, 10160 features, with batch effect -->
|
4
|
82 <!-- <param name="targetFile" dbkey="?" value="targetT048.txt" />
|
0
|
83 <param name="rawDir" value="rawT048.zip" dbkey="?" ftype="no_unzip.zip"/>
|
4
|
84 <param name="condRef" value="T0"/>
|
|
85 <param name="condition" value="true"/>
|
0
|
86 <output name="tables_html" file="SARTools_DESeq2_targetT048_tables.html" lines_diff="14">
|
4
|
87 <extra_files type="file" name="T4vsT0.complete.txt" value="SARTools_DESeq2_T4vsT0.complete.txt"/>
|
|
88 <extra_files type="file" name="T8vsT0.complete.txt" value="SARTools_DESeq2_T8vsT0.complete.txt"/>
|
|
89 <extra_files type="file" name="T8vsT4.complete.txt" value="SARTools_DESeq2_T8vsT4.complete.txt"/>
|
|
90 </output>
|
0
|
91 </test>
|
4
|
92 --> </tests>
|
0
|
93
|
|
94 <help><![CDATA[
|
|
95
|
|
96 @HELP_AUTHORS@
|
|
97
|
|
98 ===============
|
|
99 SARTools DESeq2
|
|
100 ===============
|
|
101
|
|
102 -----------
|
|
103 Description
|
|
104 -----------
|
|
105
|
|
106 @HELP_DESCRIPTION@
|
|
107
|
|
108
|
|
109 -----------
|
|
110 Input files
|
|
111 -----------
|
|
112
|
|
113 @HELP_INPUT_FILES@
|
|
114
|
|
115
|
|
116 ----------
|
|
117 Parameters
|
|
118 ----------
|
|
119
|
4
|
120 @HELP_BASIC_PARAMETERS@
|
|
121 * **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);
|
|
122 * **alpha:** significance threshold applied to the adjusted p-values to select the differentially expressed features (default is 0.05);
|
|
123 * **fitType:** type of model for the mean-dispersion relationship ("parametric" by default, or "local");
|
|
124 * **cooksCutoff:** TRUE (default) of FALSE to execute or not the detection of the outliers [4];
|
|
125 * **independentFiltering:** TRUE (default) of FALSE to execute or not the independent filtering [5];
|
|
126 * **pAdjustMethod:** p-value adjustment method for multiple testing [6, 7] ("BH" by default, "BY" or any value of p.adjust.methods);
|
|
127 * **typeTrans:** method of transformation of the counts for the clustering and the PCA (default is "VST" for Variance Stabilizing Transformation, or "rlog" for Regularized Log Transformation);
|
|
128 * **locfunc:** function used for the estimation of the size factors (default is "median", or "shorth" from the genefilter package);
|
|
129 * **colors:** colors used for the figures (one per biological condition), 8 are given by default.
|
|
130 * **forceCairoGraph:** TRUE or FALSE (default) to force the use of cairo with options(bitmapType="cairo").
|
0
|
131
|
|
132
|
|
133 ------------
|
|
134 Output files
|
|
135 ------------
|
|
136
|
|
137 @HELP_OUTPUT_FILES@
|
|
138
|
4
|
139
|
0
|
140 ---------------------------------------------------
|
|
141
|
|
142 [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.
|
|
143
|
|
144 [2] S. Anders. HTSeq: Analysing high-throughput sequencing data with Python. http://www-huber.embl.de/users/anders/HTSeq/, 2011.
|
|
145
|
|
146 [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.
|
|
147
|
|
148 [4] R.-D. Cook. Detection of Influential Observation in Linear Regression. Technometrics, February 1977.
|
|
149
|
|
150 [5] R. Bourgon, R. Gentleman, and W. Huber. Independent filtering increases detection power for high-throughput experiments. PNAS, 107(21):9546–9551, 2010. URL: http://www.pnas.org/content/107/21/9546.long.
|
|
151
|
|
152 [6] 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.
|
|
153
|
|
154 [7] Y. Benjamini and D. Yekutieli. The control of the false discovery rate in multiple testing under dependency. Ann. Statist., 29(4):1165–1188, 2001.
|
|
155
|
|
156
|
4
|
157 ]]></help>
|
0
|
158
|
4
|
159 <citations>
|
|
160 <expand macro="common_citations" />
|
|
161 <citation type="bibtex">@ARTICLE{Cook77,
|
|
162 author = {R.-D. Cook},
|
|
163 title = {Detection of Influential Observation in Linear Regression},
|
|
164 journal = {Technometrics},
|
|
165 year = {1977},
|
|
166 month = {February}
|
|
167 }</citation>
|
|
168 <citation type="bibtex">@ARTICLE{Bourgon10,
|
|
169 author = {R. Bourgon, R. Gentleman, and W. Huber},
|
|
170 title = {Independent filtering increases detection power for high-throughput experiments},
|
|
171 journal = {PNAS},
|
|
172 year = {2010},
|
|
173 volume = {107},
|
|
174 number = {21},
|
|
175 pages = {9546–9551},
|
|
176 note = {URL: http://www.pnas.org/content/107/21/9546.long}
|
|
177 }</citation>
|
|
178 </citations>
|
0
|
179
|
|
180 </tool>
|