diff macs2_filterdup.xml @ 20:f63ccb331626 draft

Uploaded
author iuc
date Thu, 01 May 2014 17:07:46 -0400
parents 05aca18fd8dc
children 59845dc3331f
line wrap: on
line diff
--- a/macs2_filterdup.xml	Wed Apr 23 18:25:51 2014 -0400
+++ b/macs2_filterdup.xml	Thu May 01 17:07:46 2014 -0400
@@ -27,19 +27,8 @@
         <expand macro="tag_size" />
         <param name="pvalue" type="text" value="1e-5" label="Pvalue cutoff for binomial distribution test" help="default: 1e-5 (--pvalue)" />
 
-        <conditional name="keep_dup_options">
-            <param name="keep_dup_options_selector" type="select" label="controlling behavior of duplicate tags at the exact same location"
-                help="It controls the 'macs2 filterdup' behavior towards duplicate tags at the exact same location (the same coordination and the same strand. The default 'auto') option makes 'macs2 filterdup' calculate the maximum tags at the exact same location based on binomal distribution using given -p as pvalue cutoff; and the 'all' option keeps every tags (useful if you only want to convert formats). If an integer is given, at most this number of tags will be kept at the same location. Default: auto">
-                <option value="auto" selected="true">auto</option>
-                <option value="all">all</option>
-                <option value="user">user defined</option>
-            </param>
-            <when value="user">
-                <param name="user_keepdup" type="integer" value="10" label="Keep at most this number of tags"/>
-            </when>
-            <when value="all"/>
-            <when value="auto"/>
-        </conditional>
+        <expand macro="keep_duplicates" />
+
     </inputs>
     <outputs>
         <data name="outfile" format="bed" label="${tool.name} on ${on_string}" />