diff subtractBed.xml @ 0:b8348686a0b9 draft

Imported from capsule None
author iuc
date Tue, 04 Nov 2014 01:45:04 -0500
parents
children 82aac94b06c3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/subtractBed.xml	Tue Nov 04 01:45:04 2014 -0500
@@ -0,0 +1,49 @@
+<tool id="bedtools_subtractbed" name="SubtractBed" version="@WRAPPER_VERSION@.0">
+    <description></description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements" />
+    <expand macro="stdio" />
+    <command>
+        bedtools subtract
+        $strand
+        -a $inputA
+        -b $inputB
+        -f $overlap
+        $removeIfOverlap
+        &gt; $output
+    </command>
+    <inputs>
+        <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/>
+        <param format="bed,gff,vcf,gff3" name="inputB" type="data" label="BED/VCF/GFF file"/>
+        <expand macro="strand2" />
+        <expand macro="overlap" />
+
+        <param name="strand" type="select" label="Calculation based on strandedness?">
+            <option value="" selected="True">Overlaps on either strand</option>
+            <option value="-s">Only overlaps occurring on the **same** strand.</option>
+            <option value="-S">Only overlaps occurring on the **opposite** strand.</option>
+        </param>
+
+        <param name="removeIfOverlap" type="select" label="Calculation based on strandedness?">
+            <option value="" selected="True">Dont Remove entire feature on overlap</option>
+            <option value="-A">Remove entire feature if any overlap. That is, by default, only subtract the portion of A that overlaps B. Here, if any overlap is found (or -f amount), the entire feature is removed.</option>
+            <option value="-N">Same as -A except when used with -f, the amount is the sum of all features (not any single feature).</option>
+        </param>
+    </inputs>
+    <outputs>
+        <data format_source="inputA" name="output" metadata_source="inputA" label=""/>
+    </outputs>
+    <help>
+
+**What it does**
+
+bedtools subtract searches for features in B that overlap A. If an overlapping feature is found in B, the overlapping portion is removed from A and the remaining portion of A is reported. If a feature in B overlaps all of a feature in A, the A feature will not be reported.
+
+.. image:: $PATH_TO_IMAGES/subtract-glyph.png
+
+@REFERENCES@
+    </help>
+    <expand macro="citations" />
+</tool>