diff scanpy-integrate-combat.xml @ 15:3c47bc560688 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:43:23 +0000
parents c6611adc8f4a
children
line wrap: on
line diff
--- a/scanpy-integrate-combat.xml	Fri Oct 13 14:07:56 2023 +0000
+++ b/scanpy-integrate-combat.xml	Tue Feb 27 16:43:23 2024 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<tool id="scanpy_integrate_combat" name="Scanpy ComBat" version="@TOOL_VERSION@+galaxy93" profile="@PROFILE@">
+<tool id="scanpy_integrate_combat" name="Scanpy ComBat" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
   <description>adjust expression for variables that might introduce batch effect</description>
   <macros>
     <import>scanpy_macros2.xml</import>
@@ -8,7 +8,7 @@
   <command detect_errors="exit_code"><![CDATA[
 #if $batch_key
   ln -s '${input_obj_file}' input.h5 &&
-  PYTHONIOENCODING=utf-8 scanpy-integrate combat 
+  PYTHONIOENCODING=utf-8 scanpy-cli integrate combat 
   --batch-key '${batch_key}'
   #if $batch_layer
     --batch-layer '${batch_layer}'
@@ -58,13 +58,17 @@
       <param name="input_format" value="anndata"/>
       <param name="output_format" value="anndata"/>
       <param name="batch_key" value="louvain"/>
-      <output name="output_h5" file="combat.h5" ftype="h5" compare="sim_size"/>
+      <output name="output_h5" ftype="h5">
+        <assert_contents>
+          <has_h5_keys keys="layers/combat"/>
+        </assert_contents>
+      </output>
     </test>
     <test>
       <param name="input_obj_file" value="find_cluster.h5"/>
       <param name="input_format" value="anndata"/>
       <param name="output_format" value="anndata"/>
-      <output name="output_h5" file="combat_copy.h5" ftype="h5" compare="sim_size"/>
+      <output name="output_h5" file="combat_copy.h5" ftype="h5" compare="sim_size" delta_frac="0.1"/>
     </test>
   </tests>