view gemini_fusions.xml @ 7:8151a5a0e4f6 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:13:48 -0400
parents 6e3d2bd01a96
children c00dcd1455a0
line wrap: on
line source

<tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@">
    <description>Identify somatic fusion genes from a GEMINI database</description>
    <macros>
        <import>gemini_macros.xml</import>
        <token name="@BINARY@">fusions</token>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <expand macro="version_command" />
    <command>
<![CDATA[
        @PROVIDE_ANNO_DATA@

        gemini
        @BINARY@
        $in_cosmic_census
        
        #if float($min_quality) >= 0:
            --min-qual $min_quality
        #end if

        #if str($evidence_type):
            --evidence_type $evidence_type
        #end if 
        
        '$infile' | tr -s ' ' '\t'
        > '$outfile' 
]]>
    </command>
    <inputs>

        <expand macro="infile" />
        <expand macro="annotation_dir" />

        <param argument="--in_cosmic_census" type="boolean" truevalue="--in_cosmic_census" falsevalue="" checked="False" label="One or both genes in fusion is in COSMIC cancer census" />

        <param name="min_quality" type="float" value="-1" label="The min variant quality (VCF QUAL)" help="default: -1 (not set) (--min_qual)"/>

        <param argument="--evidence_type" type="select" label="The supporting evidence types for the variant" >
            <option value="" selected="True">select one (optional)</option>
            <option value="PE">PE</option>
            <option value="SR">SR</option>
            <option value="PE,SR">PE,SR</option>
        </param>

    </inputs>
    <outputs>
        <data name="outfile" format="tabular" />
    </outputs>
    <tests>
        <test>
            <!-- Like in set_somatic this example is nonsensical because otherwise
                the testdata would be too big. The resulting output should be empty.-->
            <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" />
            <output name="outfile" file="gemini_fusions_result.tabular" />
        </test>
    </tests>
    <help>
<![CDATA[
**What it does**

Identifies somatic fusion genes from a GEMINI database.
]]>
    </help>
    <expand macro="citations"/>
</tool>