view scpred_get_std_output.xml @ 4:d276a8dd73c7 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit f1471c41f9845cce8b58a51089dcf096c39fe8d6"
author ebi-gxa
date Mon, 01 Jun 2020 09:21:19 -0400
parents 43ce84bd1d9a
children c88135c1efb1
line wrap: on
line source

<tool id="scpred_get_std_output" name="Scpred - get output in standard format" version="@TOOL_VERSION@+galaxy2" profile="@PROFILE@">
    <description>This method allows to export predicted labels in a standardised format, simplifying downstream analyses.</description>
    <macros>
        <import>scpred_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="exit_code"><![CDATA[ 
        scpred_get_std_output.R --predictions-file "${predictions_file}" --get-scores "${get_scores}" --classifier '${classifier}' --output-table "${output_table}" 
        ]]></command>
    <inputs>
        <param type="data" name="predictions_file" label="Predictions file" format="txt" help="Path to the predictions file in text format" />
        <param type="data" name="classifier" label="Classifier object" format="rdata" help="Path to the classifier object used to obtain predictions" />
        <param type="boolean" checked="false" name="get_scores" label="Get scores" help="Boolean: should the prediction scores be included? default: FALSE" />
    </inputs>
    <outputs>
        <data name="output_table" format="txt" />
    </outputs>
    <tests>
        <test>
            <param name="predictions_file" value="predictions_table.txt" />
            <param name="get_scores" value="TRUE" />
            <output name="output_table" file="scpred_output_tbl.txt" compare="sim_size"/>
        </test>
    </tests>
     <help><![CDATA[
    @HELP@
    
    @VERSION_HISTORY@
    ]]></help>
    <expand macro="citations" />
</tool>