Mercurial > repos > ebi-gxa > scmap_index_cluster
annotate scmap_index_cluster.xml @ 2:b1e8e8a9297c 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 15:15:05 +0000 |
| parents | e2f0617c376c |
| children | 69bc29f97334 |
| rev | line source |
|---|---|
|
0
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
1 <tool id="scmap_index_cluster" name="scmap index clusters" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@"> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
2 <description>calculates centroids of each cell type and merges them into a single table</description> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
3 <macros> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
4 <import>scmap_macros.xml</import> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
5 </macros> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
|
2
b1e8e8a9297c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
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' |
|
b1e8e8a9297c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
9 #if $train_id |
|
b1e8e8a9297c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
10 --train-id '${train_id}' |
|
b1e8e8a9297c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
11 #end if |
|
0
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
12 ]]></command> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
13 <inputs> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
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'" /> |
|
2
b1e8e8a9297c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
15 <param type="text" name="train_id" label="Dataset ID" help="ID of the training dataset" /> |
|
0
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
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." /> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
17 </inputs> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
18 <outputs> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
19 <data name="output_single_cell_experiment" format="rdata" /> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
20 <data name="plot" format="png" /> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
21 </outputs> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
22 <tests> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
23 <test> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
24 <param name="input_single_cell_experiment" value="select_features.rds" ftype="rdata"/> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
25 <output name="output_single_cell_experiment" file="index_cluster.rds" compare="sim_size"/> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
26 <output name="plot" file="index_cluster.png"/> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
27 </test> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
28 </tests> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
29 <help><![CDATA[ |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
30 @HELP@ |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
31 |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
32 @VERSION_HISTORY@ |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
33 ]]></help> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
34 <expand macro="citations" /> |
|
e2f0617c376c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
35 </tool> |
