comparison macs2_callpeak.xml @ 10:f0b351e734b8 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
author iuc
date Wed, 31 Jan 2018 15:12:13 -0500
parents acbd3fb47f90
children cb785e26207c
comparison
equal deleted inserted replaced
9:acbd3fb47f90 10:f0b351e734b8
1 <tool id="macs2_callpeak" name="MACS2 callpeak" version="@VERSION_STRING@.2"> 1 <tool id="macs2_callpeak" name="MACS2 callpeak" version="@VERSION_STRING@.3">
2 <description>Call peaks from alignment results</description> 2 <description>Call peaks from alignment results</description>
3 <macros> 3 <macros>
4 <import>macs2_macros.xml</import> 4 <import>macs2_macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"> 6 <expand macro="requirements">
100 && 100 &&
101 cp MACS2_peaks.xls '${ output_tabular }' 101 cp MACS2_peaks.xls '${ output_tabular }'
102 #end if 102 #end if
103 103
104 ## run R to create pdf from model script 104 ## run R to create pdf from model script
105 #if $nomodel_type.nomodel_type_selector == "create_model" and "pdf" in str($outputs).split(','): 105 #if $nomodel_type.nomodel_type_selector == "create_model" and "pdf" in str($outputs).split(',') and $format != "BAMPE":
106 && 106 &&
107 Rscript MACS2_model.r > MACS2_model.r.log 107 Rscript MACS2_model.r > MACS2_model.r.log
108 #end if 108 #end if
109 109
110 #if 'html' in str($outputs).split(','): 110 #if 'html' in str($outputs).split(','):
204 <param name="outputs" type="select" display="checkboxes" multiple="True" optional="True" label="Additional Outputs" help="PDF is only created when the model is built"> 204 <param name="outputs" type="select" display="checkboxes" multiple="True" optional="True" label="Additional Outputs" help="PDF is only created when the model is built">
205 <option value="peaks_tabular">Peaks as tabular file</option> 205 <option value="peaks_tabular">Peaks as tabular file</option>
206 <option value="summits">Peak summits</option> 206 <option value="summits">Peak summits</option>
207 <option value="bdg" >Scores in bedGraph files (--bdg)</option> 207 <option value="bdg" >Scores in bedGraph files (--bdg)</option>
208 <option value="html">Summary page (html)</option> 208 <option value="html">Summary page (html)</option>
209 <option value="pdf">Plot in PDF</option> 209 <option value="pdf">Plot in PDF (only available if a model is created and if BAMPE is not used)</option>
210 </param> 210 </param>
211 211
212 <section name="advanced_options" title="Advanced Options"> 212 <section name="advanced_options" title="Advanced Options">
213 <param name="to_large" type="boolean" truevalue="--to-large" falsevalue="" checked="False" optional="True" 213 <param name="to_large" type="boolean" truevalue="--to-large" falsevalue="" checked="False" optional="True"
214 label="When set, scale the small sample up to the bigger sample" 214 label="When set, scale the small sample up to the bigger sample"
272 </data> 272 </data>
273 <data name="output_plot" format="pdf" from_work_dir="MACS2_model.pdf" label="${tool.name} on ${on_string} (plot)"> 273 <data name="output_plot" format="pdf" from_work_dir="MACS2_model.pdf" label="${tool.name} on ${on_string} (plot)">
274 <filter> 274 <filter>
275 (( 275 ((
276 outputs and 'pdf' in outputs and 276 outputs and 'pdf' in outputs and
277 nomodel_type['nomodel_type_selector'] == "create_model" 277 nomodel_type['nomodel_type_selector'] == "create_model" and
278 format != "BAMPE"
278 )) 279 ))
279 </filter> 280 </filter>
280 </data> 281 </data>
281 <data name="output_treat_pileup" format="bedgraph" from_work_dir="MACS2_treat_pileup.bdg" label="${tool.name} on ${on_string} (Bedgraph Treatment)"> 282 <data name="output_treat_pileup" format="bedgraph" from_work_dir="MACS2_treat_pileup.bdg" label="${tool.name} on ${on_string} (Bedgraph Treatment)">
282 <filter>outputs and 'bdg' in outputs</filter> 283 <filter>outputs and 'bdg' in outputs</filter>
333 <param name="format" value="BAMPE" /> 334 <param name="format" value="BAMPE" />
334 <param name="effective_genome_size_options_selector" value="user_defined"/> 335 <param name="effective_genome_size_options_selector" value="user_defined"/>
335 <param name="gsize" value="3300000000"/> 336 <param name="gsize" value="3300000000"/>
336 <param name="nomodel_type_selector" value="nomodel"/> 337 <param name="nomodel_type_selector" value="nomodel"/>
337 <param name="nolambda" value="True"/> 338 <param name="nolambda" value="True"/>
339 <!-- we select PDF as output, but since we are in BAMPE mode, this will not ignored and the expect_num_outputs stays one. -->
340 <param name="outputs" value="pdf"/>
338 <output name="output_narrowpeaks" file="callpeak_bampe_narrow.bed"/> 341 <output name="output_narrowpeaks" file="callpeak_bampe_narrow.bed"/>
339 </test> 342 </test>
340 </tests> 343 </tests>
341 <help><![CDATA[ 344 <help><![CDATA[
342 345