diff macs2_callpeak.xml @ 36:8c8ae1e19b10 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
author iuc
date Mon, 04 May 2015 22:46:49 -0400
parents c82a1f154c60
children 37f53bf6c2b1
line wrap: on
line diff
--- a/macs2_callpeak.xml	Wed Apr 29 12:06:24 2015 -0400
+++ b/macs2_callpeak.xml	Mon May 04 22:46:49 2015 -0400
@@ -1,14 +1,15 @@
 <tool id="macs2_callpeak" name="MACS2 callpeak" version="@VERSION_STRING@.0">
     <description>Call peaks from alignment results</description>
+    <macros>
+        <import>macs2_macros.xml</import>
+    </macros>
     <expand macro="requirements">
         <requirement type="package" version="3.0.1">R_3_0_1</requirement>
         <requirement type="package" version="4.1.0">gnu_awk</requirement>
         <requirement type="set_environment">MACS2_SCRIPT_PATH</requirement>
     </expand>
+    <expand macro="stdio" />
     <expand macro="version_command" />
-    <macros>
-        <import>macs2_macros.xml</import>
-    </macros>
     <command>
         #set $temp_stderr = 'macs2_stderr'
         (macs2 callpeak
@@ -95,7 +96,7 @@
             (
             count=`ls -1 MACS2* 2>/dev/null | wc -l`;
             if [ \$count != 0 ];
-            then 
+            then
                 mkdir "${ output_extra_files.files_path }";
                 cp MACS2* "${ output_extra_files.files_path }";
                 python "\$MACS2_SCRIPT_PATH/dir2html.py" "${ output_extra_files.files_path }" $temp_stderr > "${ output_extra_files }";
@@ -107,7 +108,6 @@
         cat $temp_stderr 2&gt;&amp;1;
         (exit \$exit_code_for_galaxy)
     </command>
-    <expand macro="stdio" />
     <inputs>
         <param name="input_treatment_file" type="data" format="bam,sam,bed" multiple="True" label="ChIP-Seq Treatment File" />
         <param name="input_control_file" type="data" format="bam,sam,bed" multiple="True" optional="True" label="ChIP-Seq Control File" />
@@ -146,7 +146,7 @@
             <when value="create_model"/>
             <when value="nomodel">
                 <!--<param name="shiftsize" type="integer" label="Arbitrary shift size in bp" value="100" help="(shiftsize)"/>-->
-                <param name="extsize" type="integer" value="100" label="The arbitrary extension size in bp" 
+                <param name="extsize" type="integer" value="100" label="The arbitrary extension size in bp"
                     help="MACS will use this value as fragment size to extend each read towards 3' end, then pile them up. It's exactly twice the number of legacy shiftsize. In previous language, each read is moved 3' direction to middle of fragment by 1/2 d, then extended to both direction with 1/2 d. This is equivalent to say each read is extended towards 3' into a d size fragment. DEFAULT: 200 (--extsize)"/>
             </when>
         </conditional>
@@ -167,10 +167,10 @@
                 <option value="on">Display advanced options</option>
             </param>
             <when value="on">
-                <param name="to_large" type="boolean" truevalue="--to-large" falsevalue="" checked="False" 
+                <param name="to_large" type="boolean" truevalue="--to-large" falsevalue="" checked="False"
                     label="When set, scale the small sample up to the bigger sample"
                     help="By default, the bigger dataset will be scaled down towards the smaller dataset, which will lead to smaller p/qvalues and more specific results. Keep in mind that scaling down will bring down background noise more. (--to-large)"/>
-                <param name="nolambda" type="boolean" truevalue="--nolambda" falsevalue="" checked="False" 
+                <param name="nolambda" type="boolean" truevalue="--nolambda" falsevalue="" checked="False"
                     label="Use fixed background lambda as local lambda for every peak region" help="up to 9X more time consuming (--nolambda)"/>
                 <param name="ratio" type="float" value="1.0"
                     label="When set, use a custom scaling ratio of ChIP/control (e.g. calculated using NCIS) for linear scaling"
@@ -186,12 +186,12 @@
                         <option value="broad">broad regions</option>
                     </param>
                     <when value="broad">
-                        <param name="broad_cutoff" type="float" label="Cutoff for broad region" value="0.1" 
+                        <param name="broad_cutoff" type="float" label="Cutoff for broad region" value="0.1"
                             help="value is either p-value or q-value as specified above (--broad-cutoff)"/>
                     </when>
                     <when value="nobroad">
-                        <param name="call_summits" type="boolean" truevalue="--call-summits" falsevalue="" checked="False" 
-                            label="Use a more sophisticated signal processing approach to find subpeak summits in each enriched peak region" 
+                        <param name="call_summits" type="boolean" truevalue="--call-summits" falsevalue="" checked="False"
+                            label="Use a more sophisticated signal processing approach to find subpeak summits in each enriched peak region"
                             help="(--call-summits)"/>
                     </when>
                 </conditional>