diff bamCompare.xml @ 29:3a2aab18a217 draft

Uploaded
author bgruening
date Tue, 16 Sep 2014 13:46:05 -0400
parents f7712a057440
children 5231f398d784
line wrap: on
line diff
--- a/bamCompare.xml	Wed Apr 02 09:15:44 2014 -0400
+++ b/bamCompare.xml	Tue Sep 16 13:46:05 2014 -0400
@@ -45,6 +45,8 @@
             #end if
 
           #end if
+      #elif $comparison.type in ['ratio','log2']:
+          --pseudocount $comparison.pseudocount
       #end if
 
       #if str($region).strip() != '':
@@ -117,8 +119,12 @@
                 <option value="ratio">compute the ratio of the number of reads</option>
                 <option value="subtract">compute difference (subtract input from treatment) of the number of reads</option>
             </param>
-            <when value="log2" />
-            <when value="ratio" />
+            <when value="log2">
+                <expand macro="pseudocount" />
+            </when>
+            <when value="ratio">
+                <expand macro="pseudocount" />
+            </when>
             <when value="subtract">
                 <conditional name="normalization">
                     <param name="type" type="select" label="Normalization method" >
@@ -166,9 +172,7 @@
                     label="Minimum mapping quality (e.g. BOWTIE2 measures)"
                     help= "If set, only reads that have a mapping quality score higher than the given value are considered. *Note* Bowtie's Mapping quality is related to uniqueness: the higher the score, the more unique is a read. A mapping quality defined by Bowtie of 10 or less indicates that there is at least a 1 in 10 chance that the read truly originated elsewhere."/>
 
-                <param name="missingDataAsZero" type="boolean" truevalue="yes" falsevalue="no" checked="True"
-                    label ="Treat missing data as zero"
-                    help  ="This parameter determines if missing data should be treated as zeros. If unchecked, missing data will be ignored and not included in the output file. Missing data is defined as those regions for which both BAM files have 0 reads." />
+                <expand macro="missingDataAsZero" />
 
                 <param name="ignoreForNormalization" type="text" value="" size="50"
                     label="regions that should be excluded for calculating the scaling factor"
@@ -222,4 +226,5 @@
 @REFERENCES@
 
     </help>
+    <expand macro="citations" />
 </tool>