view gemini_pathways.xml @ 0:66bc68095012 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
author iuc
date Thu, 18 Feb 2016 08:56:02 -0500
parents
children 69b5327a1f88
line wrap: on
line source

<tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0">
    <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[
        gemini
            #if $annotation_databases:
                --annotation-dir "${annotation_databases.fields.path}"
            #end if
            @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_burden_input.db" ftype="gemini.sqlite" />
            <param name="ensembl" value="68" />
            <output name="outfile" file="gemini_pathways_result.tabular" />
        </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>