view gemini_windower.xml @ 4:ba3abde6775b draft default tip

Uploaded
author iuc
date Thu, 15 Jan 2015 15:33:48 -0500
parents 93bb0cfacefb
children
line wrap: on
line source

<tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0">
    <description>Conducting analyses on genome "windows"</description>
    <expand macro="requirements" />
    <expand macro="version_command" />
    <macros>
        <import>gemini_macros.xml</import>
        <token name="@BINARY@">windower</token>
    </macros>
    <command>
<![CDATA[
        gemini @BINARY@
            -w $w
            -s $s
            -t $window_analysis
            -o $operation
            "${ infile }"
            > "${ outfile }"
]]>
    </command>
    <expand macro="stdio" />
    <inputs>
        <expand macro="infile" />

        <param name="window_analysis" type="select" label="The type of window analysis requested?" help="(-t)">
            <option value="nucl_div">(nucl_div)</option>
            <option value="hwe">(hwe)</option>
        </param>

        <param name="operation" type="select" label="The operation that should be applied to the -t values" help="(-o)">
            <option value="mean">mean</option>
            <option value="median">median</option>
            <option value="min">min</option>
            <option value="max">max</option>
            <option value="collapse">collapse</option>
        </param>

        <param name="w" type="integer" value="10000" size="10" label="The window size in bp" 
            help="(-w)">
            <validator type="in_range" min="0"/>
        </param>

        <param name="s" type="integer" value="1000" size="10" label="The step size for the windows in bp" 
            help="(-s)">
            <validator type="in_range" min="0"/>
        </param>

    </inputs>

    <outputs>
        <data name="outfile" format="tabular" />
    </outputs>
    <tests>
        <test>
        </test>
    </tests>
    <help>
**What it does**

It computs variation metrics across genomic windows (both fixed and sliding).

@CITATION@
    </help>
    <expand macro="citations"/>
</tool>