diff scmap_index_cell.xml @ 11:dd0b44bd359a draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
author ebi-gxa
date Fri, 27 Nov 2020 13:43:08 +0000
parents 7c3f9606ed0a
children
line wrap: on
line diff
--- a/scmap_index_cell.xml	Thu Aug 13 06:14:03 2020 -0400
+++ b/scmap_index_cell.xml	Fri Nov 27 13:43:08 2020 +0000
@@ -6,7 +6,7 @@
     <expand macro="requirements" />
     <command detect_errors="exit_code"><![CDATA[
         scmap-preprocess-sce.R --input-object "${input_single_cell_experiment}" --output-sce-object sce_object_preprocessed.rds &&
-        scmap-index-cell.R --input-object-file sce_object_preprocessed.rds --output-object-file '$output_single_cell_experiment' --random-seed '$random_seed'
+        scmap-index-cell.R --input-object-file sce_object_preprocessed.rds --output-object-file '$output_single_cell_experiment' --random-seed '$random_seed' --remove-mat '${remove_mat}'
         #if $train_id
         --train-id '${train_id}' 
         #end if
@@ -23,6 +23,7 @@
         <param name="n_chunks" type="integer" label="Number of chunks" optional="true" value="0" help="Number of chunks into which the expr matrix is split" />
         <param name="n_clusters" type="integer" label="Number of clusters" optional="true" value="0" help="Number of clusters per group for k-means clustering" />
         <param type="text" name="train_id" label="Dataset ID" help="ID of the training dataset" />
+        <param type="boolean" name="remove_mat" checked="false" label="Remove Matrix" help="Should the expression data be removed after classifier is trained?" />
         <param name="random_seed" type="integer" label="Random seed" value='1' help="scmap-cell contains k-means step which makes it stochastic, i.e. running it multiple times will provide slightly different results. A fixed random seed ensures reproducibility." />
     </inputs>
     <outputs>
@@ -31,7 +32,8 @@
     <tests>
         <test>
             <param name="input_single_cell_experiment" value="select_features.rds" ftype="rdata"/>
-            <output name="output_single_cell_experiment" file="index_cell.rds" compare="sim_size"/>
+            <param name="remove_mat" value="true" />
+            <output name="output_single_cell_experiment" file="index_cell.rds" compare="sim_size" delta="10000000"/>
         </test>
     </tests>
     <help><![CDATA[