diff scanpy-find-cluster.xml @ 31:36735850e461 draft default tip

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ee197a80b2d591c393e1662854bc119b2ecab11e-dirty
author ebi-gxa
date Tue, 27 Feb 2024 16:42:39 +0000
parents d19920419c78
children
line wrap: on
line diff
--- a/scanpy-find-cluster.xml	Fri Oct 13 14:07:35 2023 +0000
+++ b/scanpy-find-cluster.xml	Tue Feb 27 16:42:39 2024 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<tool id="scanpy_find_cluster" name="Scanpy FindCluster" version="@TOOL_VERSION@+galaxy93" profile="@PROFILE@">
+<tool id="scanpy_find_cluster" name="Scanpy FindCluster" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
   <description>based on community detection on KNN graph</description>
   <macros>
     <import>scanpy_macros2.xml</import>
@@ -97,7 +97,11 @@
       <param name="default" value="false"/>
       <param name="resolution_file" value="resolution.txt"/>
       <param name="random_seed" value="0"/>
-      <output name="output_h5" file="find_cluster.h5" ftype="h5" compare="sim_size"/>
+      <output name="output_h5" ftype="h5">
+        <assert_contents>
+          <has_h5_keys keys="obs/louvain"/>
+        </assert_contents>
+      </output>
       <output name="output_txt" file="find_cluster.tsv" ftype="tsv"/>
     </test>
     <test>
@@ -107,7 +111,11 @@
       <param name="default" value="false"/>
       <param name="resolution" value="1.0"/>
       <param name="random_seed" value="0"/>
-      <output name="output_h5" file="find_cluster.h5" ftype="h5" compare="sim_size"/>
+      <output name="output_h5" ftype="h5">
+        <assert_contents>
+          <has_h5_keys keys="obs/louvain"/>
+        </assert_contents>
+      </output>
       <output name="output_txt" file="find_cluster.tsv" ftype="tsv"/>
     </test>
     <test>
@@ -119,7 +127,11 @@
       <param name="resolution" value="1.0"/>
       <param name="key_added" value="METHOD_RESOLUTION"/>
       <param name="random_seed" value="0"/>
-      <output name="output_h5" file="louvain_1.0" ftype="h5" compare="sim_size"/>
+      <output name="output_h5" ftype="h5">
+        <assert_contents>
+          <has_h5_keys keys="obs/louvain_1.0"/>
+        </assert_contents>
+      </output>
       <output name="output_txt" file="louvain_1.0.tsv" ftype="tsv"/>
     </test>
   </tests>