Mercurial > repos > ebi-gxa > scmap_get_std_output
annotate scmap_get_std_output.xml @ 8:601a933714f1 draft
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
author | ebi-gxa |
---|---|
date | Tue, 23 Apr 2024 07:49:05 +0000 |
parents | 2f63b1cd9122 |
children |
rev | line source |
---|---|
6
0d713384d8d8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 824146613fdab1de5bf430e01422417a720fe3f2"
ebi-gxa
parents:
3
diff
changeset
|
1 <tool id="scmap_get_std_output" name="Scmap get standard output" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> |
0
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
2 <description>Create final output in standard format to allow for downstream analysis of predicted labels by tools of the EBI gene expression group's cell-types-analysis package</description> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
3 <macros> |
5f95950c3959
"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> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
5 </macros> |
5f95950c3959
"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" /> |
5f95950c3959
"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[ |
8
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
8 scmap_get_std_output.R |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
9 --predictions-file "${input_predictions_file}" |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
10 --output-table "${output_predictions_file}" |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
11 --include-scores "${include_scores}" |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
12 --tool '${tool}' |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
13 --sim-col-name "${sim_col_name}" |
7
2f63b1cd9122
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents:
6
diff
changeset
|
14 #if $index |
2f63b1cd9122
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents:
6
diff
changeset
|
15 --index "${index}" |
2f63b1cd9122
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents:
6
diff
changeset
|
16 #end if |
0
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
17 ]]></command> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
18 <inputs> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
19 <param type="data" name="input_predictions_file" label="Scmap predictions file in text format" format="txt" help="Path to the predictions file in text format" /> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
20 <param type="boolean" name="include_scores" checked="false" label="Should prediction scores be included?" help="Boolean indicating whether similarity scores should be included in the final output" /> |
7
2f63b1cd9122
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents:
6
diff
changeset
|
21 <param type="data" name="index" label="Scmap index object" optional="true" format="rdata" help="Scmap index object in rdata format" /> |
1
656c588b718c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
22 <param type="select" name="tool" label="Tool used (cell/cluster)" help="What tool was used - scmap-cell or scmap-cluster?"> |
656c588b718c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
23 <option value="scmap-cell">Scmap-cell</option> |
656c588b718c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
24 <option value="scmap-cluster">Scmap-cluster</option> |
656c588b718c
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
25 </param> |
0
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
26 <param type="text" name="sim_col_name" value="scmap_cluster_siml" label="Column name of similarity scores" help="Name of column that contains distances between clusters/cells" /> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
27 </inputs> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
28 <outputs> |
8
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
29 <data name="output_predictions_file" format="tabular" /> |
0
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
30 </outputs> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
31 <tests> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
32 <test> |
7
2f63b1cd9122
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents:
6
diff
changeset
|
33 <param name="input_predictions_file" value="closest_cells_clusters.tsv" /> |
0
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
34 <param name="include_scores" value="TRUE" /> |
8
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
35 <output name="output_predictions_file"> |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
36 <assert_contents> |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
37 <has_n_lines n="92"/> |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
38 <has_text text="predicted_label"/> |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
39 <has_text text="Zygote..3.RPKM."/> |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
40 </assert_contents> |
601a933714f1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8350493268ce3ced12b1133b9b0f734a288deb75
ebi-gxa
parents:
7
diff
changeset
|
41 </output> |
0
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
42 </test> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
43 </tests> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
44 <help><![CDATA[ |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
45 Generate output tables in tab-separated format compatible with input specified in cell-types-analysis package: https://github.com/ebi-gene-expression-group/cell-types-analysis. |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
46 See the example snippet below: |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
47 ________________________________________ |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
48 | cell_id | predicted_label | score | |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
49 | ERR2632411 | memory B cell | 0.8 | |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
50 ... |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
51 |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
52 @VERSION_HISTORY@ |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
53 ]]></help> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
54 <expand macro="citations" /> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
55 </tool> |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
56 |
5f95950c3959
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 542b6e6848acedbbedb6fa2d4b44c8d476597cdd"
ebi-gxa
parents:
diff
changeset
|
57 |