view gemini_pathways.xml @ 7:9199331c3421 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
author iuc
date Tue, 10 Mar 2020 06:21:36 -0400
parents c63b7eefb07a
children 9551b3da9f5d
line wrap: on
line source

<tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@">
    <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="select"
        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)">
            <option value="71">Ensembl 71</option>
            <option value="70">Ensembl 70</option>
            <option value="69">Ensembl 69</option>
            <option value="68">Ensembl 68</option>
            <option value="67">Ensembl 67</option>
            <option value="66">Ensembl 66</option>
        </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="71" />
            <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>