changeset 16:988edd5fa902 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit b03a24b2e459a00c79221b160d9187902a4098d0-dirty"
author ebi-gxa
date Wed, 25 Nov 2020 16:22:51 +0000
parents 7ee4417b24cc
children da13741428bf
files scanpy-run-pca.xml scanpy_macros2.xml
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scanpy-run-pca.xml	Fri Nov 13 14:58:37 2020 +0000
+++ b/scanpy-run-pca.xml	Wed Nov 25 16:22:51 2020 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<tool id="scanpy_run_pca" name="Scanpy RunPCA" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
+<tool id="scanpy_run_pca" name="Scanpy RunPCA" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@">
   <description>for dimensionality reduction</description>
   <macros>
     <import>scanpy_macros2.xml</import>
@@ -8,7 +8,9 @@
   <command detect_errors="exit_code"><![CDATA[
 ln -s '${input_obj_file}' input.h5 &&
 PYTHONIOENCODING=utf-8 scanpy-run-pca
+#if $n_pcs
     --n-comps '${n_pcs}'
+#end if    
 #if $run_mode.chunked
     --chunked
     --chunk-size '${run_mode.chunk_size}'
@@ -31,7 +33,7 @@
   <inputs>
     <expand macro="input_object_params"/>
     <expand macro="output_object_params"/>
-    <param name="n_pcs" argument="--n-comps" type="integer" min="2" value="50" label="Number of PCs to produce"/>
+    <param name="n_pcs" argument="--n-comps" type="integer" optional="true" min="2" value="" label="Number of PCs to produce"/>
     <conditional name="run_mode">
       <param name="chunked" argument="--chunked" type="boolean" checked="false" label="Perform incremental PCA by chunks"/>
       <when value="true">
--- a/scanpy_macros2.xml	Fri Nov 13 14:58:37 2020 +0000
+++ b/scanpy_macros2.xml	Wed Nov 25 16:22:51 2020 +0000
@@ -49,7 +49,7 @@
 
   <xml name="requirements">
     <requirements>
-      <requirement type="package" version="0.3.1">scanpy-scripts</requirement>
+      <requirement type="package" version="0.3.2">scanpy-scripts</requirement>
       <yield/>
     </requirements>
   </xml>