Mercurial > repos > ebi-gxa > seurat_select_integration_features
annotate seurat_macros.xml @ 0:699c0ca328f2 draft default tip
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
author | ebi-gxa |
---|---|
date | Sat, 02 Mar 2024 10:40:57 +0000 |
parents | |
children |
rev | line source |
---|---|
0
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
2 <macros> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
3 <token name="@VERSION@">4.0.0</token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
4 <token name="@SEURAT_VERSION@">4.0.4</token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
5 <xml name="requirements"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
6 <requirements> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
7 <requirement type="package" version="@VERSION@">seurat-scripts</requirement> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
8 </requirements> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
9 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
10 <xml name="version"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
11 <version_command><![CDATA[ |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
12 echo $(R --version | grep version | grep -v GNU)", seurat version" $(R --vanilla --slave -e "library(seurat); cat(sessionInfo()\$otherPkgs\$seurat\$Version)" 2> /dev/null | grep -v -i "WARNING: ") |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
13 ]]></version_command> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
14 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
15 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
16 <xml name="input_object_params" token_multiple="False" token_varname="input" token_optional="False"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
17 <conditional name="@VARNAME@" label="Input format"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
18 <param type="select" name="format" label="Choose the format of the @VARNAME@" help="Seurat RDS, Seurat H5, Single Cell Experiment RDS, Loom or AnnData"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
19 <option value="rds_seurat" selected="true">RDS with a Seurat object</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
20 <option value="loom">Loom</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
21 <option value="h5seurat">Seurat HDF5</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
22 <option value="anndata">AnnData</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
23 <option value="rds_sce">RDS with a Single Cell Experiment object</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
24 </param> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
25 <when value="anndata"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
26 <param type="data" name="anndata_file" multiple="@MULTIPLE@" optional="@OPTIONAL@" label="AnnData file" help="Select AnnData files for @VARNAME@" format="h5,h5ad"/> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
27 </when> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
28 <when value="loom"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
29 <param type="data" name="loom_file" multiple="@MULTIPLE@" optional="@OPTIONAL@" label="Loom file" help="Select Loom file(s) for @VARNAME@" format="h5,h5loom"/> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
30 </when> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
31 <when value="rds_seurat"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
32 <param type="data" name="rds_seurat_file" multiple="@MULTIPLE@" optional="@OPTIONAL@" label="RDS file" help="Select RDS file(s) with Seurat object for @VARNAME@" format="rdata"/> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
33 </when> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
34 <when value="rds_sce"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
35 <param type="data" name="rds_sce_file" multiple="@MULTIPLE@" optional="@OPTIONAL@" label="RDS file" help="Select RDS file(s) with Single Cell Experiment object for @VARNAME@" format="rdata"/> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
36 </when> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
37 <when value="h5seurat"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
38 <param type="data" name="h5seurat_file" multiple="@MULTIPLE@" optional="@OPTIONAL@" label="Seurat HDF5" help="Select Seurat HDF5 file(s) for @VARNAME" format="h5"/> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
39 </when> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
40 </conditional> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
41 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
42 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
43 <token name="@INPUT_OBJ_PREAMBLE@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
44 #if $input.format == 'loom' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
45 ln -s '$input.loom_file' input.loom; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
46 #else if $input.format == 'h5seurat' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
47 ln -s '$input.h5seurat_file' input.h5seurat; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
48 #else if $input.format == 'anndata' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
49 ## it complains when using links for AnnData... |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
50 cp '$input.anndata_file' input.h5ad; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
51 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
52 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
53 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
54 <token name="@INPUT_OBJECT@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
55 #if $input.format == "anndata" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
56 --input-object-file input.h5ad --input-format anndata |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
57 #else if $input.format == "loom" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
58 --input-object-file input.loom --input-format loom |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
59 #else if $input.format == "rds_seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
60 --input-object-file '$input.rds_seurat_file' --input-format seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
61 #else if $input.format == "rds_sce" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
62 --input-object-file '$input.rds_sce_file' --input-format singlecellexperiment |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
63 #else if $input.format == "h5seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
64 --input-object-file input.h5seurat --input-format h5seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
65 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
66 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
67 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
68 <token name="@QUERY_OBJ_PREAMBLE@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
69 #if $query.format == 'loom' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
70 ln -s '$query.loom_file' query.loom; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
71 #else if $query.format == 'h5seurat' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
72 ln -s '$query.h5seurat_file' query.h5seurat; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
73 #else if $query.format == 'anndata' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
74 ## it complains when using links for AnnData... |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
75 cp '$query.anndata_file' query.h5ad; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
76 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
77 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
78 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
79 <token name="@QUERY_OBJECT@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
80 #if $query.format == "anndata" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
81 --query-object-file query.h5ad --query-format anndata |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
82 #else if $query.format == "loom" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
83 --query-object-file query.loom --query-format loom |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
84 #else if $query.format == "rds_seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
85 --query-object-file '$query.rds_seurat_file' --query-format seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
86 #else if $query.format == "rds_sce" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
87 --query-object-file '$query.rds_sce_file' --query-format singlecellexperiment |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
88 #else if $query.format == "h5seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
89 --query-object-file query.h5seurat --query-format h5seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
90 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
91 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
92 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
93 <token name="@ANCHORS_OBJ_PREAMBLE@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
94 #if $anchors.format == 'loom' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
95 ln -s '$anchors.loom_file' anchors.loom; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
96 #else if $anchors.format == 'h5seurat' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
97 ln -s '$anchors.h5seurat_file' anchors.h5seurat; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
98 #else if $anchors.format == 'anndata' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
99 ## it complains when using links for AnnData... |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
100 cp '$anchors.anndata_file' anchors.h5ad; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
101 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
102 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
103 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
104 <token name="@ANCHORS_OBJECT@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
105 #if $anchors.format == "anndata" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
106 --anchors-object-file anchors.h5ad --anchors-format anndata |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
107 #else if $anchors.format == "loom" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
108 --anchors-object-file anchors.loom --anchors-format loom |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
109 #else if $anchors.format == "rds_seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
110 --anchors-object-file '$anchors.rds_seurat_file' --anchors-format seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
111 #else if $anchors.format == "rds_sce" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
112 --anchors-object-file '$anchors.rds_sce_file' --anchors-format singlecellexperiment |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
113 #else if $anchors.format == "h5seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
114 --anchors-object-file anchors.h5seurat --anchors-format h5seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
115 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
116 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
117 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
118 <token name="@REFERENCE_OBJ_PREAMBLE@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
119 #if $reference.format == 'loom' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
120 ln -s '$reference.loom_file' reference.loom; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
121 #else if $reference.format == 'h5seurat' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
122 ln -s '$reference.h5seurat_file' reference.h5seurat; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
123 #else if $reference.format == 'anndata' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
124 ## it complains when using links for AnnData... |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
125 cp '$reference.anndata_file' reference.h5ad; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
126 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
127 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
128 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
129 <token name="@REFERENCE_OBJECT@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
130 #if $reference.format == "anndata" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
131 --reference-object-file reference.h5ad --reference-format anndata |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
132 #else if $reference.format == "loom" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
133 --reference-object-file reference.loom --reference-format loom |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
134 #else if $reference.format == "rds_seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
135 --reference-object-file '$reference.rds_seurat_file' --reference-format seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
136 #else if $reference.format == "rds_sce" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
137 --reference-object-file '$reference.rds_sce_file' --reference-format singlecellexperiment |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
138 #else if $reference.format == "h5seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
139 --reference-object-file reference.h5seurat --reference-format h5seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
140 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
141 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
142 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
143 <token name="@INPUT_OBJS_PREAMBLE@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
144 #if $input.format == 'loom' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
145 #for $i, $fh in enumerate($input.loom_file): |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
146 ln -s '$fh' input.${i}.loom; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
147 #end for |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
148 #else if $input.format == 'h5seurat' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
149 #for $i, $fh in enumerate($input.h5seurat_file): |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
150 ln -s '$fh' input.${i}.h5seurat; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
151 #end for |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
152 #else if $input.format == 'anndata' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
153 ## it complains when using links for AnnData... |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
154 #for $i, $fh in enumerate($input.anndata_file): |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
155 cp '$fh' input.${i}.h5ad; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
156 #end for |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
157 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
158 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
159 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
160 <token name="@INPUT_OBJECTS@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
161 #if $input.format == "anndata" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
162 --input-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
163 #set file_array = [ "input."+str($i)+".h5ad" for $i, $fh in enumerate($input.anndata_file)] |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
164 #set files = ",".join($file_array) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
165 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
166 --input-format anndata |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
167 #else if $input.format == "loom" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
168 --input-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
169 #set file_array = [ "input."+str($i)+".loom" for $i, $fh in enumerate($input.loom_file)] |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
170 #set files = ",".join($file_array) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
171 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
172 --input-format loom |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
173 #else if $input.format == "rds_seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
174 --input-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
175 #set file_array = $input.rds_seurat_file |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
176 #set files = ",".join([ str($fh) for $fh in $file_array ]) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
177 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
178 --input-format seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
179 #else if $input.format == "rds_sce" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
180 --input-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
181 #set file_array = $input.rds_sce_file |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
182 #set files = ",".join([ str($fh) for $fh in $file_array ]) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
183 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
184 --input-format singlecellexperiment |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
185 #else if $input.format == "h5seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
186 --input-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
187 #set file_array = [ "input."+str($i)+".h5seurat" for $i, $fh in enumerate($input.h5seurat)] |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
188 #set files = ",".join($file_array) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
189 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
190 --input-format h5seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
191 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
192 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
193 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
194 <token name="@REFERENCE_OBJS_PREAMBLE@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
195 #if $reference.format == 'loom' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
196 #for $i, $fh in enumerate($reference.loom_file): |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
197 ln -s '$fh' reference.${i}.loom; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
198 #end for |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
199 #else if $reference.format == 'h5seurat' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
200 #for $i, $fh in enumerate($reference.h5seurat_file): |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
201 ln -s '$fh' reference.${i}.h5seurat; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
202 #end for |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
203 #else if $reference.format == 'anndata' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
204 ## it complains when using links for AnnData... |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
205 #for $i, $fh in enumerate($reference.anndata_file): |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
206 cp '$fh' reference.${i}.h5ad; |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
207 #end for |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
208 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
209 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
210 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
211 <token name="@REFERENCE_OBJECTS@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
212 #if $reference.format == "anndata" and $reference.anndata_file: |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
213 --reference-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
214 #set file_array = [ "reference."+str($i)+".h5ad" for $i, $fh in enumerate($reference.anndata_file)] |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
215 #set files = ",".join($file_array) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
216 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
217 --reference-format anndata |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
218 #else if $reference.format == "loom" and $reference.loom_file: |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
219 --reference-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
220 #set file_array = [ "reference."+str($i)+".loom" for $i, $fh in enumerate($reference.loom_file)] |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
221 #set files = ",".join($file_array) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
222 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
223 --reference-format loom |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
224 #else if $reference.format == "rds_seurat" and $reference.rds_seurat_file: |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
225 --reference-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
226 #set files = ",".join([ str($fh) for $fh in $reference.rds_seurat_file ]) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
227 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
228 --reference-format seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
229 #else if $reference.format == "rds_sce" and $reference.rds_sce_file: |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
230 --reference-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
231 #set files = ",".join([ str($fh) for $fh in $reference.rds_sce_file ]) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
232 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
233 --reference-format singlecellexperiment |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
234 #else if $reference.format == "h5seurat" and $reference.h5seurat: |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
235 --reference-object-files |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
236 #set file_array = [ "reference."+str($i)+".h5seurat" for $i, $fh in enumerate($reference.h5seurat)] |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
237 #set files = ",".join($file_array) |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
238 ${files} |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
239 --reference-format h5seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
240 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
241 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
242 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
243 <xml name="output_object_params"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
244 <param type="select" name="format" label="Choose the format of the output" help="Seurat, Single Cell Experiment, AnnData or Loom"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
245 <option value="rds_seurat" selected="true">RDS with a Seurat object</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
246 <option value="anndata">AnnData written by Seurat</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
247 <option value="loom">Loom</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
248 <option value="rds_sce">RDS with a Single Cell Experiment object</option> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
249 </param> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
250 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
251 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
252 <xml name="output_files"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
253 <data name="loom_file" from_work_dir="seurat_obj.loom" format="h5" label="${tool.name} on ${on_string}: Seurat Loom"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
254 <filter>format == 'loom'</filter> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
255 </data> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
256 <data name="rds_seurat_file" format="rdata" label="${tool.name} on ${on_string}: Seurat RDS"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
257 <filter>format == 'rds_seurat'</filter> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
258 </data> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
259 <data name="anndata_file" format="h5ad" label="${tool.name} on ${on_string}: AnnData from Seurat"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
260 <filter>format == 'anndata'</filter> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
261 </data> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
262 <data name="rds_sce_file" format="rdata" label="${tool.name} on ${on_string}: Seurat Single Cell Experiment RDS"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
263 <filter>format == 'rds_sce'</filter> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
264 </data> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
265 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
266 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
267 <token name="@OUTPUT_OBJECT@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
268 #if $format == "anndata" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
269 --output-object-file '$anndata_file' --output-format anndata |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
270 #else if $format == "loom" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
271 --output-object-file seurat_obj.loom --output-format loom |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
272 #else if $format == "rds_seurat" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
273 --output-object-file '$rds_seurat_file' --output-format seurat |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
274 #else if $format == "rds_sce" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
275 --output-object-file '$rds_sce_file' --output-format singlecellexperiment |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
276 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
277 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
278 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
279 <xml name="plot_output_files_format" token_format="png"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
280 <data label="Seurat ${plot_type.plot_type_selector} on ${on_string}: @FORMAT@ plot" name="plot_out_@FORMAT@" format='@FORMAT@' > |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
281 <filter>plot_format == '@FORMAT@'</filter> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
282 </data> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
283 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
284 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
285 <token name="@OUTPUT_PLOT@"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
286 #if $plot_format == "png" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
287 --plot-out '$plot_out_png' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
288 #else if $plot_format == "pdf" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
289 --plot-out '$plot_out_pdf' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
290 #else if $plot_format == "eps" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
291 --plot-out '$plot_out_eps' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
292 #else if $plot_format == "ps" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
293 --plot-out '$plot_out_ps' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
294 #else if $plot_format == "jpg" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
295 --plot-out '$plot_out_jpg' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
296 #else if $plot_format == "tiff" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
297 --plot-out '$plot_out_tiff' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
298 #else if $plot_format == "svg" |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
299 --plot-out '$plot_out_svg' |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
300 #end if |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
301 </token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
302 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
303 <xml name="genes-use-input"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
304 <param name="genes_use" argument="--genes-use" optional="true" type="data" format="tsv,txt,tabular" label="Genes to use" help="A file with gene names to use in construction of SNN graph if building directly based on expression data rather than a dimensionally reduced representation (i.e. PCs)."/> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
305 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
306 <xml name="dims-use-input"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
307 <param name="dims_use" argument="--dims-use" min="1" optional="true" type="integer" label="PCA Dimensions to use" help="Number of PCs (dimensions) to use in construction of the SNN graph."/> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
308 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
309 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
310 <token name="@SEURAT_INTRO@"><![CDATA[ |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
311 Seurat_ is a toolkit for quality control, analysis, and exploration of single cell RNA sequencing data. |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
312 It is developed and maintained by the `Satija Lab`_ at NYGC. Seurat aims to enable users to identify and |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
313 interpret sources of heterogeneity from single cell transcriptomic measurements, and to integrate diverse |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
314 types of single cell data. |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
315 ]]></token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
316 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
317 <token name="@VERSION_HISTORY@"><![CDATA[ |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
318 **Version history** |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
319 4.0.0: Moves to Seurat 4.0.0, introducing a number of methods for merging datasets, plus the whole suite of Seurat plots. Pablo Moreno with funding from AstraZeneca. |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
320 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
321 3.2.3+galaxy0: Moves to Seurat 3.2.3 and introduce convert method, improving format interconversion support. |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
322 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
323 3.1.2_0.0.8: Update metadata parsing |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
324 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
325 3.1.1_0.0.7: Exposes perplexity and enables tab input. |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
326 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
327 3.1.1_0.0.6+galaxy0: Moved to Seurat 3. |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
328 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
329 Find clusters: removed dims-use, k-param, prune-snn. |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
330 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
331 2.3.1+galaxy0: Improved documentation and further exposition of all script's options. Pablo Moreno, Jonathan Manning and Ni Huang, Expression Atlas team https://www.ebi.ac.uk/gxa/home at |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
332 EMBL-EBI https://www.ebi.ac.uk/. Parts obtained from wrappers from Christophe Antoniewski (GitHub drosofff) and Lea Bellenger (GitHub bellenger-l). |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
333 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
334 0.0.1: Initial contribution. Maria Doyle (GitHub mblue9). |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
335 ]]></token> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
336 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
337 |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
338 <xml name="citations"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
339 <citations> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
340 <citation type="doi">10.1038/s41592-021-01102-w</citation> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
341 <citation type="doi">10.1038/nbt.4096</citation> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
342 <citation type="bibtex"> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
343 @misc{r-seurat-scripts.git, |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
344 author = {Jonathan Manning, Pablo Moreno, EBI Gene Expression Team}, |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
345 year = {2018}, |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
346 title = {Seurat-scripts: command line interface for Seurat}, |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
347 publisher = {GitHub}, |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
348 journal = {GitHub repository}, |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
349 url = {https://github.com/ebi-gene-expression-group/r-seurat-scripts.git}, |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
350 } |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
351 </citation> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
352 </citations> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
353 </xml> |
699c0ca328f2
planemo upload commit 0264c359f1d638bbbbab515a3502231f679cdcf6
ebi-gxa
parents:
diff
changeset
|
354 </macros> |