diff expandBed.xml @ 8:0d3aa592ce27 draft

Uploaded
author iuc
date Tue, 28 Apr 2015 22:56:34 -0400
parents
children a2d4c30ba2f9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/expandBed.xml	Tue Apr 28 22:56:34 2015 -0400
@@ -0,0 +1,45 @@
+<tool id="bedtools_expandbed" name="ExpandBed" version="@WRAPPER_VERSION@.0">
+    <description></description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <expand macro="stdio" />
+    <command>
+<![CDATA[
+        bedtools expand
+        -c "${cols}"
+        -i "${input}"
+        > "${output}"
+]]>
+    </command>
+    <inputs>
+        <param format="bed,vcf,gff,gff3" name="input" type="data" label="BED/VCF/GFF file"/>
+        <expand macro="choose_columns" />
+    </inputs>
+    <outputs>
+        <data name="output" metadata_source="input" format_source="input" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="input" value="expandBed1.bed" ftype="bed" />
+            <param name="cols" value="5"/>
+            <output name="output" file="expandBed_result1.bed" ftype="bed" />
+        </test>
+        <test>
+            <param name="input" value="expandBed1.bed" ftype="bed" />
+            <param name="cols" value="4,5"/>
+            <output name="output" file="expandBed_result2.bed" ftype="bed" />
+        </test>
+    </tests>
+    <help>
+<![CDATA[
+**What it does**
+
+Replicate lines in a file based on columns of comma-separated values.
+
+@REFERENCES@
+]]>
+    </help>
+    <expand macro="citations" />
+</tool>