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

Changeset 16:087a7edb0995 (2020-10-07)
Previous changeset 15:3cf0177ed87e (2020-09-30) Next changeset 17:c7a904e3e09b (2020-11-13)
Commit message:
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 0fc0cc467014e750dbaa6c47b528b25af0bdc0c4-dirty"
modified:
scanpy-neighbours.xml
b
diff -r 3cf0177ed87e -r 087a7edb0995 scanpy-neighbours.xml
--- a/scanpy-neighbours.xml Wed Sep 30 11:16:35 2020 +0000
+++ b/scanpy-neighbours.xml Wed Oct 07 16:07:10 2020 +0000
[
@@ -1,22 +1,22 @@
 <?xml version="1.0" encoding="utf-8"?>
-<tool id="scanpy_compute_graph" name="Scanpy ComputeGraph" version="@TOOL_VERSION@+galaxy3" profile="@PROFILE@">
+<tool id="scanpy_compute_graph" name="Scanpy ComputeGraph" version="@TOOL_VERSION@+galaxy4" profile="@PROFILE@">
   <description>to derive kNN graph</description>
   <macros>
     <import>scanpy_macros2.xml</import>
   </macros>
   <expand macro="requirements"/>
   <command detect_errors="exit_code"><![CDATA[
-#if $settings.n_neighbors_file
-    #set f = open($settings.n_neighbors_file.__str__)
-    #set n_neighbors = f.read().strip()
-    #silent f.close
-#elif $settings.n_neighbors
-    #set n_neighbors = $settings.n_neighbors.__str__.strip()
-#end if
-
 ln -s '${input_obj_file}' input.h5 &&
 PYTHONIOENCODING=utf-8 scanpy-neighbors
 #if $settings.default == "false"
+    #if $settings.n_neighbors_file
+        #set f = open($settings.n_neighbors_file.__str__)
+        #set n_neighbors = f.read().strip()
+        #silent f.close
+    #elif $settings.n_neighbors
+        #set n_neighbors = $settings.n_neighbors.__str__.strip()
+    #end if
+
     #if $n_neighbors
         --n-neighbors $n_neighbors
     #end if