view gemini_pathways.xml @ 4:69b5327a1f88 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
author iuc
date Fri, 14 Dec 2018 13:02:36 -0500
parents 66bc68095012
children c63b7eefb07a
line wrap: on
line source

<tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.1">
    <description>Map genes and variants to KEGG pathways</description>
    <macros>
        <import>gemini_macros.xml</import>
        <token name="@BINARY@">pathways</token>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <expand macro="version_command" />
    <command>
<![CDATA[
        @PROVIDE_ANNO_DATA@

        gemini
            @BINARY@
            -v $ensembl
            $lof
            "${ infile }"
            > "${ outfile }"
]]>
    </command>
    <inputs>
        <expand macro="infile" />

        <param name="ensembl" type="integer" value="68" label="Version of ensembl genes to use"
            help="Supported versions: 66 to 71. use versions that match the VEP/snpEff versions of the annotated vcf for correctness. For e.g VEP v2.6 and snpEff v3.1 use Ensembl 68 version of the genomes. (-v)">
            <validator type="in_range" min="66" max="71"/>
        </param>

        <param name="lof" type="boolean" truevalue="--lof" falsevalue="" checked="False"
            label="Report only pathways with loss-of-function variants" help="(--lof)"/>
        <expand macro="annotation_dir" />
    </inputs>
    <outputs>
        <data name="outfile" format="tabular" />
    </outputs>
    <tests>
        <test>
            <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" />
            <param name="ensembl" value="68" />
            <output name="outfile">
                <assert_contents>
                    <has_line_matching expression="chrom&#009;start&#009;end&#009;.*pathway.*" />
                </assert_contents>
            </output>
        </test>
    </tests>
    <help>
**What it does**

Mapping genes to biological pathways is useful in understanding the function/role played by a gene.
Likewise, genes involved in common pathways is helpful in understanding heterogeneous diseases.
We have integrated the KEGG pathway mapping for gene variants, to explain/annotate variation.

This requires your VCF be annotated with either snpEff/VEP.

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