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

Changeset 1:03b45c148df7 (2020-04-29)
Previous changeset 0:ec6d9a9fb273 (2020-04-27) Next changeset 2:82087ae9fe4e (2020-05-01)
Commit message:
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 59503a4ae6f53a7782336df4f82fbd755cfb2933"
modified:
scpred_preprocess_data.xml
b
diff -r ec6d9a9fb273 -r 03b45c148df7 scpred_preprocess_data.xml
--- 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" />