comparison seurat_filter_cells.xml @ 1:30982e805f8c draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
author ebi-gxa
date Mon, 25 Nov 2019 06:08:26 -0500
parents c1848daebad1
children c2efa04fb03f
comparison
equal deleted inserted replaced
0:c1848daebad1 1:30982e805f8c
1 <tool id="seurat_filter_cells" name="Seurat FilterCells" version="2.3.1+galaxy1"> 1 <tool id="seurat_filter_cells" name="Seurat FilterCells" version="@SEURAT_VERSION@_@VERSION@+galaxy0">
2 <description>filter cells in a Seurat object</description> 2 <description>filter cells in a Seurat object</description>
3 <macros> 3 <macros>
4 <import>seurat_macros.xml</import> 4 <import>seurat_macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements" /> 6 <expand macro="requirements" />
7 <expand macro="version" /> 7 <expand macro="version" />
8 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
9 seurat-filter-cells.R 9 seurat-filter-cells.R
10 @INPUT_OBJECT@
11 #if $subsets:
12 #set subsets_clause = ','.join(['{name}'.format(**$s) for $s in $subsets])
13 #set low_clause = ",".join(['{min}'.format(**$s) for $s in $subsets])
14 #set high_clause = ",".join(['{max}'.format(**$s) for $s in $subsets])
15 --subset-names '${subsets_clause}' --low-thresholds '${low_clause}' --high-thresholds '${high_clause}'
16 #end if
10 17
11 --input-object-file '$input'
12 #if $subset:
13 --subset-names '$subset'
14 #else
15 --subset-names nUMI
16 #end if
17 #if $low:
18 --low-thresholds $low
19 #end if
20 #if $high:
21 --high-thresholds $high
22 #end if
23 #if $cells: 18 #if $cells:
24 --cells-use $cells 19 --cells-use $cells
25 #end if 20 #end if
26 --output-object-file '$output' 21 @OUTPUT_OBJECT@
27 ]]></command> 22 ]]></command>
28 23
29 <inputs> 24 <inputs>
30 <param name="input" argument="--input-object-file" type="data" format="rdata" label="Seurat RDS object" help="Output from Seurat create object." /> 25 <expand macro="input_object_params"/>
31 <param name="subset" argument="--subset-names" type="text" label="Subset names" optional="True" help="Parameters to subset on. Eg, the name of a gene, PC1, a column name in object@meta.data, etc. Any argument that can be retreived using FetchData. Multiple values can be separated by colons (:)."> 26 <repeat name="subsets" title="Subsets used to filter cells" min="1">
27 <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.">
32 <validator type="regex" message="Please only use letters or numbers">^[\(\w\)]+$</validator> 28 <validator type="regex" message="Please only use letters or numbers">^[\(\w\)]+$</validator>
33 </param> 29 <option value="nCount_RNA">nCount_RNA</option>
34 <param name="low" argument="--low-thresholds" type="float" optional="True" label="Low threshold for filtering cells" help="Multiple values can be separated by colons (:) and should have same length as provided for `Subset names`." /> 30 <option value="nFeature_RNA">nFeature_RNA</option>
35 <param name="high" argument="--high-thresholds" type="float" optional="True" label="High threshold for filtering cells" help="Multiple values can be separated by colons (:) and should have same length as provided for `Subset names`." /> 31 </param>
32 <param name="min" type="float" value="0" min="0" label="Min value"/>
33 <param name="max" type="float" value="1e9" label="Max value"/>
34 </repeat>
36 <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" /> 35 <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" />
36 <expand macro="output_object_params"/>
37 </inputs> 37 </inputs>
38 38
39 <outputs> 39 <outputs>
40 <data name="output" format="rdata" from_work_dir="*.rds" label="${tool.name} on ${on_string}: Seurat RDS"/> 40 <expand macro="output_files"/>
41 </outputs> 41 </outputs>
42 42
43 <tests> 43 <tests>
44 <test> 44 <test>
45 <param name="input" ftype="rdata" value="seurat.rds"/> 45 <param name="input" ftype="rdata" value="seurat.rds"/>
46 <output name="output" ftype="rdata" value="out_filter.rds" compare="sim_size"/> 46 <output name="rds_seurat_file" ftype="rdata" value="out_filter.rds" compare="sim_size"/>
47 </test> 47 </test>
48 </tests> 48 </tests>
49 <help><![CDATA[ 49 <help><![CDATA[
50 .. class:: infomark 50 .. class:: infomark
51 51
52 **What it does** 52 **What it does**
53 53
54 Seurat_ is a toolkit for quality control, analysis, and exploration of single cell RNA sequencing data. 54 This tool filters cells in a Seurat object.
55 It is developed and maintained by the `Satija Lab`_ at NYGC. Seurat aims to enable users to identify and
56 interpret sources of heterogeneity from single cell transcriptomic measurements, and to integrate diverse
57 types of single cell data.
58 55
59 This tool filters a Seurat RDS object. 56 @SEURAT_INTRO@
60 57
61 ----- 58 -----
62 59
63 **Inputs** 60 **Inputs**
64 61