changeset 0:082c1e8ff413

Uploaded
author xuebing
date Sat, 31 Mar 2012 13:25:22 -0400
parents
children ce94ba22a3b3
files bed_collapse.xml
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bed_collapse.xml	Sat Mar 31 13:25:22 2012 -0400
@@ -0,0 +1,19 @@
+<tool id="bed_collapse" name="bed_collapse">
+  <description>collapse intervals</description>
+  <command interpreter="python">bed_collapse.py $input $strand $score > $outfile </command>
+  <inputs>
+    <param name="input" format="interval" type="data" label="Original file"/>
+    <param name="strand" size="10" type="integer" value="6" label="strand column" help="set 0 to ignore strand information" />
+    <param name="score" size="10" type="integer" value="5" label="for duplicate lines, keep the one with max value in column" help="set 0 to ignore score information" />
+    </inputs>
+  <outputs>
+    <data format="input" name="outfile" />
+  </outputs>
+  <help>
+
+**What it does**
+
+This tool collapses genomic intervals that have the same position (and strandness if specified) and output a set of unique intervals.  
+
+  </help>
+</tool>