Source code

Download source archive ↓

upstream-extended/iuc/tools/bedtools/expandBed.xml

1<tool id="bedtools_expandbed" name="bedtools ExpandBed" version="@TOOL_VERSION@" profile="@PROFILE@">
2    <description>replicate lines based on lists of values in columns</description>
3    <macros>
4        <import>macros.xml</import>
5    </macros>
6    <expand macro="bio_tools" />
7    <expand macro="requirements" />
8    <expand macro="stdio" />
9    <command><![CDATA[
10bedtools expand
11-c '${cols}'
12-i '${input}'
13> '${output}'
14    ]]></command>
15    <inputs>
16        <param name="input" argument="-i" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
17        <expand macro="choose_columns" />
18    </inputs>
19    <outputs>
20        <data name="output" format_source="input" metadata_source="input" />
21    </outputs>
22    <tests>
23        <test>
24            <param name="input" value="expandBed1.bed" ftype="bed" />
25            <param name="cols" value="5"/>
26            <output name="output" file="expandBed_result1.bed" ftype="bed" />
27        </test>
28        <test>
29            <param name="input" value="expandBed1.bed" ftype="bed" />
30            <param name="cols" value="4,5"/>
31            <output name="output" file="expandBed_result2.bed" ftype="bed" />
32        </test>
33    </tests>
34    <help><![CDATA[
35**What it does**
36
37Replicate lines in a file based on columns of comma-separated values.
38
39@REFERENCES@
40    ]]></help>
41    <expand macro="citations" />
42</tool>