annotate sceasy.xml @ 2:5c9b16bdbd5e draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 6e295b63bad6f50cc9e0cff7e99589d52355190a
author iuc
date Tue, 05 Nov 2024 13:08:27 +0000
parents 2062be7efc84
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
1 <tool id="sceasy_convert" name="SCEasy Converter" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
2 <description>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
3 Convert between common single cell formats
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
4 </description>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
5 <macros>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
6 <token name="@TOOL_VERSION@">0.0.7</token>
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
7 <token name="@VERSION_SUFFIX@">2</token>
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
8 <macro name="mac_input_form" token_format="@FORMAT@" >
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
9 <param name="input_object_file" type="data" format="@FORMAT@" label="Input object in @FORMAT@ format"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
10 </macro>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
11 </macros>
2
5c9b16bdbd5e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 6e295b63bad6f50cc9e0cff7e99589d52355190a
iuc
parents: 1
diff changeset
12 <xrefs>
5c9b16bdbd5e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 6e295b63bad6f50cc9e0cff7e99589d52355190a
iuc
parents: 1
diff changeset
13 <xref type="bio.tools">sceasy</xref>
5c9b16bdbd5e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 6e295b63bad6f50cc9e0cff7e99589d52355190a
iuc
parents: 1
diff changeset
14 </xrefs>
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
15 <requirements>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
16 <requirement type="package" version="0.0.7">r-sceasy</requirement>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
17 <requirement type="package" version="3.0.6" >loompy</requirement>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
18 <requirement type="package" version="0.10.0" >anndata</requirement>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
19 <requirement type="package" version="3.10" >python</requirement>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
20 <requirement type="package" version="0.7.5.4" >r-anndata</requirement>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
21 <requirement type="package" version="1.32.0" >r-reticulate</requirement>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
22 </requirements>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
23 <command detect_errors="exit_code">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
24 Rscript '$script_file'
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
25 </command>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
26 <configfiles>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
27 <configfile name="script_file"><![CDATA[
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
28 direction='$conversion.direction'
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
29 tokens = unlist(strsplit(direction, split="2"))
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
30 format.from = tokens[1]
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
31 format.to = tokens[2]
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
32
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
33 library(sceasy)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
34 library(reticulate)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
35
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
36 ## HACK: CI biocontainers do not contain a useable conda binary, just the env.
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
37 ## see: https://github.com/galaxyproject/tools-iuc/issues/5585#issuecomment-1803773923
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
38 is_biocontainer = grepl("^# cmd: /opt/conda/bin/",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
39 paste0(reticulate:::python_info_condaenv_find("/usr/local/"),
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
40 "-none"))
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
41 if (is_biocontainer) {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
42 ## conda detection false positive
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
43 assignInNamespace("is_conda_python", function(x) FALSE, ns="reticulate")
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
44 use_python("/usr/local/bin/python")
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
45 } else {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
46 conda_path = Sys.getenv("CONDA_PREFIX")
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
47 if (conda_path != "") {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
48 ## Active conda env found
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
49 use_python(file.path(conda_path, "bin", "python3"))
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
50 } else {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
51 ## Not biocontainer or conda, assume system python
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
52 use_python("/usr/bin/python3")
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
53 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
54 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
55 loompy = reticulate::import('loompy')
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
56 infile = '$input_object_file'
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
57
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
58 outfile_ext_map=list(
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
59 "anndata" = "h5ad",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
60 "seurat" = "rds",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
61 "sce" = "rds",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
62 "cds" = "rds",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
63 "loom" = "loom") ## this has to be a .loom ending for the export to work.
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
64
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
65 outfile = paste0("outfile.", outfile_ext_map[format.to])
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
66
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
67
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
68 ## IDIOSYNCRACIES:
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
69 ## Some input formats need be loaded first and then converted,
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
70 ## and other formats need to be specified as filenames only,
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
71 ## and even then as formats with specific extensions,
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
72 ## and some formats need to be objects, or stripped down objects,
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
73 ## and probably more issues will be discovered in time.
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
74
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
75 do_infile_as_first_arg = as.logical(direction == "loom2sce")
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
76 do_filename_as_first_arg = as.logical(direction %in% c("anndata2cds", "anndata2seurat", "loom2anndata"))
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
77 do_dietseurat_in_first_arg = as.logical(direction == "seurat2sce")
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
78
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
79 if (do_infile_as_first_arg) {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
80 if (format.from == "loom") {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
81 ## LoomExperiment::import only correctly imports when ext is set
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
82 loom_file = tempfile(tmpdir="/tmp", fileext=".loom")
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
83 file.copy(from=infile, to=loom_file) ## rename doesn't work in containers
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
84 infile = loom_file
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
85 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
86 convertFormat(inFile = infile, from = format.from, to = format.to, outFile = outfile)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
87 } else if (do_filename_as_first_arg) {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
88 convertFormat(infile, from = format.from, to = format.to, outFile = outfile)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
89 } else {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
90 ## We need to physically load the object (either Seurat or SCE, both which should be
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
91 ## of RDS input type)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
92 rds = readRDS(infile)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
93
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
94 if (do_dietseurat_in_first_arg){
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
95 library(Seurat)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
96 rds = DietSeurat(rds)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
97 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
98 convertFormat(rds, from = format.from, to = format.to, outFile = outfile)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
99 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
100
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
101 ]]></configfile>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
102 </configfiles>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
103 <inputs>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
104 <conditional name="conversion" >
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
105 <param name="direction" type="select" label="Convert From / To" >
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
106 <option value="anndata2cds" >AnnData to CellDataSet</option>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
107 <option value="anndata2seurat" >AnnData to Seurat</option>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
108 <option value="loom2anndata" >Loom to AnnData</option>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
109 <option value="loom2sce">Loom to SingleCellexperiment</option>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
110 <option value="sce2anndata" >SingleCellexperiment to AnnData</option>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
111 <option value="sce2loom" >SingleCellexperiment to Loom</option>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
112 <option value="seurat2anndata">Seurat to AnnData</option>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
113 <option value="seurat2sce" >Seurat to SingleCellexperiment</option>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
114 </param>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
115 <when value="anndata2cds" >
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
116 <expand macro="mac_input_form" format="h5ad,h5" />
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
117 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
118 <when value="anndata2seurat" >
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
119 <expand macro="mac_input_form" format="h5ad,h5" />
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
120 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
121 <when value="loom2anndata">
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
122 <expand macro="mac_input_form" format="h5,loom,rdata" />
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
123 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
124 <when value="loom2sce">
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
125 <expand macro="mac_input_form" format="h5,loom,rdata" />
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
126 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
127 <when value="sce2anndata">
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
128 <expand macro="mac_input_form" format="sce,rds,rdata.sce" />
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
129 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
130 <when value="sce2loom">
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
131 <expand macro="mac_input_form" format="sce,rds,rdata.sce" />
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
132 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
133 <when value="seurat2anndata">
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
134 <expand macro="mac_input_form" format="rds,rdata" />
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
135 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
136 <when value="seurat2sce">
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
137 <expand macro="mac_input_form" format="rds,rdata" />
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
138 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
139 </conditional>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
140 </inputs>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
141 <outputs>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
142 <data name="output_sce" format="rdata" from_work_dir="outfile.rds" label="${tool.name} on ${on_string}: SingleCellExperiment">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
143 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
144 conversion['direction'].endswith('sce')
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
145 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
146 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
147 <data name="output_cds" format="rdata" from_work_dir="outfile.rds" label="${tool.name} on ${on_string}: CellDataSet">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
148 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
149 conversion['direction'].endswith('cds')
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
150 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
151 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
152 <data name="output_loom" format="h5" from_work_dir="outfile.loom" label="${tool.name} on ${on_string}: Loom">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
153 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
154 conversion['direction'].endswith('loom')
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
155 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
156 </data>
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
157 <data name="output_anndata" format="h5ad" from_work_dir="outfile.h5ad" label="${tool.name} on ${on_string}: AnnData">
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
158 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
159 conversion['direction'].endswith('anndata')
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
160 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
161 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
162 <data name="output_seurat" format="rdata" from_work_dir="outfile.rds" label="${tool.name} on ${on_string}: Seurat">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
163 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
164 conversion['direction'].endswith('seurat')
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
165 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
166 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
167 </outputs>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
168 <tests>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
169 <test expect_num_outputs="1">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
170 <param name="direction" value="anndata2cds"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
171 <param name="input_object_file" value="test_anndata.h5ad"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
172 <output name="output_cds" file="ad2cds.rds" ftype="rdata" compare="sim_size"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
173 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
174 <test expect_num_outputs="1">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
175 <param name="direction" value="anndata2seurat"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
176 <param name="input_object_file" value="test_anndata.h5ad"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
177 <output name="output_seurat" file="ad2seurat.rds" ftype="rdata" compare="sim_size"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
178 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
179 <test expect_num_outputs="1">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
180 <param name="direction" value="loom2anndata"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
181 <param name="input_object_file" value="sce2loom.rds"/>
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
182 <output name="output_anndata" file="loom2anndata.h5ad" ftype="h5ad" compare="sim_size"/>
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
183 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
184 <test expect_num_outputs="1">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
185 <param name="direction" value="loom2sce"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
186 <param name="input_object_file" value="sce2loom.rds"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
187 <output name="output_sce" file="loom2sce.rds" ftype="rdata" compare="sim_size"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
188 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
189 <test expect_num_outputs="1">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
190 <param name="direction" value="sce2anndata"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
191 <param name="input_object_file" value="test_sce.rds"/>
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
192 <output name="output_anndata" file="sce2anndata.h5ad" ftype="h5ad" compare="sim_size"/>
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
193 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
194 <test expect_num_outputs="1">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
195 <param name="direction" value="sce2loom"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
196 <param name="input_object_file" value="test_sce.rds"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
197 <output name="output_loom" file="sce2loom.rds" ftype="h5" compare="sim_size"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
198 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
199 <test expect_num_outputs="1">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
200 <param name="direction" value="seurat2anndata"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
201 <param name="input_object_file" value="test_seurat.rds"/>
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
202 <output name="output_anndata" file="test_anndata.h5ad" ftype="h5ad" compare="sim_size"/>
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
203 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
204 <test expect_num_outputs="1">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
205 <param name="direction" value="seurat2sce"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
206 <param name="input_object_file" value="test_seurat.rds"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
207 <output name="output_sce" file="test_sce.rds" ftype="rdata" compare="sim_size"/>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
208 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
209 </tests>
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
210 <help><![CDATA[
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
211 SCeasy
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
212 ======
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
213
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
214 Convert scRNA data object between formats `sceasy::convertFormat()`
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
215
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
216 Supports the following conversion:
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
217
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
218 .. image:: $PATH_TO_IMAGES/conv.png
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
219 :width: 80 %
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
220 :align: center
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
221
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
222
1
2062be7efc84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit 49fa5e842137b98ceb314ab1471411785a352bd3
iuc
parents: 0
diff changeset
223 ]]></help>
0
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
224 <citations>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
225 <citation type="doi"> doi:10.1093/nargab/lqaa052</citation>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
226 </citations>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
227 </tool>