view garnett_classify_cells.xml @ 2:715b020ecfb6 draft default tip

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 85476ee7f3b1d96e9d0afb972af1aaa67d990ce4"
author ebi-gxa
date Mon, 27 Apr 2020 11:19:09 -0400
parents ad647e1d14dc
children
line wrap: on
line source

<tool id="garnett_classify_cells" name="Garnett - classify cells" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
    <description>Classify cells into cell types</description>
    <macros>
        <import>garnett_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="exit_code"><![CDATA[
        garnett_classify_cells.R --cds-object '${cds_object}' --classifier-object '${classifier_object}' --database '${database}' --cds-output-obj '${cds_output_obj}'

        #if $cds_gene_id_type
        --cds-gene-id-type '${cds_gene_id_type}'
        #end if
        #if $cluster_extend
        --cluster-extend '${cluster_extend}'
        #end if
        #if $rank_prob_ratio
        --rank-prob-ratio '${rank_prob_ratio}'
        #end if
    ]]></command>
    <inputs>
        <param type="data" name="cds_object" label="CDS object" format="rdata" help="CDS object with expression data for training" />
        <param type="data" name="classifier_object" label="classifier object" format="rdata" help="Path to the object of class garnett_classifier, which is either trained via garnett_train_classifier.R or obtained elsewhere" />
        <param type="text" name="database" label="gene database" value="org.Hs.eg.db" help="argument for Bioconductor AnnotationDb-class package used for converting gene IDs" />
        <param type="text" name="cds_gene_id_type" label="CDS gene id type" value="ENSEMBL" help="Format of the gene IDs in your CDS object" />
        <param type="boolean" name="cluster_extend" checked="true" label="cluster-extended classification" help="Boolean, tells Garnett whether to create a second set of assignments that expands classifications to cells in the same cluster" />
        <param type="float" name="rank_prob_ratio" value="1.5" label="label probability ratio" help="Numeric value greater than 1. This is the minimum odds ratio between the probability of the most likely cell type to the second most likely cell type to allow assignment. Default is 1.5. Higher values are more conservative." />
    </inputs>
    <outputs>
        <data name="cds_output_obj" format="rdata" />
    </outputs>
    <tests>
        <test>
            <param name="cds_object" value="garnett_cds.rds" />
            <param name="classifier_object" value="trained_classifier.rds" />
            <output name="cds_output_obj" value="cds_pred_labs.rds" compare="sim_size" />
        </test>
    </tests>
    <help><![CDATA[
        @HELP@

        @VERSION_HISTORY@
    ]]></help>
     <expand macro="citations" />
</tool>