annotate subtractBed.xml @ 0:b8348686a0b9 draft

Imported from capsule None
author iuc
date Tue, 04 Nov 2014 01:45:04 -0500
parents
children 82aac94b06c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
1 <tool id="bedtools_subtractbed" name="SubtractBed" version="@WRAPPER_VERSION@.0">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
2 <description></description>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
3 <macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
5 </macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
6 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
7 <expand macro="stdio" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
8 <command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
9 bedtools subtract
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
10 $strand
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
11 -a $inputA
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
12 -b $inputB
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
13 -f $overlap
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
14 $removeIfOverlap
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
15 &gt; $output
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
16 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
17 <inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
18 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
19 <param format="bed,gff,vcf,gff3" name="inputB" type="data" label="BED/VCF/GFF file"/>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 <expand macro="strand2" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
21 <expand macro="overlap" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
22
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
23 <param name="strand" type="select" label="Calculation based on strandedness?">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24 <option value="" selected="True">Overlaps on either strand</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
25 <option value="-s">Only overlaps occurring on the **same** strand.</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
26 <option value="-S">Only overlaps occurring on the **opposite** strand.</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
27 </param>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
28
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
29 <param name="removeIfOverlap" type="select" label="Calculation based on strandedness?">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
30 <option value="" selected="True">Dont Remove entire feature on overlap</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
31 <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>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
32 <option value="-N">Same as -A except when used with -f, the amount is the sum of all features (not any single feature).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
33 </param>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
34 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
35 <outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
36 <data format_source="inputA" name="output" metadata_source="inputA" label=""/>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
37 </outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
38 <help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
39
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
40 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
41
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
42 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.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
43
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
44 .. image:: $PATH_TO_IMAGES/subtract-glyph.png
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
46 @REFERENCES@
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
47 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
48 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
49 </tool>