changeset 1:01493c9cdfa7 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
author ebi-gxa
date Fri, 24 Apr 2020 11:27:27 -0400
parents b17acf485397
children 46c2b1454118
files scpred_macros.xml scpred_train_model.xml
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scpred_macros.xml	Wed Apr 08 06:28:47 2020 -0400
+++ b/scpred_macros.xml	Fri Apr 24 11:27:27 2020 -0400
@@ -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>
-
--- 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>