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

Changeset 19:b531acda966c (2020-10-07)
Previous changeset 18:15e8a4c60418 (2020-09-30) Next changeset 20:62d23f5d38f9 (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-find-cluster.xml
b
diff -r 15e8a4c60418 -r b531acda966c scanpy-find-cluster.xml
--- a/scanpy-find-cluster.xml Wed Sep 30 11:12:27 2020 +0000
+++ b/scanpy-find-cluster.xml Wed Oct 07 16:02:21 2020 +0000
[
@@ -1,23 +1,23 @@
 <?xml version="1.0" encoding="utf-8"?>
-<tool id="scanpy_find_cluster" name="Scanpy FindCluster" version="@TOOL_VERSION@+galaxy3" profile="@PROFILE@">
+<tool id="scanpy_find_cluster" name="Scanpy FindCluster" version="@TOOL_VERSION@+galaxy4" profile="@PROFILE@">
   <description>based on community detection on KNN graph</description>
   <macros>
     <import>scanpy_macros2.xml</import>
   </macros>
   <expand macro="requirements"/>
   <command detect_errors="exit_code"><![CDATA[
-#if $settings.resolution_file
-    #set f = open($settings.resolution_file.__str__)
-    #set resolution = f.read().strip()
-    #silent f.close
-#elif $settings.resolution
-    #set resolution = $settings.resolution.__str__.strip()
-#end if
-
 ln -s '${input_obj_file}' input.h5 &&
 PYTHONIOENCODING=utf-8 scanpy-find-cluster
     ${method}
 #if $settings.default == "false"
+    #if $settings.resolution_file
+        #set f = open($settings.resolution_file.__str__)
+        #set resolution = f.read().strip()
+        #silent f.close
+    #elif $settings.resolution
+        #set resolution = $settings.resolution.__str__.strip()
+    #end if
+
     --neighbors-key '${settings.neighbors_key}'
     #if $settings.key_added
         #set key_added = $settings.key_added.replace('METHOD', $method.__str__)