view gemini_pathways.xml @ 8:9551b3da9f5d draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit f7bdf08922aaf4119aefe7041e754a69cf64aebd
author iuc
date Wed, 13 Jul 2022 15:24:14 +0000
parents c63b7eefb07a
children
line wrap: on
line source

<tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@">
    <description>Map genes and variants to KEGG pathways</description>
    <expand macro="bio_tools"/>
    <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>