view overlapBed.xml @ 40:a68aa6c1204a draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 29bd1be4655cd26052095a49a8e188d2572b703b"
author iuc
date Thu, 09 Sep 2021 13:04:07 +0000
parents 3e38c9b3214f
children 7ab85ac5f64b
line wrap: on
line source

<tool id="bedtools_overlapbed" name="bedtools OverlapBed" version="@TOOL_VERSION@" profile="@PROFILE@">
    <description>computes the amount of overlap from two intervals</description>
    <expand macro="bio_tools" />
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <command><![CDATA[
bedtools overlap
-i '$input'
-cols $cols
> '$output'
    ]]></command>
    <inputs>
        <param name="input" argument="-i" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
        <param name="cols" type="data_column" data_ref="input" multiple="true"
            label="Specify the columns for the starts and ends of the features for which you’d like to compute the overlap/distance"
            help="The columns must be listed in the following order: start1,end1,start2,end2" />
    </inputs>
    <outputs>
        <data name="output" format_source="input" metadata_source="input" label="Overlap of ${input.name}"/>
    </outputs>
    <tests>
        <test>
            <param name="input" value="windowBed_result1.bed" ftype="bed" />
            <param name="cols" value="2,3,5,6" />
            <output name="output" file="overlapBed_result1.bed" ftype="bed" />
        </test>
    </tests>
    <help><![CDATA[
**What it does**

overlap 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.

@REFERENCES@
    ]]></help>
    <expand macro="citations" />
</tool>