annotate scpred_train_model.xml @ 2:46c2b1454118 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:39:39 -0400
parents 01493c9cdfa7
children ba53e46a4275
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
46c2b1454118 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 660486ba0e1ef2f0195e7c6f75448221ba4640f7"
ebi-gxa
parents: 1
diff changeset
1 <tool id="scpred_train_model" name="Scpred train" version="@TOOL_VERSION@+galaxy1" 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"/>
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
15 <param type="text" name="train_id" 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>