view scpred_get_feature_space.xml @ 5:17325882fa72 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:45:33 +0000
parents 41a316354ffb
children
line wrap: on
line source

<tool id='scpred_get_feature_space' name='ScPred feature space' version='@TOOL_VERSION@+galaxy0' profile="@PROFILE@">
    <description>Get feature space for training matrix</description>
    <macros>
         <import>scpred_macros.xml</import>
    </macros>
    <expand macro='requirements' />
    <command detect_errors='exit_code'><![CDATA[
        scpred_get_feature_space.R  --input-object '${input_object}'  --prediction-column '${prediction_column}'   --output-path '${output_obj_path}' 
     
        #if $correction_method
        --correction-method '${correction_method}' 
        #end if
        #if $significance_threshold
        --significance-threshold '${significance_threshold}'
        #end if 
        #if $reduction_parameter
        --reduction-parameter '${reduction_parameter}'
        #end if 


        ]]></command>
    <inputs>
        <param type='data' name='input_object' label='Input Seurat object' format='rdata' help='Input Seurat object in .rds format' />
        <param type='text' name='prediction_column' optional="true" value="cell_type" label='Prediction Column' help='Name of the metadata column that contains training labels' />
        <param type='text' name='correction_method' label='Correction Method' optional='true' value="fdr" help='Method for mulpiple testing correction' />
        <param type='float' name='significance_threshold' label='Significance Threshold' optional='true' value="1.0" help='Significance threshold for principal components explaining class identity' />
        <param type='text' name='reduction_parameter' label='Reduction Parameter' optional='true' value="pca" help='Name of reduction in Seurat objet to be used to determine the feature space. Default: "pca"' />
        
    </inputs>
    <outputs>
        <data name='output_obj_path' format='rdata' />
    </outputs>
     <tests>
        <test>
            <param name="input_object" value="reference_pbmc.rds" />
            <output name="output_obj_path" file="scPred_feat_space.rds" compare="sim_size" />
        </test>
    </tests>
    <help><![CDATA[
    @HELP@
    
    @VERSION_HISTORY@
    ]]></help>
    <expand macro='citations' />
</tool>