diff small_rna_maps.xml @ 9:3ea75c573429 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_maps commit 6199193c7fe2cb56403eea8af0b40d44f7311fd5
author artbio
date Tue, 07 Nov 2017 12:31:28 -0500
parents 1827b74f872b
children c3fb2a864526
line wrap: on
line diff
--- a/small_rna_maps.xml	Mon Oct 23 08:29:39 2017 -0400
+++ b/small_rna_maps.xml	Tue Nov 07 12:31:28 2017 -0500
@@ -1,4 +1,4 @@
-<tool id="small_rna_maps" name="small_rna_maps" version="2.3.0">
+<tool id="small_rna_maps" name="small_rna_maps" version="2.4.0">
   <description></description>
   <requirements>
         <requirement type="package" version="1.11.2=py27_0">numpy</requirement>
@@ -27,6 +27,7 @@
       #end for
           --minsize $minsize
           --maxsize $maxsize
+          --cluster $cluster
       #if str($plots_options.plots_options_selector ) == "two_plot":
           --plot_methods '${plots_options.first_plot}' '${plots_options.extra_plot}'
           --outputs '$output_tab' '$extra_output_tab' &&
@@ -62,6 +63,8 @@
            value="0" help="default value: 0" />
     <param name="maxsize" type="integer" label="Maximal size of reads for inclusion in analysis"
            value="10000" help="default value: 10000" />
+    <param name="cluster" type="integer" label="aggregation distance in nucleotides"
+           value="0" help="if not 0, sets the distance (in nt) below which data are clustered to a single median position" />
     <conditional name="plots_options">
         <param name="plots_options_selector" type="select" display="radio" label="Plot Options">
             <option value="one_plot">Just one plot per chromosome</option>
@@ -115,7 +118,19 @@
         <test>
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
+            <param name="cluster" value="5" />
             <param name="maxsize" value="10000" />
+            <param name="plots_options_selector" value="one_plot" />
+            <param name="normalization" value="1 1" />
+            <param name="first_plot" value="Counts" />
+            <output file="count_cluster_5.tab" name="output_tab" />
+            <output file="count_cluster_5.pdf" name="output_pdf" />
+        </test>
+        <test>
+            <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
+            <param name="minsize" value="0" />
+            <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="global" />
             <param name="mergestrands" value="nomerge" />
             <param name="first_plot" value="Size" />
@@ -127,6 +142,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="global" />
             <param name="mergestrands" value="merge" />
             <param name="first_plot" value="Size" />
@@ -138,6 +154,7 @@
             <param name="inputs" value="input1.bam" ftype="bam"/>
             <param name="minsize" value="20" />
             <param name="maxsize" value="30" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="global" />
             <param name="mergestrands" value="merge" />
             <param name="first_plot" value="Size" />
@@ -149,6 +166,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="two_plot" />
             <param name="first_plot" value="Counts" />
             <param name="extra_plot" value="Mean" />
@@ -161,6 +179,7 @@
             <param name="inputs" value="input2.bam,input1.bam" ftype="bam"/>
             <param name="minsize" value="20" />
             <param name="maxsize" value="30" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="two_plot" />
             <param name="first_plot" value="Counts" />
             <param name="extra_plot" value="Mean" />
@@ -173,6 +192,7 @@
             <param name="inputs" value="input1.bam,input1.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="two_plot" />
             <param name="first_plot" value="Counts" />
             <param name="extra_plot" value="Mean" />
@@ -185,6 +205,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="two_plot" />
             <param name="first_plot" value="Counts" />
             <param name="extra_plot" value="Median" />
@@ -197,6 +218,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="two_plot" />
             <param name="first_plot" value="Counts" />
             <param name="extra_plot" value="Coverage" />
@@ -209,6 +231,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="two_plot" />
             <param name="first_plot" value="Counts" />
             <param name="extra_plot" value="Size" />
@@ -221,6 +244,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="two_plot" />
             <param name="first_plot" value="Size" />
             <param name="extra_plot" value="Counts" />
@@ -233,6 +257,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="two_plot" />
             <param name="first_plot" value="Size" />
             <param name="extra_plot" value="Counts" />
@@ -244,6 +269,7 @@
         <test>
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
+            <param name="cluster" value="0" />
             <param name="maxsize" value="10000" />
             <param name="plots_options_selector" value="one_plot" />
             <param name="normalization" value="1 1" />
@@ -255,6 +281,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="one_plot" />
             <param name="first_plot" value="Size" />
             <param name="normalization" value="1 1" />
@@ -265,6 +292,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="one_plot" />
             <param name="first_plot" value="Coverage" />
             <param name="normalization" value="1 1" />
@@ -275,6 +303,7 @@
             <param name="inputs" value="input1.bam,input2.bam" ftype="bam"/>
             <param name="minsize" value="0" />
             <param name="maxsize" value="10000" />
+            <param name="cluster" value="0" />
             <param name="plots_options_selector" value="one_plot" />
             <param name="first_plot" value="Coverage" />
             <param name="normalization" value="1 0.2" />