0
|
1 <?xml version="1.0"?>
|
1
|
2 <tool id="cummerbund_to_cuffdiff" name="Extract CuffDiff" version="1.0.1">
|
0
|
3 <description>tabular files from a cummeRbund database</description>
|
|
4 <command interpreter="python"><![CDATA[
|
2
|
5 cummerbund_to_tabular.py --file ${input_database} ${' '.join(str($tables).split(','))}
|
0
|
6 ]]></command>
|
|
7 <inputs>
|
|
8 <param name="input_database" type="data" format="sqlite" label="Select backend database (sqlite)" />
|
2
|
9 <param type="select" name="tables" multiple="True" label="Select tables to output">
|
|
10 <option name="cds_count" value="--tables cds_count">CDS count tracking</option>
|
|
11 <option name="cds_diff" value="--tables cds_diff">CDS overloading diffential expression testing</option>
|
|
12 <option name="cds_exp_diff" value="--tables cds_exp_diff">CDS FPKM differential expression testing</option>
|
|
13 <option name="cds_fpkm" value="--tables cds_fpkm">CDS FPKM tracking</option>
|
|
14 <option name="cds_rg" value="--tables cds_rg">CDS read groups</option>
|
|
15 <option name="gene_exp_diff" value="--tables gene_exp_diff">Gene differential expression testing</option>
|
|
16 <option name="genes_count" value="--tables genes_count">Gene count tracking</option>
|
|
17 <option name="genes_fpkm" value="--tables genes_fpkm">Gene FPKM tracking</option>
|
|
18 <option name="gene_rg" value="--tables gene_rg">Gene read groups</option>
|
|
19 <option name="isoform_exp_diff" value="--tables isoform_exp_diff">Transcript differential expression testing</option>
|
|
20 <option name="isoform_count" value="--tables isoform_count">Transcript count tracking</option>
|
|
21 <option name="isoform_fpkm" value="--tables isoform_fpkm">Transcript FPKM tracking</option>
|
|
22 <option name="isoform_rg" value="--tables isoform_rg">Transcript read groups</option>
|
|
23 <option name="promoters_diff" value="--tables promoters_diff">Promoter differential testing</option>
|
|
24 <option name="read_groups" value="--tables read_groups">Read Groups</option>
|
|
25 <option name="run_info" value="--tables run_info">Run details</option>
|
|
26 <option name="splicing_diff" value="--tables splicing_diff">Splicing differential expression testing</option>
|
|
27 <option name="tss_group_exp" value="--tables tss_group_exp">TSS groups differential expression testing</option>
|
|
28 <option name="tss_count_tracking" value="--tables tss_count_tracking">TSS count FPKM tracking</option>
|
|
29 <option name="tss_fpkm" value="--tables tss_fpkm">TSS groups FPKM tracking</option>
|
|
30 <option name="tss_rg" value="--tables tss_rg">TSS read groups</option>
|
|
31 <option name="var_model" value="--tables var_model">Model info</option>
|
|
32 </param>
|
0
|
33 </inputs>
|
|
34 <outputs>
|
|
35 <data format="tabular" name="cds_count_output" from_work_dir="cds_count.tabular" label="${tool.name} on ${on_string}: CDS count tracking">
|
2
|
36 <filter>('--tables cds_count' in tables)</filter>
|
0
|
37 </data>
|
|
38 <data format="tabular" name="cds_diff_output" from_work_dir="cds_diff.tabular" label="${tool.name} on ${on_string}: CDS overloading diffential expression testing">
|
2
|
39 <filter>('--tables cds_diff' in tables)</filter>
|
0
|
40 </data>
|
|
41 <data format="tabular" name="cds_exp_diff_output" from_work_dir="cds_exp_diff.tabular" label="${tool.name} on ${on_string}: CDS FPKM differential expression testing">
|
2
|
42 <filter>('--tables cds_exp_diff' in tables)</filter>
|
0
|
43 </data>
|
|
44 <data format="tabular" name="cds_fpkm_output" from_work_dir="cds_fpkm.tabular" label="${tool.name} on ${on_string}: CDS FPKM tracking">
|
2
|
45 <filter>('--tables cds_fpkm' in tables)</filter>
|
0
|
46 </data>
|
|
47 <data format="tabular" name="cds_rg_output" from_work_dir="cds_rg.tabular" label="${tool.name} on ${on_string}: CDS read groups">
|
2
|
48 <filter>('--tables cds_rg' in tables)</filter>
|
0
|
49 </data>
|
|
50 <data format="tabular" name="gene_exp_diff_output" from_work_dir="gene_exp_diff.tabular" label="${tool.name} on ${on_string}: gene differential expression testing">
|
2
|
51 <filter>('--tables gene_exp_diff' in tables)</filter>
|
0
|
52 </data>
|
|
53 <data format="tabular" name="genes_count_output" from_work_dir="genes_count.tabular" label="${tool.name} on ${on_string}: gene count tracking">
|
2
|
54 <filter>('--tables genes_count' in tables)</filter>
|
0
|
55 </data>
|
|
56 <data format="tabular" name="genes_fpkm_output" from_work_dir="genes_fpkm.tabular" label="${tool.name} on ${on_string}: gene FPKM tracking">
|
2
|
57 <filter>('--tables genes_fpkm' in tables)</filter>
|
0
|
58 </data>
|
|
59 <data format="tabular" name="gene_rg_output" from_work_dir="gene_rg.tabular" label="${tool.name} on ${on_string}: gene read groups">
|
2
|
60 <filter>('--tables gene_rg' in tables)</filter>
|
0
|
61 </data>
|
|
62 <data format="tabular" name="isoform_exp_diff_output" from_work_dir="isoform_exp_diff.tabular" label="${tool.name} on ${on_string}: transcript differential expression testing">
|
2
|
63 <filter>('--tables isoform_exp_diff' in tables)</filter>
|
0
|
64 </data>
|
|
65 <data format="tabular" name="isoform_count_output" from_work_dir="isoform_count.tabular" label="${tool.name} on ${on_string}: transcript count tracking">
|
2
|
66 <filter>('--tables isoform_count' in tables)</filter>
|
0
|
67 </data>
|
|
68 <data format="tabular" name="isoform_fpkm_output" from_work_dir="isoform_fpkm.tabular" label="${tool.name} on ${on_string}: transcript FPKM tracking">
|
2
|
69 <filter>('--tables isoform_fpkm' in tables)</filter>
|
0
|
70 </data>
|
|
71 <data format="tabular" name="isoform_rg_output" from_work_dir="isoform_rg.tabular" label="${tool.name} on ${on_string}: transcript read groups">
|
2
|
72 <filter>('--tables isoform_rg' in tables)</filter>
|
0
|
73 </data>
|
|
74 <data format="tabular" name="promoters_diff_output" from_work_dir="promoters_diff.tabular" label="${tool.name} on ${on_string}: promoter differential testing">
|
2
|
75 <filter>('--tables promoters_diff' in tables)</filter>
|
0
|
76 </data>
|
|
77 <data format="tabular" name="read_groups_output" from_work_dir="read_groups.tabular" label="${tool.name} on ${on_string}: Read Groups">
|
2
|
78 <filter>('--tables read_groups' in tables)</filter>
|
0
|
79 </data>
|
|
80 <data format="tabular" name="run_info_output" from_work_dir="run_info.tabular" label="${tool.name} on ${on_string}: Run details">
|
2
|
81 <filter>('--tables run_info' in tables)</filter>
|
0
|
82 </data>
|
|
83 <data format="tabular" name="splicing_diff_output" from_work_dir="splicing_diff.tabular" label="${tool.name} on ${on_string}: splicing differential expression testing">
|
2
|
84 <filter>('--tables splicing_diff' in tables)</filter>
|
0
|
85 </data>
|
|
86 <data format="tabular" name="tss_group_exp_output" from_work_dir="tss_group_exp.tabular" label="${tool.name} on ${on_string}: TSS groups differential expression testing">
|
2
|
87 <filter>('--tables tss_group_exp' in tables)</filter>
|
0
|
88 </data>
|
|
89 <data format="tabular" name="tss_count_tracking_output" from_work_dir="tss_count_tracking.tabular" label="${tool.name} on ${on_string}: TSS count FPKM tracking">
|
2
|
90 <filter>('--tables tss_count_tracking' in tables)</filter>
|
0
|
91 </data>
|
|
92 <data format="tabular" name="tss_fpkm_output" from_work_dir="tss_fpkm.tabular" label="${tool.name} on ${on_string}: TSS groups FPKM tracking">
|
2
|
93 <filter>('--tables tss_fpkm' in tables)</filter>
|
0
|
94 </data>
|
|
95 <data format="tabular" name="tss_rg_output" from_work_dir="tss_rg.tabular" label="${tool.name} on ${on_string}: TSS read groups">
|
2
|
96 <filter>('--tables tss_rg' in tables)</filter>
|
0
|
97 </data>
|
|
98 <data format="tabular" name="var_model_output" from_work_dir="var_model.tabular" label="${tool.name} on ${on_string}: var_model.info">
|
2
|
99 <filter>('--tables var_model' in tables)</filter>
|
0
|
100 </data>
|
|
101 </outputs>
|
|
102 <citations>
|
|
103 <citation type="doi">doi:10.1038/nprot.2012.016</citation>
|
|
104 </citations>
|
|
105 <help>This tool extracts cuffdiff tabular files from a cummeRbund SQLite database.</help>
|
|
106 <tests>
|
|
107 <test>
|
|
108 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
109 <param name="tables" value="--tables cds_count,--tables cds_diff,--tables cds_exp_diff,--tables cds_fpkm,--tables cds_rg,--tables gene_exp_diff,--tables genes_count,--tables genes_fpkm,--tables gene_rg,--tables isoform_exp_diff,--tables isoform_count,--tables isoform_fpkm,--tables isoform_rg,--tables promoters_diff,--tables read_groups,--tables run_info,--tables splicing_diff,--tables tss_group_exp,--tables tss_count_tracking,--tables tss_fpkm,--tables tss_rg,--tables var_model" />
|
0
|
110 <output name="cds_count_output" ftype="tabular" file="cds_count.tabular" />
|
|
111 <output name="cds_diff_output" ftype="tabular" file="cds_diff.tabular" />
|
|
112 <output name="cds_exp_diff_output" ftype="tabular" file="cds_exp_diff.tabular" />
|
|
113 <output name="cds_fpkm_output" ftype="tabular" file="cds_fpkm.tabular" />
|
|
114 <output name="cds_rg_output" ftype="tabular" file="cds_rg.tabular" />
|
|
115 <output name="gene_exp_diff_output" ftype="tabular" file="gene_exp_diff.tabular" />
|
|
116 <output name="genes_count_output" ftype="tabular" file="genes_count.tabular" />
|
|
117 <output name="genes_fpkm_output" ftype="tabular" file="genes_fpkm.tabular" />
|
|
118 <output name="gene_rg_output" ftype="tabular" file="gene_rg.tabular" />
|
|
119 <output name="isoform_exp_diff_output" ftype="tabular" file="isoform_exp_diff.tabular" />
|
|
120 <output name="isoform_count_output" ftype="tabular" file="isoform_count.tabular" />
|
|
121 <output name="isoform_fpkm_output" ftype="tabular" file="isoform_fpkm.tabular" />
|
|
122 <output name="isoform_rg_output" ftype="tabular" file="isoform_rg.tabular" />
|
|
123 <output name="promoters_diff_output" ftype="tabular" file="promoters_diff.tabular" />
|
|
124 <output name="read_groups_output" ftype="tabular" file="read_groups.tabular" />
|
|
125 <output name="run_info_output" ftype="tabular" file="run_info.tabular" />
|
|
126 <output name="splicing_diff_output" ftype="tabular" file="splicing_diff.tabular" />
|
|
127 <output name="tss_group_exp_output" ftype="tabular" file="tss_group_exp.tabular" />
|
|
128 <output name="tss_count_tracking_output" ftype="tabular" file="tss_count_tracking.tabular" />
|
|
129 <output name="tss_fpkm_output" ftype="tabular" file="tss_fpkm.tabular" />
|
|
130 <output name="tss_rg_output" ftype="tabular" file="tss_rg.tabular" />
|
|
131 <output name="var_model_output" ftype="tabular" file="var_model.tabular" />
|
|
132 </test>
|
|
133 <test>
|
|
134 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
135 <param name="tables" value="--tables cds_count" />
|
0
|
136 <output name="cds_count_output" ftype="tabular" file="cds_count.tabular" />
|
|
137 </test>
|
|
138 <test>
|
|
139 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
140 <param name="tables" value="--tables cds_diff" />
|
0
|
141 <output name="cds_diff_output" ftype="tabular" file="cds_diff.tabular" />
|
|
142 </test>
|
|
143 <test>
|
|
144 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
145 <param name="tables" value="--tables cds_exp_diff" />
|
0
|
146 <output name="cds_exp_diff_output" ftype="tabular" file="cds_exp_diff.tabular" />
|
|
147 </test>
|
|
148 <test>
|
|
149 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
150 <param name="tables" value="--tables cds_fpkm" />
|
0
|
151 <output name="cds_fpkm_output" ftype="tabular" file="cds_fpkm.tabular" />
|
|
152 </test>
|
|
153 <test>
|
|
154 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
155 <param name="tables" value="--tables cds_rg" />
|
0
|
156 <output name="cds_rg_output" ftype="tabular" file="cds_rg.tabular" />
|
|
157 </test>
|
|
158 <test>
|
|
159 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
160 <param name="tables" value="--tables gene_exp_diff" />
|
0
|
161 <output name="gene_exp_diff_output" ftype="tabular" file="gene_exp_diff.tabular" />
|
|
162 </test>
|
|
163 <test>
|
|
164 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
165 <param name="tables" value="--tables genes_count" />
|
0
|
166 <output name="genes_count_output" ftype="tabular" file="genes_count.tabular" />
|
|
167 </test>
|
|
168 <test>
|
|
169 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
170 <param name="tables" value="--tables genes_fpkm" />
|
0
|
171 <output name="genes_fpkm_output" ftype="tabular" file="genes_fpkm.tabular" />
|
|
172 </test>
|
|
173 <test>
|
|
174 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
175 <param name="tables" value="--tables gene_rg" />
|
0
|
176 <output name="gene_rg_output" ftype="tabular" file="gene_rg.tabular" />
|
|
177 </test>
|
|
178 <test>
|
|
179 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
180 <param name="tables" value="--tables isoform_exp_diff" />
|
0
|
181 <output name="isoform_exp_diff_output" ftype="tabular" file="isoform_exp_diff.tabular" />
|
|
182 </test>
|
|
183 <test>
|
|
184 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
185 <param name="tables" value="--tables isoform_count" />
|
0
|
186 <output name="isoform_count_output" ftype="tabular" file="isoform_count.tabular" />
|
|
187 </test>
|
|
188 <test>
|
|
189 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
190 <param name="tables" value="--tables isoform_fpkm" />
|
0
|
191 <output name="isoform_fpkm_output" ftype="tabular" file="isoform_fpkm.tabular" />
|
|
192 </test>
|
|
193 <test>
|
|
194 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
195 <param name="tables" value="--tables isoform_rg" />
|
0
|
196 <output name="isoform_rg_output" ftype="tabular" file="isoform_rg.tabular" />
|
|
197 </test>
|
|
198 <test>
|
|
199 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
200 <param name="tables" value="--tables promoters_diff" />
|
0
|
201 <output name="promoters_diff_output" ftype="tabular" file="promoters_diff.tabular" />
|
|
202 </test>
|
|
203 <test>
|
|
204 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
205 <param name="tables" value="--tables read_groups" />
|
0
|
206 <output name="read_groups_output" ftype="tabular" file="read_groups.tabular" />
|
|
207 </test>
|
|
208 <test>
|
|
209 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
210 <param name="tables" value="--tables run_info" />
|
0
|
211 <output name="run_info_output" ftype="tabular" file="run_info.tabular" />
|
|
212 </test>
|
|
213 <test>
|
|
214 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
215 <param name="tables" value="--tables splicing_diff" />
|
0
|
216 <output name="splicing_diff_output" ftype="tabular" file="splicing_diff.tabular" />
|
|
217 </test>
|
|
218 <test>
|
|
219 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
220 <param name="tables" value="--tables tss_group_exp" />
|
0
|
221 <output name="tss_group_exp_output" ftype="tabular" file="tss_group_exp.tabular" />
|
|
222 </test>
|
|
223 <test>
|
|
224 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
225 <param name="tables" value="--tables tss_count_tracking" />
|
0
|
226 <output name="tss_count_tracking_output" ftype="tabular" file="tss_count_tracking.tabular" />
|
|
227 </test>
|
|
228 <test>
|
|
229 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
230 <param name="tables" value="--tables tss_fpkm" />
|
0
|
231 <output name="tss_fpkm_output" ftype="tabular" file="tss_fpkm.tabular" />
|
|
232 </test>
|
|
233 <test>
|
|
234 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
235 <param name="tables" value="--tables tss_rg" />
|
0
|
236 <output name="tss_rg_output" ftype="tabular" file="tss_rg.tabular" />
|
|
237 </test>
|
|
238 <test>
|
|
239 <param name="input_database" value="cuffdiff_out.sqlite" ftype="sqlite" />
|
2
|
240 <param name="tables" value="--tables var_model" />
|
0
|
241 <output name="var_model_output" ftype="tabular" file="var_model.tabular" />
|
|
242 </test>
|
|
243 </tests>
|
|
244 </tool>
|