view ct_combine_tool_outputs.xml @ 6:844689a7f66e draft default tip

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
author ebi-gxa
date Fri, 27 Nov 2020 13:37:40 +0000
parents f2e01e023137
children
line wrap: on
line source

<tool id="ct_combine_tool_outputs" name="Cell types - combine tools outputs" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
    <description>for single tool from multiple datasets</description>
    <macros>
        <import>ct_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="exit_code"><![CDATA[
        mkdir -p input_dir;
        #for $table in $input_tables:
          cp '$table' input_dir/;
        #end for

        combine_tool_outputs.R --input-dir input_dir --top-labels-num "${top_labels_num}" --scores "${scores}" --output-table "${output_table}" 

        #if $exclusions
        --exclusions "${exclusions}"
        #end if
        ]]></command>
    <inputs>
        <param type="data" name="input_tables" label="Tables with predicted labels" multiple="true" format="txt" help="Standardised tables obtained from multiple classifiers" />
        <param type="integer" name="top_labels_num" label="Number of top labels" value='3' help="Number of top labels to select" />
        <param type="data" name="exclusions" label="Exclusions file" format="yml" optional="true" help="Yaml file with trivial terms and unlabelled cells" />
        <param type="boolean" name="scores" label="scores" checked="false" help="Are scores included into the tool outpus?" />
    </inputs>
    <outputs>
        <data name="output_table" format="txt" />
    </outputs>
    <tests>
        <test>
            <param name="input_tables" value="prod_outputs_scpred/E-ENAD-27_scpred.txt,prod_outputs_scpred/E-GEOD-81608_scpred.txt" />
            <param name="scores" value="TRUE" />
            <param name="exclusions" value="exclusions.yml" />
            <output name="output_table" file="combined_results.tsv" compare="sim_size" />
        </test>
    </tests>
    <help><![CDATA[
    @HELP@
    
    @VERSION_HISTORY@
    ]]></help>
    <expand macro="citations" />
</tool>