diff macros.xml @ 7:6d6ceda98d94 draft

Uploaded
author iuc
date Tue, 04 Apr 2017 14:40:36 -0400
parents d78ff3764fe5
children ca90b0b3bd64
line wrap: on
line diff
--- a/macros.xml	Tue Apr 04 10:29:15 2017 -0400
+++ b/macros.xml	Tue Apr 04 14:40:36 2017 -0400
@@ -5,22 +5,22 @@
         <param name="mememinw" type="integer" min="0" value="6" label="Minimum motif width for MEME" />
         <param name="mememaxw" type="integer" min="0" value="16" label="Maximum motif width for MEME" />
     </xml>
-    <xml name="label_cond_params_start">
-        <param name="input" type="data" format="bam,bed,scidx" label="Run multigps on" help="Supported formats are bam, bed and scidx">
-            <validator type="unspecified_build" />
-        </param>
-        <param name="control" type="data" format="bam,bed,scidx" optional="True" label="Optional file containing reads from a control experiment" help="Must be same forat as the input above" />
-        <param name="condition_name" type="text" label="Condition name" />
-    </xml>
-    <xml name="label_cond_params_end">
+    <xml name="param_experiment_type">
         <param name="experiment_type" type="select" label="Experiment type for this replicate">
-            <option value="None" selected="True">Do not set</option>
-            <option value="chipseq">ChIP-seq</option>
+            <option value="chipseq" selected="True">ChIP-seq</option>
             <option value="chipexo">ChIP-exo</option>
         </param>
-        <param  name="fixedreadcount" type="select" label="Use fixed per-base read count limit for this replicate?" help="Selecting No uses a global per-base limit that is estimated from a Poisson distribution.">
-            <option value="None" selected="True">No</option>
-            <option value="P">Yes</option>
-        </param>
+    </xml>
+    <xml name="cond_fixedreadcount">
+        <conditional name="fixedreadcount_cond">
+            <param  name="fixedreadcount_select" type="select" label="Set fixed per-base read count limit for this replicate?" help="Selecting No uses a global per-base limit that is estimated from a Poisson distribution.">
+                <option value="no" selected="True">No</option>
+                <option value="yes">Yes</option>
+            </param>
+            <when value="no"/>
+            <when value="yes">
+                <param name="fixedreadcount" type="integer" value="0" min="0" label="Fixed per-base read count limit"/>
+            </when>
+        </conditional>
     </xml>
 </macros>