Repository 'scpred_train_model'
hg clone https://toolshed.g2.bx.psu.edu/repos/ebi-gxa/scpred_train_model

Changeset 1:01493c9cdfa7 (2020-04-24)
Previous changeset 0:b17acf485397 (2020-04-08) Next changeset 2:46c2b1454118 (2020-04-28)
Commit message:
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
modified:
scpred_macros.xml
scpred_train_model.xml
b
diff -r b17acf485397 -r 01493c9cdfa7 scpred_macros.xml
--- a/scpred_macros.xml Wed Apr 08 06:28:47 2020 -0400
+++ b/scpred_macros.xml Fri Apr 24 11:27:27 2020 -0400
b
@@ -4,7 +4,7 @@
     <token name="@PROFILE@">18.01</token>
     <xml name="requirements">
         <requirements>
-            <requirement type="package" version="0.0.5">scpred-cli</requirement>
+            <requirement type="package" version="0.0.7">scpred-cli</requirement>
                 <yield/>
         </requirements>
     </xml>
@@ -37,10 +37,9 @@
                 journal = {GitHub repository},
                 url = {https://github.com/ebi-gene-expression-group/scpred-cli.git},
               }
-
             </citation>
+            <citation type="doi">10.1101/2020.04.08.032698</citation>
             <yield />
         </citations>
     </xml>
 </macros>
-
b
diff -r b17acf485397 -r 01493c9cdfa7 scpred_train_model.xml
--- a/scpred_train_model.xml Wed Apr 08 06:28:47 2020 -0400
+++ b/scpred_train_model.xml Fri Apr 24 11:27:27 2020 -0400
[
@@ -5,10 +5,14 @@
     </macros>
     <expand macro="requirements" />
     <command detect_errors="exit_code"><![CDATA[
-        scpred_train_model.R --input-object "${input_object}" --model "${model}"  --output-path "${output_obj_path}" --train-probs-plot "${train_probs_plot}"
+        scpred_train_model.R --input-object "${input_object}" --model "${model}" --output-path "${output_obj_path}" --train-probs-plot "${train_probs_plot}"
+        #if $train_id
+        --train-id '${train_id}' 
+        #end if
         ]]></command>
     <inputs>
         <param type="data" name="input_object" label="Input SCE object" format="rdata" help="Input SCE object in .rds format"/>
+        <param type="text" name="train_id" label="Dataset ID" help="ID of the training dataset" />
         <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" />
     </inputs>
     <outputs>