annotate garnett_classify_cells.xml @ 1:ad647e1d14dc draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
author ebi-gxa
date Fri, 24 Apr 2020 11:22:06 -0400
parents 67e6c4455bb8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
1 <tool id="garnett_classify_cells" name="Garnett - classify cells" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
2 <description>Classify cells into cell types</description>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
3 <macros>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
4 <import>garnett_macros.xml</import>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
5 </macros>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
6 <expand macro="requirements" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
1
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
8 garnett_classify_cells.R --cds-object '${cds_object}' --classifier-object '${classifier_object}' --database '${database}' --cds-output-obj '${cds_output_obj}'
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
9
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
10 #if $cds_gene_id_type
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
11 --cds-gene-id-type '${cds_gene_id_type}'
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
12 #end if
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
13 #if $cluster_extend
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
14 --cluster-extend '${cluster_extend}'
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
15 #end if
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
16 #if $rank_prob_ratio
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
17 --rank-prob-ratio '${rank_prob_ratio}'
ad647e1d14dc "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
18 #end if
0
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
19 ]]></command>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
20 <inputs>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
21 <param type="data" name="cds_object" label="CDS object" format="rdata" help="CDS object with expression data for training" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
22 <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" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
23 <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" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
24 <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" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
25 <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" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
26 <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." />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
27 </inputs>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
28 <outputs>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
29 <data name="cds_output_obj" format="rdata" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
30 </outputs>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
31 <tests>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
32 <test>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
33 <param name="cds_object" value="garnett_cds.rds" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
34 <param name="classifier_object" value="trained_classifier.rds" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
35 <output name="cds_output_obj" value="cds_pred_labs.rds" compare="sim_size" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
36 </test>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
37 </tests>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
38 <help><![CDATA[
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
39 @HELP@
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
40
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
41 @VERSION_HISTORY@
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
42 ]]></help>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
43 <expand macro="citations" />
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
44 </tool>
67e6c4455bb8 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4c3dfa7bbd82d702e7e8187c7556f3289804cb49"
ebi-gxa
parents:
diff changeset
45