view convert.xml @ 0:e68d9dfa62a2 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
author iuc
date Thu, 09 Apr 2020 04:35:27 -0400
parents
children 7366704232b6
line wrap: on
line source

<tool id="vg_convert" name="vg convert" version="@TOOL_VERSION@">
    <description></description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <command detect_errors="exit_code"><![CDATA[
ln -s '$infile' ./infile.${infile.ext} &&

vg convert
$output_format
./infile.${infile.ext}
> '$output'
    ]]></command>
    <inputs>
        <param name="infile" type="data" format="vg,xg" label="Input file in vg or xg format" />
        <param name="output_format" type="select" label="Choose your output format">
            <option value="--xg-out">XG format (--xg-out)</option>
            <!--option value="- -odgi-out">odgi format (- -odgi-out)</option-->
        </param>
    </inputs>
    <outputs>
        <data name="output" format="odgi">
            <change_format>
                <when input="output_format" value="--xg-out" format="xg"/>
            </change_format>
        </data>
    </outputs>
    <tests>
        <test>
            <param name="infile" value="hla.vg" ftype="vg" />
            <param name="output_format" value="--xg-out" />
            <output name="output" file="hla.xg" ftype="xg" compare="sim_size" />
        </test>
        <!--test>
            <param name="infile" value="x.vg" ftype="vg" />
            <param name="output_format" value="- -odgi-out" />
            <output name="output" file="x.odgi" ftype="odgi" compare="sim_size" />
        </test-->
    </tests>
    <help><![CDATA[

variation graph (vg) convert module
-----------------------------------

This module is converting various variant graphs into each format.

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