Source code

Download source archive ↓

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

1<tool id="bedtools_bed12tobed6" name="bedtools BED12 to BED6" version="@TOOL_VERSION@" profile="@PROFILE@">
2    <description>converter</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[
10bed12ToBed6
11-i '$input'
12> '$output'
13    ]]></command>
14    <inputs>
15        <param name="input" argument="-i" type="data" format="bed" label="Convert the following BED12 file to BED6"/>
16    </inputs>
17    <outputs>
18        <data name="output" format="bed" metadata_source="input" label="${input.name} (as BED6)"/>
19    </outputs>
20    <tests>
21        <test>
22            <param name="input" value="bed12.bed" ftype="bed" />
23            <output name="output" file="bed12ToBed6_result1.bed" ftype="bed" />
24        </test>
25    </tests>
26    <help><![CDATA[
27**What it does**
28
29bed12ToBed6 is a convenience tool that converts BED features in BED12 (a.k.a. “blocked” BED features such as genes) to discrete BED6 features. For example, in the case of a gene with six exons, bed12ToBed6 would create six separate BED6 features (i.e., one for each exon).
30
31@REFERENCES@
32    ]]></help>
33    <expand macro="citations" />
34</tool>