view expandBed.xml @ 8:0232cdab3664 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9555dac6cbff70048b682a6514c7fbb2b7fbb975
author iuc
date Mon, 05 Sep 2016 15:27:58 -0400
parents 607c0576c6ab
children 95a3b2c25bd1
line wrap: on
line source

<tool id="bedtools_expandbed" name="ExpandBed" version="@WRAPPER_VERSION@.0">
    <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="bed,vcf,gff,gff3" name="input" type="data" label="BED/VCF/GFF 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>