changeset 1:03b45c148df7 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
author ebi-gxa
date Wed, 29 Apr 2020 12:42:08 -0400
parents ec6d9a9fb273
children 82087ae9fe4e
files scpred_preprocess_data.xml
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scpred_preprocess_data.xml	Mon Apr 27 09:43:08 2020 -0400
+++ b/scpred_preprocess_data.xml	Wed Apr 29 12:42:08 2020 -0400
@@ -1,11 +1,20 @@
-<tool id="scpred_preprocess_data" name="Scpred pre-process" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
+<tool id="scpred_preprocess_data" name="Scpred pre-process" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@">
     <description>Pre-process input dataset (no train/test split)</description>
     <macros>
         <import>scpred_macros.xml</import>
     </macros>
     <expand macro="requirements" />
     <command detect_errors="exit_code"><![CDATA[
-        scpred_preprocess_data.R --input-sce-object "${input_sce_object}" --normalised-counts-slot "${norm_counts_slot}" --output-matrix-object "${output_mat_object}" --output-labels "${output_labels}" ]]></command>
+        scpred_preprocess_data.R --input-sce-object "${input_sce_object}" --output-matrix-object "${output_mat_object}" 
+
+        #if $norm_counts_slot
+        --normalised-counts-slot "${norm_counts_slot}"
+        #end if
+        #if $output_labels
+        --output-labels "${output_labels}"
+        #end if
+
+         ]]></command>
     <inputs>
          <param type="data" name="input_sce_object" label="SCE object containing expression data" format="rdata" help="File with serialized SingleCellExperiment object that contains expression matrix" />
          <param type="text" name="norm_counts_slot" value="normcounts" label="Normalised counts slot" help="Slot containing normalised counts in input SCE object" />