view fisherBed.xml @ 33:87ee588b3d45 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0a8cabcc8f00014789b6d30e90be1b949d4e94d2
author iuc
date Mon, 17 Dec 2018 14:23:31 -0500
parents 4f7a5ccd2ae9
children dde39ba9c031
line wrap: on
line source

<tool id="bedtools_fisher" name="bedtools FisherBed" version="@WRAPPER_VERSION@">
    <description>calculate Fisher statistic between two feature files</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <command>
<![CDATA[
        bedtools fisher
        $strand
        $split
        -a '$inputA'
        -b '$inputB'
        -f $overlap
        -g @GENOME_FILE@
        $reciprocal
        $m
        > '$output'
]]>
    </command>
    <inputs>
        <param format="@STD_BEDTOOLS_INPUTS@" name="inputA" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
        <param format="@STD_BEDTOOLS_INPUTS@" name="inputB" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
        <expand macro="input_conditional_genome_file" />
        <expand macro="strand2" />
        <expand macro="split" />
        <expand macro="overlap" />
        <expand macro="reciprocal" />
        <param name="m" type="boolean" checked="False" truevalue="-m" falsevalue=""
            label="Merge overlapping intervals before looking at overlap" help="(-m)" />
    </inputs>
    <outputs>
        <data name="output" metadata_source="inputA" format_source="inputA" label="Fisher Test on ${inputA.name} and ${inputB.name}"/>
    </outputs>
    <tests>
        <test>
            <param name="inputA" value="fisherBed1.bed" ftype="bed" />
            <param name="inputB" value="fisherBed2.bed" ftype="bed" />
            <param name="genome_file_opts_selector" value="hist" />
            <param name="genome" value="fisherBed.len" ftype="tabular" />
            <output name="output" file="fisherBed_result1.bed" ftype="bed" />
        </test>
    </tests>
    <help>
<![CDATA[
**What it does**

Perform fisher’s exact test on the number of overlaps/unique intervals between 2 files.

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