view expandBed.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_expandbed" name="bedtools ExpandBed" version="@WRAPPER_VERSION@">
    <description>replicate lines based on lists of values in columns</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <command>
<![CDATA[
        bedtools expand
        -c "${cols}"
        -i "${input}"
        > "${output}"
]]>
    </command>
    <inputs>
        <param format="@STD_BEDTOOLS_INPUTS@" name="input" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
        <expand macro="choose_columns" />
    </inputs>
    <outputs>
        <data name="output" metadata_source="input" format_source="input" />
    </outputs>
    <tests>
        <test>
            <param name="input" value="expandBed1.bed" ftype="bed" />
            <param name="cols" value="5"/>
            <output name="output" file="expandBed_result1.bed" ftype="bed" />
        </test>
        <test>
            <param name="input" value="expandBed1.bed" ftype="bed" />
            <param name="cols" value="4,5"/>
            <output name="output" file="expandBed_result2.bed" ftype="bed" />
        </test>
    </tests>
    <help>
<![CDATA[
**What it does**

Replicate lines in a file based on columns of comma-separated values.

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