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

Changeset 16:988edd5fa902 (2020-11-25)
Previous changeset 15:7ee4417b24cc (2020-11-13) Next changeset 17:da13741428bf (2021-04-12)
Commit message:
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit b03a24b2e459a00c79221b160d9187902a4098d0-dirty"
modified:
scanpy-run-pca.xml
scanpy_macros2.xml
b
diff -r 7ee4417b24cc -r 988edd5fa902 scanpy-run-pca.xml
--- 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">
b
diff -r 7ee4417b24cc -r 988edd5fa902 scanpy_macros2.xml
--- a/scanpy_macros2.xml Fri Nov 13 14:58:37 2020 +0000
+++ b/scanpy_macros2.xml Wed Nov 25 16:22:51 2020 +0000
b
@@ -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>