view snpSift_geneSets.xml @ 3:847db7b39bdc draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift_genesets/ commit d12355cea76843e3ed6f09d96c3e9fe22afe4a4f
author iuc
date Mon, 05 Dec 2016 12:06:09 -0500
parents 9ba6e2c298ab
children d12a810c837e
line wrap: on
line source

<tool id="snpSift_geneSets" name="SnpSift GeneSets" version="@WRAPPER_VERSION@.1">
    <description>Annotating GeneSets, such as Gene Ontology, KEGG, Reactome</description>
    <!-- 
        You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory)
    -->
    <macros>
        <import>snpSift_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <expand macro="version_command" />
    <command><![CDATA[
        @CONDA_SNPSIFT_JAR_PATH@ &&
        java -Xmx2G -jar "\$SNPSIFT_JAR_PATH/SnpSift.jar" geneSets -v
        #if $db_opts.db_opts_selector == "db"
          "${db_opts.database.fields.path}"
        #elif $db_opts.db_opts_selector == "histdb"
          "$db_opts.histdb"
        #end if
        "$input" 2> "$log" > "$output"
]]>
    </command>
    <inputs>
        <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/>
        <conditional name="db_opts">
            <param name="db_opts_selector" type="select" label="Select Annotation database" help="">
              <option value="db" selected="True">Locally installed database</option>
              <option value="histdb">database from your history</option>
            </param>
            <when value="db">
                <param name="database" type="select" label="Molecular Signatures Database (MSigDB)">
                    <options from_data_table="snpeff_msigdb_database" />
                </param>
                <param name="histdb" type="hidden" value="" />
            </when>
            <when value="histdb">
                <param name="histdb" type="data" format="txt" label="Molecular Signatures Database (MSigDB)" />
            </when>
        </conditional>
    </inputs>
    <outputs>
        <data format="vcf" name="output" label="${tool.name} on ${on_string}: VCF" />
        <data format="txt" name="log" label="${tool.name} on ${on_string}: log" />
    </outputs>
    <tests>
    </tests>
    <help><![CDATA[
This tool uses `SnpSift GeneSets`_ to add annotations from `MSigDB`_, a collection of annotated gene sets from different sources including Gene Ontology (GO), KEGG, Reactome.

.. _SnpSift GeneSets: http://snpeff.sourceforge.net/SnpSift.html#geneSets

.. class:: warningmark

The input VCF file must be annotated using SnpEff before performing GeneSets annotations. This is because the tool must know which gene the variant affects.

@EXTERNAL_DOCUMENTATION@

.. _MSigDB: http://www.broadinstitute.org/gsea/msigdb/
]]>
    </help>
    <expand macro="citations">
        <citation type="doi">10.1073/pnas.0506580102</citation><!-- MSigDB citation -->
    </expand>
</tool>