upstream-extended/iuc/tools/bedtools/overlapBed.xml
1<tool id="bedtools_overlapbed" name="bedtools OverlapBed" version="@TOOL_VERSION@" profile="@PROFILE@">
2 <description>computes the amount of overlap from two intervals</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="bio_tools" />
7 <expand macro="requirements" />
8 <expand macro="stdio" />
9 <command><![CDATA[
10bedtools overlap
11-i '$input'
12-cols $cols
13> '$output'
14 ]]></command>
15 <inputs>
16 <param name="input" argument="-i" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
17 <param name="cols" type="data_column" data_ref="input" multiple="true"
18 label="Specify the columns for the starts and ends of the features for which you’d like to compute the overlap/distance"
19 help="The columns must be listed in the following order: start1,end1,start2,end2" />
20 </inputs>
21 <outputs>
22 <data name="output" format_source="input" metadata_source="input" label="Overlap of ${input.name}"/>
23 </outputs>
24 <tests>
25 <test>
26 <param name="input" value="windowBed_result1.bed" ftype="bed" />
27 <param name="cols" value="2,3,5,6" />
28 <output name="output" file="overlapBed_result1.bed" ftype="bed" />
29 </test>
30 </tests>
31 <help><![CDATA[
32**What it does**
33
34overlap computes the amount of overlap (in the case of positive values) or distance (in the case of negative values) between feature coordinates occurring on the same input line and reports the result at the end of the same line. In this way, it is a useful method for computing custom overlap scores from the output of other BEDTools.
35
36@REFERENCES@
37 ]]></help>
38 <expand macro="citations" />
39</tool>