view macs2_refinepeak.xml @ 18:640d3af5d833 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
author iuc
date Sat, 02 Apr 2022 21:37:38 +0000
parents 424aefbd7777
children 86e2413cf3f8
line wrap: on
line source

<tool id="macs2_refinepeak" name="MACS2 refinepeak" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
    <description>Refine peak summits and give scores measuring balance of forward- backward tags (Experimental)</description>
    <expand macro="bio_tools"/>
    <macros>
        <import>macs2_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <expand macro="version_command" />
    <command><![CDATA[
        @home_dir@
        macs2 refinepeak
            -b '${ bed_infile }'
            -i '${ infile }'
            --format '${ infile.extension.upper() }'
            --cutoff '${ cutoff }'
            --window-size '${ winsize }'
            --ofile '${ outfile }'
            @buffer_size@
    ]]></command>
    <inputs>
        <param name="infile" type="data" format="bam,bed" label="Sequencing alignment file" />
        <param name="bed_infile" type="data" format="bed" label="Candidate peak file in BED format" />
        <param name="cutoff" type="float" label="Cutoff" value="5.0" help="default: 5.0 (--cutoff)"/>
        <param name="winsize" type="integer" value="200" label="Scan window size on both side of the summit" help="default: 200bp (--window-size)" />
        <expand macro="buffer_size"/>
    </inputs>

    <outputs>
        <data name="outfile" format="bed" label="${tool.name} on ${on_string}" />
    </outputs>
    <tests>
        <test>
            <param name="infile" value="refinepeak_bam_input.bam" ftype="bam"/>
            <param name="bed_infile" value="refinepeak_bed_input.bed" ftype="bed"/>
            <param name="cutoff" value="5.0"/>
            <param name="winsize" value="200"/>
            <output name="outfile" file="refinepeak_output.bed"/>
        </test>
    </tests>
    <help>
        <![CDATA[
**What it does**

This is **refinepeak** utility from the MACS2_ Package. It is an experimental utility that takes raw read alignments, refines peak summits and gives scores measuring balance of forward- backward tags. Inspired by the SPP_ pipeline.

.. _MACS2: https://github.com/taoliu/MACS
.. _SPP: http://compbio.med.harvard.edu/Supplements/ChIP-seq/

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