view expandBed.xml @ 45:a1a923cd89e8 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit d1ee301a39e9830693eedb6ca089456081540f28
author iuc
date Thu, 02 Mar 2023 08:52:08 +0000
parents 7ab85ac5f64b
children
line wrap: on
line source

<tool id="bedtools_expandbed" name="bedtools ExpandBed" version="@TOOL_VERSION@" profile="@PROFILE@">
    <description>replicate lines based on lists of values in columns</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools" />
    <expand macro="requirements" />
    <expand macro="stdio" />
    <command><![CDATA[
bedtools expand
-c '${cols}'
-i '${input}'
> '${output}'
    ]]></command>
    <inputs>
        <param name="input" argument="-i" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
        <expand macro="choose_columns" />
    </inputs>
    <outputs>
        <data name="output" format_source="input" metadata_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>