Mercurial > repos > jjohnson > rmats
comparison rmats.xml @ 0:ff15d6def09b draft
"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/rmats commit 315f6ba609e9545c3a374f7fd471aee50b135ec8-dirty"
author | jjohnson |
---|---|
date | Sat, 23 Jul 2022 21:23:48 +0000 |
parents | |
children | 74af9ab1a154 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ff15d6def09b |
---|---|
1 <tool id="rmats" name="rMats turbo" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5"> | |
2 <description>detect differential alternative splicing events from RNA-Seq</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <expand macro="version_command" /> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 echo $b1 > b1.txt && | |
10 #if $b2 | |
11 echo $b2 > b2.txt && | |
12 #end if | |
13 rmats.py | |
14 --b1 b1.txt | |
15 #if $b2 | |
16 --b1 b1.txt | |
17 #end if | |
18 --gtf '$gtf' | |
19 #if $novel.novelSS == 'yes' | |
20 --novelSS | |
21 #if $novel.mil | |
22 --mil $novel.mil | |
23 #end if | |
24 #if $novel.mel | |
25 --mel $novel.mel | |
26 #end if | |
27 #end if | |
28 #if $readLength | |
29 --readLength $readLength | |
30 #end if | |
31 $variable_read_length | |
32 #if $libType | |
33 --libType "$libType" | |
34 #end if | |
35 #if $anchorLength | |
36 --anchorLength $anchorLength | |
37 #end if | |
38 #if $cstat | |
39 --cstat $cstat | |
40 #end if | |
41 $paired_stats | |
42 --nthread \${GALAXY_SLOTS:-1} | |
43 --tmp tmp | |
44 --od outputs | |
45 ]]></command> | |
46 <inputs> | |
47 <param name="b1" type="data" format="bam" multiple="true" label="BAM files for sample_1"/> | |
48 <param name="b2" type="data" format="bam" multiple="true" optional="true" label="BAM files for sample_2"/> | |
49 <param name="gtf" type="data" format="gtf" label="GTF - annotation of genes and transcripts"/> | |
50 | |
51 <conditional name="novel"> | |
52 <param name="novelSS" argument="--novelSS" type="select" label="Enable detection of novel splice sites"> | |
53 <option value="no">No</option> | |
54 <option value="yes">Yes</option> | |
55 </param> | |
56 <when value="no"/> | |
57 <when value="yes"> | |
58 <param argument="--mil" type="integer" value="" optional="true" label="Minimum Intron Length" help=" Default is 50"/> | |
59 <param argument="--mel" type="integer" value="" optional="true" label="Maximum Exon Length" help=" Default is 500"/> | |
60 </when> | |
61 </conditional> | |
62 <param argument="--readLength" type="integer" value="150" label="The length of each read"/> | |
63 <param name="variable_read_length" argument="--variable-read-length" type="boolean" truevalue="--variable-read-length" falsevalue="" checked="true" label="Allow reads with lengths that differ from --readLength to be processed"/> | |
64 | |
65 <param argument="--libType" type="select" optional="true" label="Library type" | |
66 help="Use fr-firststrand or fr-secondstrand for strand-specific data. Default: fr-unstranded"> | |
67 <option value="fr-unstranded">fr-unstranded</option> | |
68 <option value="fr-firststrand">fr-firststrand</option> | |
69 <option value="fr-secondstrand">fr-secondstrand</option> | |
70 </param> | |
71 | |
72 <param argument="--anchorLength" type="integer" value="" optional="true" label="The anchor length" help=" Default is 1"/> | |
73 | |
74 <param argument="--cstat" type="float" value="" min="0." max="1." optional="true" label="The cutoff splicing difference." help="The cutoff used in the null hypothesis test for differential splicing. The default is 0.0001 for 0.01% difference. Does not apply to the paired stats model"/> | |
75 <param name="paired_stats" argument="--paired-stats" type="boolean" truevalue="--paired-stats" falsevalue="" checked="true" label="Enable detection of novel splice sites"/> | |
76 | |
77 <param name="history_outputs" type="select" multiple="true" label="Select outputs"> | |
78 <option value="SE.MATS.JC.txt">SE.MATS.JC.txt</option> | |
79 <option value="SE.MATS.JCEC.txt">SE.MATS.JCEC.txt</option> | |
80 <option value="MXE.MATS.JC.txt">MXE.MATS.JC.txt</option> | |
81 <option value="MXE.MATS.JCEC.txt">MXE.MATS.JCEC.txt</option> | |
82 <option value="A3SS.MATS.JC.txt">A3SS.MATS.JC.txt</option> | |
83 <option value="A3SS.MATS.JCEC.txt">A3SS.MATS.JCEC.txt</option> | |
84 <option value="A5SS.MATS.JC.txt">A5SS.MATS.JC.txt</option> | |
85 <option value="A5SS.MATS.JCEC.txt">A5SS.MATS.JCEC.txt</option> | |
86 <option value="RI.MATS.JC.txt">RI.MATS.JC.txt</option> | |
87 <option value="RI.MATS.JCEC.txt">RI.MATS.JCEC.txt</option> | |
88 <option value="fromGTF.SE.txt">fromGTF.SE.txt</option> | |
89 <option value="fromGTF.novelJunction.SE.txt">fromGTF.novelJunction.SE.txt</option> | |
90 <option value="fromGTF.novelSpliceSite.SE.txt">fromGTF.novelSpliceSite.SE.txt</option> | |
91 <option value="fromGTF.MXE.txt">fromGTF.MXE.txt</option> | |
92 <option value="fromGTF.novelJunction.MXE.txt">fromGTF.novelJunction.MXE.txt</option> | |
93 <option value="fromGTF.novelSpliceSite.MXE.txt">fromGTF.novelSpliceSite.MXE.txt</option> | |
94 <option value="fromGTF.A3SS.txt">fromGTF.A3SS.txt</option> | |
95 <option value="fromGTF.novelJunction.A3SS.txt">fromGTF.novelJunction.A3SS.txt</option> | |
96 <option value="fromGTF.novelSpliceSite.A3SS.txt">fromGTF.novelSpliceSite.A3SS.txt</option> | |
97 <option value="fromGTF.A5SS.txt">fromGTF.A5SS.txt</option> | |
98 <option value="fromGTF.novelJunction.A5SS.txt">fromGTF.novelJunction.A5SS.txt</option> | |
99 <option value="fromGTF.novelSpliceSite.A5SS.txt">fromGTF.novelSpliceSite.A5SS.txt</option> | |
100 <option value="fromGTF.RI.txt">fromGTF.RI.txt</option> | |
101 <option value="fromGTF.novelJunction.RI.txt">fromGTF.novelJunction.RI.txt</option> | |
102 <option value="fromGTF.novelSpliceSite.RI.txt">fromGTF.novelSpliceSite.RI.txt</option> | |
103 </param> | |
104 | |
105 </inputs> | |
106 <outputs> | |
107 <data name="summary" format="tabular" label="${tool.name} on ${on_string}: summary.txt" from_work_dir="outputs/summary.txt"> | |
108 <expand macro="output_actions" column_names="@COLNAME_SUMMARY@"/> | |
109 </data> | |
110 | |
111 <data name="fromGTF_SE" format="tabular" label="${tool.name} on ${on_string}: fromGTF.SE.txt" from_work_dir="outputs/fromGTF.SE.txt"> | |
112 <filter>history_outputs and 'fromGTF.SE.txt' in history_outputs</filter> | |
113 <expand macro="output_actions" column_names="@COLNAMES_SE_GTF@"/> | |
114 </data> | |
115 <data name="fromGTF_A3SS" format="tabular" label="${tool.name} on ${on_string}: fromGTF.A3SS.txt" from_work_dir="outputs/fromGTF.A3SS.txt"> | |
116 <filter>history_outputs and 'fromGTF.A3SS.txt' in history_outputs</filter> | |
117 <expand macro="output_actions" column_names="@COLNAMES_A_SS_GTF@"/> | |
118 </data> | |
119 <data name="fromGTF_A5SS" format="tabular" label="${tool.name} on ${on_string}: fromGTF.A5SS.txt" from_work_dir="outputs/fromGTF.A5SS.txt"> | |
120 <filter>history_outputs and 'fromGTF.A5SS.txt' in history_outputs</filter> | |
121 <expand macro="output_actions" column_names="@COLNAMES_A_SS_GTF@"/> | |
122 </data> | |
123 <data name="fromGTF_MXE" format="tabular" label="${tool.name} on ${on_string}: fromGTF.MXE.txt" from_work_dir="outputs/fromGTF.MXE.txt"> | |
124 <filter>history_outputs and 'fromGTF.MXE.txt' in history_outputs</filter> | |
125 <expand macro="output_actions" column_names="@COLNAMES_MXE_GTF@"/> | |
126 </data> | |
127 <data name="fromGTF_RI" format="tabular" label="${tool.name} on ${on_string}: fromGTF.RI.txt" from_work_dir="outputs/fromGTF.RI.txt"> | |
128 <filter>history_outputs and 'fromGTF.RI.txt' in history_outputs</filter> | |
129 <expand macro="output_actions" column_names="@COLNAMES_RI_GTF@"/> | |
130 </data> | |
131 | |
132 <data name="fromGTF_novelSpliceSite_SE" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelSpliceSite.SE.txt" from_work_dir="outputs/fromGTF.novelSpliceSite.SE.txt"> | |
133 <filter>history_outputs and 'fromGTF.novelSpliceSite.SE.txt' in history_outputs</filter> | |
134 <expand macro="output_actions" column_names="@COLNAMES_SE_GTF@"/> | |
135 </data> | |
136 <data name="fromGTF_novelSpliceSite_A3SS" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelSpliceSite.A3SS.txt" from_work_dir="outputs/fromGTF.novelSpliceSite.A3SS.txt"> | |
137 <filter>history_outputs and 'fromGTF.novelSpliceSite.A3SS.txt' in history_outputs</filter> | |
138 <expand macro="output_actions" column_names="@COLNAMES_A_SS_GTF@"/> | |
139 </data> | |
140 <data name="fromGTF_novelSpliceSite_A5SS" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelSpliceSite.A5SS.txt" from_work_dir="outputs/fromGTF.novelSpliceSite.A5SS.txt"> | |
141 <filter>history_outputs and 'fromGTF.novelSpliceSite.A5SS.txt' in history_outputs</filter> | |
142 <expand macro="output_actions" column_names="@COLNAMES_A_SS_GTF@"/> | |
143 </data> | |
144 <data name="fromGTF_novelSpliceSite_MXE" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelSpliceSite.MXE.txt" from_work_dir="outputs/fromGTF.novelSpliceSite.MXE.txt"> | |
145 <filter>history_outputs and 'fromGTF.novelSpliceSite.MXE.txt' in history_outputs</filter> | |
146 <expand macro="output_actions" column_names="@COLNAMES_MXE_GTF@"/> | |
147 </data> | |
148 <data name="fromGTF_novelSpliceSite_RI" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelSpliceSite.RI.txt" from_work_dir="outputs/fromGTF.novelSpliceSite.RI.txt"> | |
149 <filter>history_outputs and 'fromGTF.novelSpliceSite.RI.txt' in history_outputs</filter> | |
150 <expand macro="output_actions" column_names="@COLNAMES_RI_GTF@"/> | |
151 </data> | |
152 | |
153 <data name="fromGTF_novelJunction_SE" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelJunction.SE.txt" from_work_dir="outputs/fromGTF.novelJunction.SE.txt"> | |
154 <filter>history_outputs and 'fromGTF.novelJunction.SE.txt' in history_outputs</filter> | |
155 <expand macro="output_actions" column_names="@COLNAMES_SE_GTF@"/> | |
156 </data> | |
157 <data name="fromGTF_novelJunction_A3SS" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelJunction.A3SS.txt" from_work_dir="outputs/fromGTF.novelJunction.A3SS.txt"> | |
158 <filter>history_outputs and 'fromGTF.novelJunction.A3SS.txt' in history_outputs</filter> | |
159 <expand macro="output_actions" column_names="@COLNAMES_A_SS_GTF@"/> | |
160 </data> | |
161 <data name="fromGTF_novelJunction_A5SS" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelJunction.A5SS.txt" from_work_dir="outputs/fromGTF.novelJunction.A5SS.txt"> | |
162 <filter>history_outputs and 'fromGTF.novelJunction.A5SS.txt' in history_outputs</filter> | |
163 <expand macro="output_actions" column_names="@COLNAMES_A_SS_GTF@"/> | |
164 </data> | |
165 <data name="fromGTF_novelJunction_MXE" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelJunction.MXE.txt" from_work_dir="outputs/fromGTF.novelJunction.MXE.txt"> | |
166 <filter>history_outputs and 'fromGTF.novelJunction.MXE.txt' in history_outputs</filter> | |
167 <expand macro="output_actions" column_names="@COLNAMES_MXE_GTF@"/> | |
168 </data> | |
169 <data name="fromGTF_novelJunction_RI" format="tabular" label="${tool.name} on ${on_string}: fromGTF.novelJunction.RI.txt" from_work_dir="outputs/fromGTF.novelJunction.RI.txt"> | |
170 <filter>history_outputs and 'fromGTF.novelJunction.RI.txt' in history_outputs</filter> | |
171 <expand macro="output_actions" column_names="@COLNAMES_RI_GTF@"/> | |
172 </data> | |
173 | |
174 <data name="SE_MATS_JCEC" format="tabular" label="${tool.name} on ${on_string}: SE.MATS.JCEC.txt" from_work_dir="outputs/SE.MATS.JCEC.txt"> | |
175 <filter>history_outputs and 'SE.MATS.JCEC.txt' in history_outputs</filter> | |
176 <expand macro="output_actions" column_names="@COLNAMES_SE@"/> | |
177 </data> | |
178 <data name="SE_MATS_JC" format="tabular" label="${tool.name} on ${on_string}: SE.MATS.JC.txt" from_work_dir="outputs/SE.MATS.JC.txt"> | |
179 <filter>history_outputs and 'SE.MATS.JC.txt' in history_outputs</filter> | |
180 <expand macro="output_actions" column_names="@COLNAMES_SE@"/> | |
181 </data> | |
182 <data name="A3SS_MATS_JCEC" format="tabular" label="${tool.name} on ${on_string}: A3SS.MATS.JCEC.txt" from_work_dir="outputs/A3SS.MATS.JCEC.txt"> | |
183 <filter>history_outputs and 'A3SS.MATS.JCEC.txt' in history_outputs</filter> | |
184 <expand macro="output_actions" column_names="@COLNAMES_A_SS@"/> | |
185 </data> | |
186 <data name="A3SS_MATS_JC" format="tabular" label="${tool.name} on ${on_string}: A3SS.MATS.JC.txt" from_work_dir="outputs/A3SS.MATS.JC.txt"> | |
187 <filter>history_outputs and 'A3SS.MATS.JC.txt' in history_outputs</filter> | |
188 <expand macro="output_actions" column_names="@COLNAMES_A_SS@"/> | |
189 </data> | |
190 <data name="A5SS_MATS_JCEC" format="tabular" label="${tool.name} on ${on_string}: A5SS.MATS.JCEC.txt" from_work_dir="outputs/A5SS.MATS.JCEC.txt"> | |
191 <filter>history_outputs and 'A5SS.MATS.JCEC.txt' in history_outputs</filter> | |
192 <expand macro="output_actions" column_names="@COLNAMES_A_SS@"/> | |
193 </data> | |
194 <data name="A5SS_MATS_JC" format="tabular" label="${tool.name} on ${on_string}: A5SS.MATS.JC.txt" from_work_dir="outputs/A5SS.MATS.JC.txt"> | |
195 <filter>history_outputs and 'A5SS.MATS.JC.txt' in history_outputs</filter> | |
196 <expand macro="output_actions" column_names="@COLNAMES_A_SS@"/> | |
197 </data> | |
198 <data name="MXE_MATS_JCEC" format="tabular" label="${tool.name} on ${on_string}: MXE.MATS.JCEC.txt" from_work_dir="outputs/MXE.MATS.JCEC.txt"> | |
199 <filter>history_outputs and 'MXE.MATS.JCEC.txt' in history_outputs</filter> | |
200 <expand macro="output_actions" column_names="@COLNAMES_MXE@"/> | |
201 </data> | |
202 <data name="MXE_MATS_JC" format="tabular" label="${tool.name} on ${on_string}: MXE.MATS.JC.txt" from_work_dir="outputs/MXE.MATS.JC.txt"> | |
203 <filter>history_outputs and 'MXE.MATS.JC.txt' in history_outputs</filter> | |
204 <expand macro="output_actions" column_names="@COLNAMES_MXE@"/> | |
205 </data> | |
206 <data name="RI_MATS_JCEC" format="tabular" label="${tool.name} on ${on_string}: RI.MATS.JCEC.txt" from_work_dir="outputs/RI.MATS.JCEC.txt"> | |
207 <filter>history_outputs and 'RI.MATS.JCEC.txt' in history_outputs</filter> | |
208 <expand macro="output_actions" column_names="@COLNAMES_RI@"/> | |
209 </data> | |
210 <data name="RI_MATS_JC" format="tabular" label="${tool.name} on ${on_string}: RI.MATS.JC.txt" from_work_dir="outputs/RI.MATS.JC.txt"> | |
211 <filter>history_outputs and 'RI.MATS.JC.txt' in history_outputs</filter> | |
212 <expand macro="output_actions" column_names="@COLNAMES_RI@"/> | |
213 </data> | |
214 </outputs> | |
215 <tests> | |
216 <test> | |
217 <param name="b1" ftype="bam" value="normal_small.bam"/> | |
218 <param name="b2" ftype="bam" value="cancer_small.bam"/> | |
219 <param name="gtf" ftype="gtf" value="GRCh38.gtf"/> | |
220 <param name="readLength" value="150"/> | |
221 <param name="variable_read_length" value="True"/> | |
222 <output name="summary" file="out/summary.txt" ftype="tabular"/> | |
223 </test> | |
224 | |
225 <test> | |
226 <param name="b1" ftype="bam" value="normal_small.bam"/> | |
227 <param name="b2" ftype="bam" value="cancer_small.bam"/> | |
228 <param name="gtf" ftype="gtf" value="GRCh38.gtf"/> | |
229 <param name="readLength" value="150"/> | |
230 <param name="variable_read_length" value="True"/> | |
231 <conditional name="novel"> | |
232 <param name="novelSS" value="yes"/> | |
233 <param name="mil" value="40"/> | |
234 </conditional> | |
235 <output name="summary" file="novel/summary.txt" ftype="tabular"/> | |
236 </test> | |
237 | |
238 <test> | |
239 <param name="b1" ftype="bam" value="normal_small.bam"/> | |
240 <param name="b2" ftype="bam" value="cancer_small.bam"/> | |
241 <param name="gtf" ftype="gtf" value="GRCh38.gtf"/> | |
242 <param name="readLength" value="150"/> | |
243 <param name="variable_read_length" value="True"/> | |
244 <conditional name="novel"> | |
245 <param name="novelSS" value="yes"/> | |
246 </conditional> | |
247 <param name="paired_stats" value="True"/> | |
248 <param name="" value="SE.MATS.JC.txt,MXE.MATS.JC.txt"/> | |
249 <output name="summary"> | |
250 <assert_contents> | |
251 <has_text_matching expression="EventType"/> | |
252 </assert_contents> | |
253 </output> | |
254 <output name="summary" file="novel/summary.txt" ftype="tabular"/> | |
255 </test> | |
256 | |
257 </tests> | |
258 <help><![CDATA[ | |
259 ** rMATS ** | |
260 | |
261 RMATS is a computational tool to detect differential alternative splicing events from RNA-Seq data. The statistical model of MATS calculates the P-value and false discovery rate that the difference in the isoform ratio of a gene between two conditions exceeds a given user-defined threshold. From the RNA-Seq data, MATS can automatically detect and analyze alternative splicing events corresponding to all major types of alternative splicing patterns. MATS handles replicate RNA-Seq data from both paired and unpaired study design. | |
262 | |
263 https://github.com/Xinglab/rmats-turbo#starting-with-bam-files | |
264 | |
265 https://github.com/Xinglab/rmats-turbo#output | |
266 | |
267 ]]></help> | |
268 <expand macro="citations" /> | |
269 </tool> |