Mercurial > repos > ebi-gxa > scpred_train_model
annotate scpred_train_model.xml @ 4:03d1ed93e523 draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit f1471c41f9845cce8b58a51089dcf096c39fe8d6"
author | ebi-gxa |
---|---|
date | Mon, 01 Jun 2020 09:21:05 -0400 |
parents | ba53e46a4275 |
children | 33fa4949e080 |
rev | line source |
---|---|
4
03d1ed93e523
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit f1471c41f9845cce8b58a51089dcf096c39fe8d6"
ebi-gxa
parents:
3
diff
changeset
|
1 <tool id="scpred_train_model" name="Scpred train" version="@TOOL_VERSION@+galaxy3" profile="@PROFILE@"> |
0
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
2 <description>Train classification model</description> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
3 <macros> |
b17acf485397
"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> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
5 </macros> |
b17acf485397
"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" /> |
b17acf485397
"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[ |
1
01493c9cdfa7
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
8 scpred_train_model.R --input-object "${input_object}" --model "${model}" --output-path "${output_obj_path}" --train-probs-plot "${train_probs_plot}" |
01493c9cdfa7
"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 |
01493c9cdfa7
"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}' |
01493c9cdfa7
"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
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
12 ]]></command> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
13 <inputs> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
14 <param type="data" name="input_object" label="Input SCE object" format="rdata" help="Input SCE object in .rds format"/> |
3
ba53e46a4275
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 2f718294665c9d01702ad765904972f463154cd6"
ebi-gxa
parents:
2
diff
changeset
|
15 <param type="text" name="train_id" optional="true" label="Dataset ID" help="ID of the training dataset" /> |
0
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
16 <param type="text" name="model" label="Model type to train" value="svmRadial" help="Model type used for training. Must be one of the models supported by Caret package. Default: svmRadial" /> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
17 </inputs> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
18 <outputs> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
19 <data name="output_obj_path" format="rdata" /> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
20 <data name="train_probs_plot" format="png" /> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
21 </outputs> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
22 <tests> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
23 <test> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
24 <param name="input_object" value="scPred_feat_space.rds" /> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
25 <output name="output_obj_path" file="scPred_trained.rds" compare="sim_size" /> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
26 </test> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
27 </tests> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
28 <help><![CDATA[ |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
29 @HELP@ |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
30 |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
31 @VERSION_HISTORY@ |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
32 ]]></help> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
33 <expand macro="citations" /> |
b17acf485397
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 6ea13bbd7294b94201a5d776307b3f0742847db1"
ebi-gxa
parents:
diff
changeset
|
34 </tool> |