Mercurial > repos > ebi-gxa > scpred_predict_labels
annotate scpred_predict.xml @ 6:d071810dc6db draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit e2e8344bd707659bcb2bdfcfdda648179884bd53"
author | ebi-gxa |
---|---|
date | Fri, 14 Aug 2020 10:57:27 -0400 |
parents | eca76dd511f4 |
children | b869bb6d4b01 |
rev | line source |
---|---|
5
eca76dd511f4
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit bb88d0eb9c193518eb0d05321e3458a10212d3ab"
ebi-gxa
parents:
4
diff
changeset
|
1 <tool id="scpred_predict_labels" name="Scpred predict" version="@TOOL_VERSION@+galaxy0"> |
0
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
2 <description>Make cell type predictions using trained model.</description> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
3 <macros> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
4 <import>scpred_macros.xml</import> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
5 </macros> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
2
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
8 scpred_predict.R --input-object "${input_object}" --pred-data "${pred_data}" --output-path "${output_tbl_path}" |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
9 |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
10 #if $test_labels |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
11 --test-labels "${test_labels}" |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
12 #end if |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
13 #if $cell_types_column |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
14 --cell-types-column "${cell_types_column}" |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
15 #end if |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
16 #if $plot_path |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
17 --plot-path "${plot_path}" |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
18 #end if |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
19 #if $confusion_table |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
20 --confusion-table "${confusion_table}" |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
21 #end if |
051f5801c819
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
ebi-gxa
parents:
0
diff
changeset
|
22 |
0
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
23 ]]></command> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
24 <inputs> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
25 <param type="data" name="input_object" label="Input SCE object" format="rdata" help="Input SCE object in .rds format" /> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
26 <param type="data" name="pred_data" label="Matrix with query data" format="rdata" help="Path to the input prediction matrix in .rds format"/> |
3
1bc003e80986
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 2f718294665c9d01702ad765904972f463154cd6"
ebi-gxa
parents:
2
diff
changeset
|
27 <param type="data" name="test_labels" optional="true" format="txt" label="Test labels" help="Path to the test labels file for evalutation of model performance in text format" /> |
1bc003e80986
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 2f718294665c9d01702ad765904972f463154cd6"
ebi-gxa
parents:
2
diff
changeset
|
28 <param type="text" name="cell_types_column" value="cell_type2" optional="true" label="Cell types column name" help="Column name of true labels in provided metadata file" /> |
0
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
29 </inputs> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
30 <outputs> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
31 <data name="output_tbl_path" format="txt" /> |
5
eca76dd511f4
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit bb88d0eb9c193518eb0d05321e3458a10212d3ab"
ebi-gxa
parents:
4
diff
changeset
|
32 <data name="plot_path" format="png" /> |
0
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
33 <data name="confusion_table" format="txt" /> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
34 </outputs> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
35 <tests> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
36 <test> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
37 <param name="input_object" value="scPred_trained.rds" /> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
38 <param name="pred_data" value="test_matrix.mtx" /> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
39 <param name="test_labels" value="test_metadata.txt" /> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
40 <output name="output_tbl_path" file="predictions_table.txt" compare="sim_size"/> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
41 </test> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
42 </tests> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
43 <help><![CDATA[ |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
44 @HELP@ |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
45 |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
46 @VERSION_HISTORY@ |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
47 ]]></help> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
48 <expand macro="citations" /> |
c54f0e1a3bd8
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
49 </tool> |