annotate scmap_index_cluster.xml @ 4:b65f8ef6ca30 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:37:15 -0400
parents 9b60d5972dbd
children a1a0b864906d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
b65f8ef6ca30 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 660486ba0e1ef2f0195e7c6f75448221ba4640f7"
ebi-gxa
parents: 3
diff changeset
1 <tool id="scmap_index_cluster" name="scmap index clusters" version="@TOOL_VERSION@+galaxy2" profile="@PROFILE@">
0
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
2 <description>calculates centroids of each cell type and merges them into a single table</description>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
3 <macros>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
4 <import>scmap_macros.xml</import>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
5 </macros>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
6 <expand macro="requirements" />
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
3
9b60d5972dbd "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 2
diff changeset
8 scmap-preprocess-sce.R --input-object "${input_single_cell_experiment}" --output-sce-object sce_object_preprocessed.rds && scmap-index-cluster.R --input-object-file sce_object_preprocessed.rds --cluster-col '$cluster_col' --output-object-file '$output_single_cell_experiment' --output-plot-file '$plot'
9b60d5972dbd "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 2
diff changeset
9 #if $train_id
9b60d5972dbd "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 2
diff changeset
10 --train-id '${train_id}'
9b60d5972dbd "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 2
diff changeset
11 #end if
0
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
12 ]]></command>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
13 <inputs>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
14 <param type="data" name="input_single_cell_experiment" label="SingleCellExperiment object" format="rdata" help="File with serialized SingleCellExperiment object as produced by 'scmap select features'" />
3
9b60d5972dbd "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 2
diff changeset
15 <param type="text" name="train_id" label="Dataset ID" help="ID of the training dataset" />
0
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
16 <param name="cluster_col" type="text" label="Cluster column" value="cell_type1" help="Column name in the 'colData' slot of the SingleCellExperiment object containing the cell classification information." />
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
17 </inputs>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
18 <outputs>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
19 <data name="output_single_cell_experiment" format="rdata" />
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
20 <data name="plot" format="png" />
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
21 </outputs>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
22 <tests>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
23 <test>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
24 <param name="input_single_cell_experiment" value="select_features.rds" ftype="rdata"/>
2
63f1a27dce34 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents: 1
diff changeset
25 <output name="output_single_cell_experiment" file="index_cluster.rds" compare="sim_size"/>
0
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
26 <output name="plot" file="index_cluster.png"/>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
27 </test>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
28 </tests>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
29 <help><![CDATA[
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
30 @HELP@
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
31
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
32 @VERSION_HISTORY@
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
33 ]]></help>
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
34 <expand macro="citations" />
6b24ebf5b7fb "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
ebi-gxa
parents:
diff changeset
35 </tool>