annotate create_seurat.xml @ 0:d0c26c9430f2 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
author iuc
date Wed, 11 Sep 2024 10:21:11 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
1 <tool id="seurat_create" name="Seurat Create" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
2 <description>- Prepare data for the pipeline</description>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
3 <macros>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
4 <import>macros.xml</import>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
5 </macros>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
7 <expand macro="version_command"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
9 #if str($method.method) == 'CreateSeuratObject':
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
10 #if str($method.input_type.input_type) == 'mtx':
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
11 ln -s '$method.input_type.matrix' matrix.mtx &&
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
12 ln -s '$method.input_type.gene_names' genes.tsv &&
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
13 ln -s '$method.input_type.cell_barcodes' barcodes.tsv &&
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
14 #else if str($method.input_type.input_type) == 'tab':
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
15 ln -s '$method.input_type.input_tab' input.tab;
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
16 #if str($method.input_type.citeseq.citeseq) == 'true':
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
17 ln -s '$method.input_type.citeseq.citeseq_table' citeseq.tab &&
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
18 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
19 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
20 cat '$script_file' > $hidden_output &&
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
21 Rscript '$script_file' >> $hidden_output
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
22 #else:
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
23 @CMD@
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
24 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
25 ]]></command>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
26 <configfiles>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
27 <configfile name="script_file"><![CDATA[
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
28 @CMD_imports@
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
29
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
30 #if $method.method == 'CreateSeuratObject'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
31 #if $method.input_type.input_type == 'mtx'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
32 counts<-Read10X(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
33 data.dir = '.',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
34 gene.column = $method.input_type.gene_column,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
35 cell.column = $method.input_type.cell_column,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
36 unique.features = $method.input_type.unique_features,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
37 strip.suffix = $method.input_type.strip_suffix
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
38 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
39
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
40 #if $method.meta_data
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
41 meta_data<-read.table(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
42 "$method.meta_data",
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
43 header = TRUE,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
44 row.names = 1,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
45 sep = "\t"
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
46 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
47 for (name in colnames(meta_data)) {
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
48 meta_data[[name]]<-gsub("^$", "N/A", trimws(meta_data[[name]]))
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
49 meta_data[[name]][is.na(meta_data[[name]])]<-"N/A"
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
50 }
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
51 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
52
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
53 seurat_obj<-CreateSeuratObject(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
54 counts,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
55 assay = '$method.assay',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
56 #if $method.names_field != ''
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
57 names.field = $method.names_field,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
58 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
59 #if $method.names_delim != ''
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
60 names.delim = '$method.names_delim',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
61 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
62 #if $method.min_cells
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
63 min.cells = $method.min_cells,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
64 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
65 #if $method.min_features
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
66 min.features = $method.min_features,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
67 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
68 #if $method.meta_data
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
69 meta.data = meta_data
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
70 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
71 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
72
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
73 #if $method.percent_mt.percent_mt == 'true'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
74 seurat_obj[["percent.mt"]]<-PercentageFeatureSet(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
75 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
76 pattern = '$method.percent_mt.pattern',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
77 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
78 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
79
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
80 #if $method.input_type.citeseq_boolean == 'true'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
81 seurat_obj[['ADT']]<-CreateAssayObject(counts[['Antibody Capture']], colnames(x = seurat_obj))
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
82 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
83
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
84 #else if $method.input_type.input_type == 'tab'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
85 counts<-read.table(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
86 'input.tab',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
87 header = TRUE,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
88 row.names = 1,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
89 sep = "\t"
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
90 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
91
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
92 #if $method.meta_data
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
93 meta_data<-read.table(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
94 "$method.meta_data",
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
95 header = TRUE,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
96 row.names = 1,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
97 sep = "\t"
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
98 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
99 for (name in colnames(meta_data)) {
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
100 meta_data[[name]]<-gsub("^$", "N/A", trimws(meta_data[[name]]))
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
101 meta_data[[name]][is.na(meta_data[[name]])]<-"N/A"
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
102 }
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
103 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
104
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
105 seurat_obj<-CreateSeuratObject(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
106 counts,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
107 assay = '$method.assay',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
108 #if $method.names_field != ''
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
109 names.field = $method.names_field,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
110 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
111 #if $method.names_delim != ''
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
112 names.delim = '$method.names_delim',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
113 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
114 #if $method.min_cells
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
115 min.cells = $method.min_cells,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
116 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
117 #if $method.min_features
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
118 min.features = $method.min_features,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
119 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
120 #if $method.meta_data
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
121 meta.data = meta_data
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
122 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
123 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
124
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
125 #if $method.percent_mt.percent_mt == 'true'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
126 seurat_obj[["percent.mt"]]<-PercentageFeatureSet(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
127 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
128 pattern = '$method.percent_mt.pattern',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
129 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
130 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
131
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
132 #if $method.input_type.citeseq.citeseq == 'true'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
133 citeseq<-read.table(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
134 'citeseq.tab',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
135 header = TRUE,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
136 row.names = 1,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
137 sep = "\t"
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
138 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
139
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
140 seurat_obj[['ADT']]<-CreateAssay5Object(counts = citeseq)
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
141 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
142 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
143
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
144 #else if $method.method == 'Add_QC_Metrics'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
145 @CMD_read_inputs@
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
146
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
147 #if $method.match.match == 'list'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
148 features_list<-paste(readLines('$method.match.features'), collapse=",")
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
149 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
150
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
151 seurat_obj[['$method.col_name']]<-PercentageFeatureSet(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
152 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
153 #if $method.match.match == 'pattern'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
154 pattern = '$method.match.pattern',
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
155 #else if $method.match.match == 'list'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
156 features = c(unlist(strsplit(features_list, ","))),
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
157 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
158 #if $method.assay != ''
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
159 assay = '$method.assay'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
160 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
161 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
162
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
163 #else if $method.method == 'FilterCells'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
164 @CMD_read_inputs@
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
165 #if $method.minimum_nFeature_RNA
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
166 seurat_obj<-subset(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
167 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
168 subset = nFeature_RNA > $method.minimum_nFeature_RNA
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
169 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
170 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
171 #if $method.maximum_nFeature_RNA
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
172 seurat_obj<-subset(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
173 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
174 subset = nFeature_RNA < $method.maximum_nFeature_RNA
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
175 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
176 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
177 #if $method.minimum_nCount_RNA
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
178 seurat_obj<-subset(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
179 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
180 subset = nCount_RNA > $method.minimum_nCount_RNA
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
181 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
182 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
183 #if $method.maximum_nCount_RNA
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
184 seurat_obj<-subset(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
185 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
186 subset = nCount_RNA < $method.maximum_nCount_RNA
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
187 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
188 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
189 #if $method.minimum_percent_mt
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
190 seurat_obj<-subset(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
191 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
192 subset = percent.mt> $method.minimum_percent_mt
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
193 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
194 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
195 #if $method.maximum_percent_mt
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
196 seurat_obj<-subset(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
197 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
198 subset = percent.mt < $method.maximum_percent_mt
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
199 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
200 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
201 #if $method.other.other == 'true'
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
202 #if $method.other.minimum
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
203 seurat_obj<-subset(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
204 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
205 subset = $method.other.other_variable > $method.other.minimum
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
206 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
207 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
208 #if $method.other.maximum
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
209 seurat_obj<-subset(
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
210 seurat_obj,
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
211 subset = $method.other.other_variable < $method.other.maximum
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
212 )
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
213 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
214 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
215
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
216 #end if
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
217
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
218 @CMD_rds_write_outputs@
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
219
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
220 ]]></configfile>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
221 </configfiles>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
222 <inputs>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
223 <conditional name="method">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
224 <param name="method" type="select" label="Method used">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
225 <option value="CreateSeuratObject">Create Seurat Object</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
226 <option value="Add_QC_Metrics">Add QC Metrics</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
227 <option value="FilterCells">Filter cells by QC metrics</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
228 </param>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
229 <when value="CreateSeuratObject">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
230 <conditional name="input_type">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
231 <param name="input_type" type="select" label="Select format of input">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
232 <option value="mtx" selected="true">matrix market (for e.g. 10x data)</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
233 <option value="tab">tab-delimited text</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
234 </param>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
235 <when value="mtx">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
236 <param name="matrix" type="data" format="mtx" label="Counts matrix with features as rows, cells as columns (.mtx)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
237 <param name="citeseq_boolean" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Matrix includes citeseq data"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
238 <param name="gene_names" type="data" format="tsv,tabular" label="List of gene names (for rows)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
239 <param name="cell_barcodes" type="data" format="tsv,tabular" label="List of cell barcodes (for columns)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
240 <param name="gene_column" type="integer" value="2" label="Column of gene table to use as gene names" help="(gene.column)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
241 <param name="cell_column" type="integer" value="1" label="Column of cell table to use as cell names" help="(cell.column)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
242 <param name="unique_features" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="true" label="Make feature names unique" help="(unique.features)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
243 <param name="strip_suffix" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Remove trailing -1 if present in all cell barcodes" help="(strip.suffix)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
244 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
245 <when value="tab">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
246 <param name="input_tab" type="data" format="tsv,tabular" label="Expression table with features as rows, cells as columns" help="(file)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
247 <conditional name="citeseq">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
248 <param name="citeseq" type="select" label="Add citeseq assay">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
249 <option value="false" selected="true">No</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
250 <option value="true">Yes</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
251 </param>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
252 <when value="false"></when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
253 <when value="true">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
254 <param name="citeseq_table" type="data" format ="tsv,tabular" label="CITE-Seq data to add"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
255 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
256 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
257 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
258 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
259 <param name="meta_data" type="data" format="tsv,tabular" optional="true" label="Additional cell metadata to add" help="table with cell names in first column (meta.data)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
260 <param argument="assay" type="text" value="RNA" label="Name of assay to create">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
261 <expand macro="valid_name"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
262 </param>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
263 <param name="min_cells" type="integer" optional="true" value="0" label="Include features detected in at least this many cells" help="(min.cells)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
264 <param name="min_features" type="integer" optional="true" value="0" label="Include cells where at least this many features are detected" help="(min.features)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
265 <param name="names_field" type="integer" optional="true" value="" label="Field of cell names to use as cell identity class" help="(names.field)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
266 <param name="names_delim" type="text" optional="true" value="" label="Delimiter for cell names" help="(names.delim)"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
267 <conditional name="percent_mt">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
268 <param name="percent_mt" type="select" label="Calculate percentage of mito genes in each cell">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
269 <option value="false" selected="true">No</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
270 <option value="true">Yes</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
271 </param>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
272 <when value="false">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
273 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
274 <when value="true">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
275 <param argument="pattern" type="text" value="^MT-" label="Pattern/regex to match in gene names" help="e.g. the default '^MT-' matches gene names starting with 'MT-' which are human mitochondrial genes"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
276 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
277 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
278 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
279 <when value="Add_QC_Metrics">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
280 <expand macro="input_rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
281 <conditional name="match">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
282 <param name="match" type="select" label="Calculate percentage of reads based on">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
283 <option value="pattern" selected="true">Pattern in gene names</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
284 <option value="list">List of features</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
285 </param>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
286 <when value="pattern">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
287 <param argument="pattern" type="text" value="^MT-" label="Pattern/regex to match in gene names" help="e.g. the default '^MT-' matches gene names starting with 'MT-' which are human mitochondrial genes"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
288 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
289 <when value="list">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
290 <param argument="features" type="data" format="txt,tabular" label="List of genes to match" help="text file with one feature on each line"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
291 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
292 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
293 <param name="col_name" type="text" value="percent.mt" label="Name to store the variable as">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
294 <expand macro="valid_name"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
295 </param>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
296 <expand macro="select_assay"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
297 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
298 <when value="FilterCells">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
299 <expand macro="input_rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
300 <param name="minimum_nFeature_RNA" type="integer" optional="true" value="" label="Minimum nFeature_RNA"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
301 <param name="maximum_nFeature_RNA" type="integer" optional="true" value="" label="Maximum nFeature_RNA"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
302 <param name="minimum_nCount_RNA" type="integer" optional="true" value="" label="Minimum nCount_RNA"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
303 <param name="maximum_nCount_RNA" type="integer" optional="true" value="" label="Maximum nCount_RNA"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
304 <param name="minimum_percent_mt" type="float" optional="true" value="" label="Minimum percent.mt"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
305 <param name="maximum_percent_mt" type="float" optional="true" value="" label="Maximum percent.mt"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
306 <conditional name="other">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
307 <param name="other" type="select" label="Filter by a different metric">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
308 <option value="false" selected="true">No</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
309 <option value="true">Yes</option>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
310 </param>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
311 <when value="false">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
312 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
313 <when value="true">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
314 <param name="other_variable" type="text" value="" label="Enter name of cell metric to filter" help="e.g. percent.ribo or other metrics calculated using 'Add QC Metrics'"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
315 <param name="minimum" type="float" optional="true" value="" label="Minimum"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
316 <param name="maximum" type="float" optional="true" value="" label="Maximum"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
317 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
318 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
319 </when>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
320 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
321 <expand macro="inputs_common_advanced"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
322 </inputs>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
323 <outputs>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
324 <expand macro="seurat_outputs"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
325 </outputs>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
326 <tests>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
327 <test expect_num_outputs="2">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
328 <!-- test1: CreateSeuratObject from matrix -->
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
329 <conditional name="method">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
330 <param name="method" value="CreateSeuratObject"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
331 <conditional name="input_type">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
332 <param name="input_type" value="mtx"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
333 <param name="matrix" location="https://zenodo.org/records/13732784/files/matrix.mtx"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
334 <param name="gene_names" location="https://zenodo.org/records/13732784/files/genes.tsv"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
335 <param name="cell_barcodes" location="https://zenodo.org/records/13732784/files/barcodes.tsv"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
336 <param name="gene_column" value="1"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
337 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
338 <conditional name="percent_mt">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
339 <param name="percent_mt" value="true"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
340 <param name="pattern" value="^Mt"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
341 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
342 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
343 <section name="advanced_common">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
344 <param name="show_log" value="true"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
345 </section>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
346 <output name="hidden_output">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
347 <assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
348 <has_text_matching expression="Read10X"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
349 <has_text_matching expression="CreateSeuratObject"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
350 </assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
351 </output>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
352 <output name="rds_out" location="https://zenodo.org/records/13732784/files/rawdata.rds" ftype="rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
353 </test>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
354 <test expect_num_outputs="2">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
355 <!-- test2: CreateSeuratObject from tabular -->
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
356 <conditional name="method">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
357 <param name="method" value="CreateSeuratObject"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
358 <conditional name="input_type">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
359 <param name="input_type" value="tab"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
360 <param name="input_tab" location="https://zenodo.org/records/13732784/files/counts.tsv"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
361 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
362 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
363 <section name="advanced_common">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
364 <param name="show_log" value="true"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
365 </section>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
366 <output name="hidden_output">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
367 <assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
368 <has_text_matching expression="read.table"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
369 <has_text_matching expression="CreateSeuratObject"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
370 </assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
371 </output>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
372 <output name="rds_out" location="https://zenodo.org/records/13732784/files/rawdata2.rds" ftype="rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
373 </test>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
374 <test expect_num_outputs="2">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
375 <!-- test3: CreateSeuratObject with CITE-Seq -->
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
376 <conditional name="method">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
377 <param name="method" value="CreateSeuratObject"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
378 <conditional name="input_type">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
379 <param name="input_type" value="tab"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
380 <param name="input_tab" location="https://zenodo.org/records/13732784/files/rna.tab"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
381 <conditional name="citeseq">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
382 <param name="citeseq" value="true"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
383 <param name="citeseq_table" location="https://zenodo.org/records/13732784/files/adt.tab"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
384 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
385 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
386 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
387 <param name="min_features" value=""/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
388 <section name="advanced_common">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
389 <param name="show_log" value="true"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
390 </section>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
391 <output name="hidden_output">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
392 <assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
393 <has_text_matching expression="read.table"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
394 <has_text_matching expression="CreateSeuratObject"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
395 </assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
396 </output>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
397 <output name="rds_out" location="https://zenodo.org/records/13732784/files/citeseq.rds" ftype="rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
398 </test>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
399 <test expect_num_outputs="2">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
400 <!-- test4: Add_QC_Metrics -->
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
401 <param name="seurat_rds" location="https://zenodo.org/records/13732784/files/rawdata.rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
402 <conditional name="method">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
403 <param name="method" value="Add_QC_Metrics"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
404 <conditional name="match">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
405 <param name="match" value="pattern"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
406 <param name="pattern" value="^Rp"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
407 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
408 <param name="col_name" value="percent.ribo"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
409 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
410 <section name="advanced_common">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
411 <param name="show_log" value="true"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
412 </section>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
413 <output name="hidden_output">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
414 <assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
415 <has_text_matching expression="PercentageFeatureSet"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
416 <has_text_matching expression="percent.ribo"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
417 </assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
418 </output>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
419 <output name="rds_out" location="https://zenodo.org/records/13732784/files/ribodata.rds" ftype="rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
420 </test>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
421 <test expect_num_outputs="2">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
422 <!-- test5: FilterCells -->
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
423 <param name="seurat_rds" location="https://zenodo.org/records/13732784/files/ribodata.rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
424 <conditional name="method">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
425 <param name="method" value="FilterCells"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
426 <param name="minimum_nCount_RNA" value="1"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
427 <param name="maximum_nCount_RNA" value="20000000"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
428 <conditional name="other">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
429 <param name="other" value="true"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
430 <param name="other_variable" value="percent.mt"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
431 <param name="maximum" value="2"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
432 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
433 </conditional>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
434 <section name="advanced_common">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
435 <param name="show_log" value="true"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
436 </section>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
437 <output name="hidden_output">
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
438 <assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
439 <has_text_matching expression="subset"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
440 </assert_contents>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
441 </output>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
442 <output name="rds_out" location="https://zenodo.org/records/13732784/files/filtered.rds" ftype="rds"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
443 </test>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
444 </tests>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
445 <help><![CDATA[
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
446 Seurat
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
447 ======
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
448
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
449 Seurat is an R package designed for QC, analysis, and exploration of single-cell RNA-seq data.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
450
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
451 Seurat aims to enable users to identify and interpret sources of heterogeneity from single-cell transcriptomic measurements, and to integrate diverse types of single-cell data.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
452
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
453 Creating a Seurat Object
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
454 ========================
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
455
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
456 Seurat objects can be created from single cell data in matrix market or tab-delimited table formats, using the Read10X or read.table functions followed by CreateSeuratObject.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
457 The input should be a single cell matrix with cells as rows and genes as columns.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
458
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
459 Both RNA-seq and combined RNA and CITE-seq data can be used as inputs.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
460
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
461 Read10X
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
462 ========
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
463
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
464 Load sparse data matrices provided by 10X genomics.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
465
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
466 More details on the `seurat documentation
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
467 <https://satijalab.org/seurat/reference/read10x>`__
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
468
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
469 read.table
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
470 ==========
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
471
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
472 Read a tab-delimited tsv or tabular file into an RDS file as a table.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
473
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
474 More details on the `R documentation
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
475 <https://www.rdocumentation.org/packages/utils/versions/3.6.2/topics/read.table>`__
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
476
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
477 CreateSeuratObject
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
478 ==================
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
479
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
480 Create a Seurat Object from raw data in RDS format.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
481
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
482 names.field
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
483
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
484 For the initial identity class for each cell, choose this field from the cell's name.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
485 E.g. If your cells are named as BARCODE_CLUSTER_CELLTYPE in the input matrix, set names.field to 3 to set the initial identities to CELLTYPE.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
486
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
487 names.delim
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
488
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
489 For the initial identity class for each cell, choose this delimiter from the cell's column name.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
490 E.g. If your cells are named as BARCODE-CLUSTER-CELLTYPE, set this to “-” to separate the cell name into its component parts for picking the relevant field.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
491
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
492 meta.data
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
493
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
494 Additional cell-level metadata to add to the Seurat object. Should be a data.frame where the rows are cell names and the columns are additional metadata fields.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
495 Row names in the metadata need to match the column names of the counts matrix.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
496
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
497 Filtering can also be performed on:
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
498
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
499 min.cells = only include features/genes detected in at least this many cells
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
500
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
501 min.features = only include cells where at least this many features are detected
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
502
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
503 Some QC metrics are added when creating a Seurat Object (nCount_RNA and nFeature_RNA).
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
504 Mito percentage can optionally be calculated - it will be based on gene names starting with "MT-". If this pattern does not work for your gene names then you can use the separate 'Calculate QC Metrics' function instead.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
505
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
506 More details on the `seurat documentation
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
507 <https://satijalab.github.io/seurat-object/reference/CreateSeuratObject.html>`__
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
508
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
509 Calculate QC Metrics
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
510 ====================
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
511
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
512 Calculate the percentage of all the counts belonging to a subset of the possible features for each cell. This is useful when trying to compute the percentage of transcripts that map to mitochondrial genes for example.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
513 The calculation here is simply the column sum of the matrix present in the counts slot for features belonging to the set divided by the column sum for all features times 100.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
514
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
515 Feature sets can be defined by entering a list of genes or using a shared pattern in the gene names, such as "^MT-" or "^RP[LS]" for human mitochondrial or ribosomal genes.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
516
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
517 More details on the `seurat documentation
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
518 <https://satijalab.org/seurat/reference/percentagefeatureset>`__
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
519
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
520 Filter Cells
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
521 ============
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
522
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
523 Filter cells based on QC metrics.
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
524
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
525 nFeature_RNA = number of unique genes identified in the cell
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
526
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
527 ncounts_RNA = total number of RNAs found in the cell
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
528
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
529 percent.mt = percentage of mitochondrial genes in the cell
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
530
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
531 More details on the `R documentation
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
532 <https://rdrr.io/r/base/subset.html>`__
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
533
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
534
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
535 ]]></help>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
536 <expand macro="citations"/>
d0c26c9430f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seurat_v5 commit a9214c07b0cc929a51fd92a369bb89c675b6c88d
iuc
parents:
diff changeset
537 </tool>