view scpred_get_std_output.xml @ 2:138d00a58412 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 660486ba0e1ef2f0195e7c6f75448221ba4640f7"
author ebi-gxa
date Tue, 28 Apr 2020 12:40:07 -0400
parents a7bf1d2b310b
children 43ce84bd1d9a
line wrap: on
line source

<tool id="scpred_get_std_output" name="Get output in standard format" version="@TOOL_VERSION@+galaxy1" 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>