15
|
1 <tool id="deseq2" name="DESeq2" version="2.0.1">
|
13
|
2 <description>Determines differentially expressed transcripts from read alignments</description>
|
1
|
3 <requirements>
|
13
|
4 <requirement type="binary">Rscript</requirement>
|
|
5 <requirement type="R-module">DESeq2</requirement>
|
1
|
6 <requirement type="package" version="3.0.1">R_3_0_1</requirement>
|
13
|
7 <requirement type="set_environment">DESEQ2_SCRIPT_PATH</requirement>
|
1
|
8 </requirements>
|
13
|
9 <command interpreter="Rscript">
|
|
10 deseq2.R
|
|
11 -o "$deseq_out"
|
14
|
12
|
|
13 #if $pdf:
|
|
14 -p "$plots"
|
|
15 #end if
|
|
16
|
13
|
17 -i "$input_matrix"
|
|
18
|
|
19 #if $filter_sel.filter_sel_opts == 'all_vs_all':
|
|
20 -s 'all_vs_all'
|
|
21 #else:
|
14
|
22 -s ## build a string like '1,2 5,6'
|
13
|
23 "${filter_sel.control_cols} ${filter_sel.experiement_cols}"
|
14
|
24
|
|
25 #set $temp_factor_list = list()
|
|
26 #set $is_multi_factor_analysis = False
|
|
27 #for $factor in $filter_sel.factor:
|
|
28 #set $is_multi_factor_analysis = True
|
|
29 $temp_factor_list.append( '%s:%s' % ($factor.factor_name.replace(' ','_'), $factor.factor_index) )
|
|
30 #end for
|
|
31
|
|
32 #if $is_multi_factor_analysis:
|
|
33 -f "#echo ' '.join( $temp_factor_list )#"
|
|
34 #end if
|
13
|
35 #end if
|
|
36
|
0
|
37 </command>
|
14
|
38 <stdio>
|
|
39 <regex match="Execution halted"
|
|
40 source="both"
|
|
41 level="fatal"
|
15
|
42 description="Execution halted." />
|
14
|
43 <regex match="Input-Error 01"
|
|
44 source="both"
|
|
45 level="fatal"
|
|
46 description="Error in your input parameters: Make sure you only apply factors to selected samples." />
|
15
|
47 <regex match="Error in"
|
|
48 source="both"
|
|
49 level="fatal"
|
|
50 description="An undefined error occured, please check your intput carefully and contact your administrator." />
|
14
|
51 </stdio>
|
0
|
52 <inputs>
|
13
|
53 <param format="tabular" name="input_matrix" type="data" label="Countmatrix" help="You can create a count matrix with the tool ..."/>
|
|
54
|
|
55 <conditional name="filter_sel">
|
|
56 <param name="filter_sel_opts" type="select" label="Select properties to filter">
|
|
57 <option value="all_vs_all">All against all</option>
|
|
58 <option value="specific">specific</option>
|
|
59 </param>
|
|
60 <when value="specific">
|
|
61
|
|
62 <param name="control_cols" label="Select columns containing treatment." type="data_column" data_ref="input_matrix"
|
|
63 numerical="True" multiple="true" use_header_names="true" size="120" display="checkboxes">
|
|
64 <validator type="no_options" message="Please select at least one column."/>
|
|
65 </param>
|
|
66
|
|
67 <param name="experiement_cols" label="Select columns containing treatment." type="data_column" data_ref="input_matrix"
|
|
68 numerical="True" multiple="true" use_header_names="true" size="120" display="checkboxes">
|
|
69 <validator type="no_options" message="Please select at least one column."/>
|
|
70 </param>
|
|
71
|
14
|
72 <repeat name="factor" title="Include multi-factor analysis">
|
|
73 <param name="factor_name" type="text" value="Factor Name" label="Specify a factor name" help=""/>
|
|
74
|
|
75 <param name="factor_index" label="Select columns that are associated with a factor." type="data_column" data_ref="input_matrix"
|
|
76 numerical="True" multiple="true" use_header_names="true" size="120" display="checkboxes">
|
|
77 <validator type="no_options" message="Please select at least one column."/>
|
|
78 </param>
|
|
79 </repeat>
|
|
80
|
13
|
81 </when>
|
|
82 <when value="all_v_all" />
|
|
83 </conditional>
|
|
84
|
14
|
85 <param name="pdf" type="boolean" truevalue="" falsevalue="" checked="true" label="Visualising the analysis results"
|
|
86 help="output an additional PDF file" />
|
|
87
|
0
|
88 </inputs>
|
|
89
|
13
|
90 <outputs>
|
14
|
91 <data format="tabular" name="deseq_out" label="DESeq2 result file on ${on_string}"/>
|
|
92 <data format="pdf" name="plots" label="DESeq2 plots on ${on_string}">
|
|
93 <filter>pdf == True</filter>
|
|
94 </data>
|
13
|
95 </outputs>
|
0
|
96
|
13
|
97 <help>
|
|
98
|
|
99 .. class:: infomark
|
0
|
100
|
13
|
101 **What it does**
|
|
102
|
14
|
103 Estimate variance-mean dependence in count data from high-throughput sequencing assays and test for differential expression based on a model using the negative binomial distribution
|
0
|
104
|
|
105
|
13
|
106 **Inputs**
|
0
|
107
|
14
|
108 DESeq2_ requires one count matrix as input file. You can use the tool
|
13
|
109
|
14
|
110
|
13
|
111
|
|
112 **Output**
|
|
113
|
14
|
114 DESeq2_ generates a tabular file containing the different columns and optional visualized results as PDF.
|
|
115
|
|
116 ====== ==========================================================
|
|
117 Column Description
|
|
118 ------ ----------------------------------------------------------
|
|
119 1 Sample ID (corresponds to the header in your count matrix)
|
|
120 2 Gene Identifiers
|
|
121 3 mean normalised counts, averaged over all samples from both conditions
|
|
122 4 the logarithm (to basis 2) of the fold change
|
|
123 5 standard error estimate for the log2 fold change estimate
|
|
124 6 p value for the statistical significance of this change
|
|
125 7 p value adjusted for multiple testing with the Benjamini-Hochberg procedure
|
|
126 which controls false discovery rate (FDR)
|
|
127 ====== ==========================================================
|
|
128
|
13
|
129
|
|
130 ------
|
|
131
|
14
|
132 **References**
|
|
133
|
|
134 DESeq2_ Authors: Michael Love (MPIMG Berlin), Simon Anders, Wolfgang Huber (EMBL Heidelberg)
|
13
|
135
|
14
|
136 If _DESeq2_ is used to obtain results for scientific publications it
|
|
137 should be cited as [1]_. A paper describing DESeq2_ is in preparation.
|
13
|
138
|
14
|
139
|
13
|
140
|
|
141 .. [1] Anders, S and Huber, W (2010): `Differential expression analysis for sequence count data`_.
|
|
142
|
|
143 .. _Differential expression analysis for sequence count data: http://dx.doi.org/10.1186/gb-2010-11-10-r106
|
14
|
144 .. _DESeq2: http://master.bioconductor.org/packages/release/bioc/html/DESeq2.html
|
13
|
145
|
|
146
|
14
|
147 </help>
|
0
|
148 </tool>
|