diff macs2_randsample.xml @ 1:d202e3d663bb draft

Uploaded
author iuc
date Thu, 16 Jan 2014 15:44:43 -0500
parents 9c157b556c33
children da0a1fcf7fe0
line wrap: on
line diff
--- a/macs2_randsample.xml	Thu Jan 16 13:31:17 2014 -0500
+++ b/macs2_randsample.xml	Thu Jan 16 15:44:43 2014 -0500
@@ -1,11 +1,10 @@
 <tool id="macs2_randsamoke" name="Randomly sample number or percentage" version="2.0.10.0">
     <description>of total reads</description>
-    <requirements>
-        <requirement type="python-module">macs2</requirement>
-        <requirement type="python-module">numpy</requirement>
-        <requirement type="package" version="2.0.10.2">macs2</requirement>
-        <requirement type="package" version="1.7.1">numpy</requirement>
-    </requirements>
+    <expand macro="requirements" />
+    <expand macro="version_command" />
+    <macros>
+        <import>macs2_macros.xml</import>
+    </macros>
     <command>
         macs2 randsample
             -t $infile
@@ -25,7 +24,7 @@
 
         <!--may need to add a few more formats at later time-->
         <param name="infile" type="data" format="sam,bam,bed" label="Sequencing alignment file" />
-        <param name="tsize" type="float" label="Tag size" value="-1.0" help="This will overide the auto detected tag size. DEFAULT: Not set (-1.0)  (--tsize)" />
+        <expand macro="tag_size" />
 
         <conditional name="method_options">
             <param name="method_options_selector" type="select" label="Select action to be performed">