diff scanpy-filter-cells.xml @ 4:1b0fdf08a454 draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 1d069e25584e436d7628694cb8853a15f1f85604
author ebi-gxa
date Wed, 20 Nov 2019 05:18:49 -0500
parents 8e48fa9618c1
children 9b2072ee4bdd
line wrap: on
line diff
--- a/scanpy-filter-cells.xml	Mon Oct 28 05:27:24 2019 -0400
+++ b/scanpy-filter-cells.xml	Wed Nov 20 05:18:49 2019 -0500
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<tool id="scanpy_filter_cells" name="Scanpy FilterCells" version="@TOOL_VERSION@+galaxy1">
+<tool id="scanpy_filter_cells" name="Scanpy FilterCells" version="@TOOL_VERSION@+galaxy0">
   <description>based on counts and numbers of genes expressed</description>
   <macros>
     <import>scanpy_macros2.xml</import>
@@ -16,7 +16,7 @@
     ${pars}
 #end if
 #if $categories
-    #set cats = ' '.join(['--category c:{name} {values}'.format(**$c) for $c in $categories])
+    #set cats = ' '.join(["--category c:{name} '{negate}{values}'".format(**$c) for $c in $categories])
     ${cats}
 #end if
 #if $subsets
@@ -47,7 +47,8 @@
 
     <repeat name="categories" title="Categories used to filter cells" min="0">
       <param name="name" type="text" value="" label="Name of the categorical variable to filter on"/>
-      <param name="values" type="text" value="" label="Comma-separated values to keep"/>
+      <param name="values" type="text" value="" label="Comma-separated list of categories"/>
+      <param name="negate" type="boolean" truevalue="!" falsevalue="" checked="false" label="Apply as negative filter" help="If enabled, specified categories will be removed rather than retained."/>
     </repeat>
 
     <repeat name="subsets" title="Subsets used to filter cells" min="0">