Mercurial > repos > ebi-gxa > seurat_filter_cells
annotate seurat_filter_cells.xml @ 4:ebf7286c8b97 draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
author | ebi-gxa |
---|---|
date | Fri, 27 Nov 2020 13:47:29 +0000 |
parents | c2efa04fb03f |
children | c4b984347138 |
rev | line source |
---|---|
2
c2efa04fb03f
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit bbe3c1f7fd8489951f2d90415fe80dd5cf961ca0
ebi-gxa
parents:
1
diff
changeset
|
1 <tool id="seurat_filter_cells" name="Seurat FilterCells" version="@SEURAT_VERSION@+galaxy0"> |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
2 <description>filter cells in a Seurat object</description> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
3 <macros> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
4 <import>seurat_macros.xml</import> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
5 </macros> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
7 <expand macro="version" /> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
9 seurat-filter-cells.R |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
10 @INPUT_OBJECT@ |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
11 #if $subsets: |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
12 #set subsets_clause = ','.join(['{name}'.format(**$s) for $s in $subsets]) |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
13 #set low_clause = ",".join(['{min}'.format(**$s) for $s in $subsets]) |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
14 #set high_clause = ",".join(['{max}'.format(**$s) for $s in $subsets]) |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
15 --subset-names '${subsets_clause}' --low-thresholds '${low_clause}' --high-thresholds '${high_clause}' |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
16 #end if |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
17 |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
18 #if $cells: |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
19 --cells-use $cells |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
20 #end if |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
21 @OUTPUT_OBJECT@ |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
22 ]]></command> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
23 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
24 <inputs> |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
25 <expand macro="input_object_params"/> |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
26 <repeat name="subsets" title="Subsets used to filter cells" min="1"> |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
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."> |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
28 <validator type="regex" message="Please only use letters or numbers">^[\(\w\)]+$</validator> |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
29 <option value="nCount_RNA">nCount_RNA</option> |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
30 <option value="nFeature_RNA">nFeature_RNA</option> |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
31 </param> |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
32 <param name="min" type="float" value="0" min="0" label="Min value"/> |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
33 <param name="max" type="float" value="1e9" label="Max value"/> |
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
34 </repeat> |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
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" /> |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
36 <expand macro="output_object_params"/> |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
37 </inputs> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
38 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
39 <outputs> |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
40 <expand macro="output_files"/> |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
41 </outputs> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
42 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
43 <tests> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
44 <test> |
4
ebf7286c8b97
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents:
2
diff
changeset
|
45 <param name="name" value="nCount_RNA" /> |
ebf7286c8b97
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents:
2
diff
changeset
|
46 <param name="rds_seurat_file" ftype="rdata" value="raw_seurat.rds" /> |
ebf7286c8b97
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
ebi-gxa
parents:
2
diff
changeset
|
47 <output name="rds_seurat_file" ftype="rdata" value="filtered_seurat.rds" compare="sim_size" delta="1000000" /> |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
48 </test> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
49 </tests> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
50 <help><![CDATA[ |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
51 .. class:: infomark |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
52 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
53 **What it does** |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
54 |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
55 This tool filters cells in a Seurat object. |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
56 |
1
30982e805f8c
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 0463f230d18201c740851d72e31a5024f391207f
ebi-gxa
parents:
0
diff
changeset
|
57 @SEURAT_INTRO@ |
0
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
58 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
59 ----- |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
60 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
61 **Inputs** |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
62 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
63 * Seurat RDS object. Probably the one produced by Seurat create object. |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
64 * Subset names. A list of attributes to subset on, colon separated (:). |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
65 * Low thresholds. A minimum value for each of the attributes set in subset names, again, colon separated (:). Optional. |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
66 * High thresholds. A maximum value for each of the attributes set in subset names, again, colon separated (:). Optional. |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
67 * Cells to use. A list of cell names/idenfifiers to filter positively by. |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
68 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
69 ----- |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
70 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
71 **Outputs** |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
72 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
73 * Seurat RDS object filtered according to the inputs. |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
74 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
75 .. _Seurat: https://www.nature.com/articles/nbt.4096 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
76 .. _Satija Lab: https://satijalab.org/seurat/ |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
77 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
78 @VERSION_HISTORY@ |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
79 |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
80 ]]></help> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
81 <expand macro="citations" /> |
c1848daebad1
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 9bf9a6e46a330890be932f60d1d996dd166426c4
ebi-gxa
parents:
diff
changeset
|
82 </tool> |