Mercurial > repos > ebi-gxa > seurat_filter_cells
view seurat_filter_cells.xml @ 3:3c41916bc2ad draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit f3077a71c898b86794a0d630d11334788b797f2f"
author | ebi-gxa |
---|---|
date | Sat, 11 Jul 2020 08:43:56 -0400 |
parents | c2efa04fb03f |
children | ebf7286c8b97 |
line wrap: on
line source
<tool id="seurat_filter_cells" name="Seurat FilterCells" version="@SEURAT_VERSION@+galaxy0"> <description>filter cells in a Seurat object</description> <macros> <import>seurat_macros.xml</import> </macros> <expand macro="requirements" /> <expand macro="version" /> <command detect_errors="exit_code"><![CDATA[ seurat-filter-cells.R @INPUT_OBJECT@ #if $subsets: #set subsets_clause = ','.join(['{name}'.format(**$s) for $s in $subsets]) #set low_clause = ",".join(['{min}'.format(**$s) for $s in $subsets]) #set high_clause = ",".join(['{max}'.format(**$s) for $s in $subsets]) --subset-names '${subsets_clause}' --low-thresholds '${low_clause}' --high-thresholds '${high_clause}' #end if #if $cells: --cells-use $cells #end if @OUTPUT_OBJECT@ ]]></command> <inputs> <expand macro="input_object_params"/> <repeat name="subsets" title="Subsets used to filter cells" min="1"> <param name="name" argument="--subset-names" type="text" label="Name of parameter to filter on" help="for example nCount_RNA, nFeature_RNA, the name of a gene, PC1, a column name in object@meta.data, etc. Any argument that can be retreived using FetchData."> <validator type="regex" message="Please only use letters or numbers">^[\(\w\)]+$</validator> <option value="nCount_RNA">nCount_RNA</option> <option value="nFeature_RNA">nFeature_RNA</option> </param> <param name="min" type="float" value="0" min="0" label="Min value"/> <param name="max" type="float" value="1e9" label="Max value"/> </repeat> <param name="cells" argument="--cells-use" type="text" min="0" optional="True" help="Comma-separated list of cell names to use as a subset." label="Cells to use" /> <expand macro="output_object_params"/> </inputs> <outputs> <expand macro="output_files"/> </outputs> <tests> <test> <param name="input" ftype="rdata" value="seurat.rds"/> <output name="rds_seurat_file" ftype="rdata" value="out_filter.rds" compare="sim_size"/> </test> </tests> <help><![CDATA[ .. class:: infomark **What it does** This tool filters cells in a Seurat object. @SEURAT_INTRO@ ----- **Inputs** * Seurat RDS object. Probably the one produced by Seurat create object. * Subset names. A list of attributes to subset on, colon separated (:). * Low thresholds. A minimum value for each of the attributes set in subset names, again, colon separated (:). Optional. * High thresholds. A maximum value for each of the attributes set in subset names, again, colon separated (:). Optional. * Cells to use. A list of cell names/idenfifiers to filter positively by. ----- **Outputs** * Seurat RDS object filtered according to the inputs. .. _Seurat: https://www.nature.com/articles/nbt.4096 .. _Satija Lab: https://satijalab.org/seurat/ @VERSION_HISTORY@ ]]></help> <expand macro="citations" /> </tool>