view circleCor.xml @ 3:0a3c83f2197a draft

planemo upload for repository https://github.com/bilille/galaxy-mixomics-blocksplsda commit 24b8259494ac7ab10cbd1f9ee991f455a7507590-dirty
author ppericard
date Fri, 25 Oct 2019 07:10:59 -0400
parents
children b0ab97ffc2a1
line wrap: on
line source

<tool id="circleCor" name="circleCor" version="0.2.0" profile="16.04" workflow_compatible="true">

    <description></description>
    
    <requirements>
        <requirement type="package">r-base</requirement>
        <requirement type="package" version="0.4">r-ellipse</requirement>
        <requirement type="package" version="2.0">r-argparse</requirement>
        <requirement type="package" version="1.1">r-rcolorbrewer</requirement>

        <!-- <requirement type="package" version="6.8">bioconductor-mixomics</requirement> -->
    </requirements>
    
    <stdio>
        <!-- <exit_code range="1:" level="fatal" /> -->
    </stdio>

    <command detect_errors="aggressive">
        <![CDATA[
        Rscript
        ${__tool_directory__}/circleCor_wrapper.R
        --input_rdata ${input_rdata}
        --blocks_vec ${select_blocks.value}
        --responses_var ${select_responses_var}
        --x_min ${x_min}
        --x_max ${x_max}
        --y_min ${y_min}
        --y_max ${y_max}
        --output_var ${output_var}
        --output_pdf ${output_pdf}
        ]]>
    </command>

    <inputs>
        <param name="input_rdata" type="data" format="rdata" label="Input RData file from block.SPLSDA"/>
        <param name="blocks_vec_list" type="data" format="tabular" label="List of blocks vector"/>
        <param name="select_blocks" type="select" label="Blocks">
            <options from_dataset="blocks_vec_list">
                <column name="value" index="0"/>
                <filter type="unique_value" column="0"/>
                <filter type="sort_by" name="sorted_value" column="0"/>
            </options>
        </param>
        <param name="responses_var_list" type="data" format="tabular" label="List of response variables"/>
        <param name="select_responses_var" type="select" display="checkboxes" multiple="true" label="Response variables">
        <!-- <param name="select_responses_var" type="select" multiple="true" label="Response variables"> -->
            <options from_dataset="responses_var_list">
                <column name="value" index="0"/>
                <filter type="unique_value" column="0"/>
                <filter type="sort_by" name="sorted_value" column="0"/>
            </options>
        </param>
        <param name="x_min" type="float" value="-1" min="-1" max="1" label="X min" help="" />
        <param name="x_max" type="float" value="1" min="-1" max="1" label="X max" help="" />
        <param name="y_min" type="float" value="-1" min="-1" max="1" label="Y min" help="" />
        <param name="y_max" type="float" value="1" min="-1" max="1" label="Y max" help="" />
    </inputs>

    <outputs>
        <data name="output_var" format="tabular" label="${tool.name}_var.tsv" />
        <data name="output_pdf" format="pdf" label="${tool.name}.pdf" />
    </outputs>

    <tests>
    </tests>

    <help>
    </help>

</tool>