annotate sceasy.xml @ 0:d70139524747 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
author iuc
date Fri, 10 Nov 2023 20:24:21 +0000
parents
children 2062be7efc84
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>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
7 <token name="@VERSION_SUFFIX@">1</token>
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>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
12 <requirements>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
13 <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
14 <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
15 <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
16 <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
17 <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
18 <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
19 </requirements>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
20 <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
21 Rscript '$script_file'
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
22 </command>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
23 <configfiles>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
24 <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
25 direction='$conversion.direction'
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
26 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
27 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
28 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
29
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
30 library(sceasy)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
31 library(reticulate)
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 ## 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
34 ## 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
35 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
36 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
37 "-none"))
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
38 if (is_biocontainer) {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
39 ## 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
40 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
41 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
42 } else {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
43 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
44 if (conda_path != "") {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
45 ## 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
46 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
47 } else {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
48 ## 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
49 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
50 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
51 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
52 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
53 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
54
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
55 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
56 "anndata" = "h5ad",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
57 "seurat" = "rds",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
58 "sce" = "rds",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
59 "cds" = "rds",
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
60 "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
61
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
62 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
63
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 ## IDIOSYNCRACIES:
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
66 ## 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
67 ## 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
68 ## 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
69 ## 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
70 ## 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
71
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
72 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
73 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
74 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
75
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
76 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
77 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
78 ## 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
79 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
80 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
81 infile = loom_file
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
82 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
83 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
84 } 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
85 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
86 } else {
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
87 ## 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
88 ## 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
89 rds = readRDS(infile)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
90
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
91 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
92 library(Seurat)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
93 rds = DietSeurat(rds)
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
94 }
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
95 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
96 }
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 ]]></configfile>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
99 </configfiles>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
100 <inputs>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
101 <conditional name="conversion" >
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
102 <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
103 <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
104 <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
105 <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
106 <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
107 <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
108 <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
109 <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
110 <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
111 </param>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
112 <when value="anndata2cds" >
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
113 <expand macro="mac_input_form" token_format="h5ad" />
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
114 </when>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
115 <when value="anndata2seurat" >
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
116 <expand macro="mac_input_form" token_format="h5ad" />
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="loom2anndata">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
119 <expand macro="mac_input_form" token_format="h5" />
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="loom2sce">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
122 <expand macro="mac_input_form" token_format="h5" />
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="sce2anndata">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
125 <expand macro="mac_input_form" token_format="sce" />
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="sce2loom">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
128 <expand macro="mac_input_form" token_format="sce" />
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="seurat2anndata">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
131 <expand macro="mac_input_form" token_format="rds" />
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="seurat2sce">
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
134 <expand macro="mac_input_form" token_format="rds" />
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 </conditional>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
137 </inputs>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
138 <outputs>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
139 <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
140 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
141 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
142 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
143 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
144 <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
145 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
146 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
147 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
148 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
149 <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
150 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
151 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
152 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
153 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
154 <data name="output_anndata" format="h5" from_work_dir="outfile.h5ad" label="${tool.name} on ${on_string}: AnnData">
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 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
157 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
158 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
159 <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
160 <filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
161 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
162 </filter>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
163 </data>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
164 </outputs>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
165 <tests>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
166 <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
167 <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
168 <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
169 <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
170 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
171 <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
172 <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
173 <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
174 <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
175 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
176 <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
177 <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
178 <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
179 <output name="output_anndata" file="loom2anndata.h5ad" 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
180 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
181 <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
182 <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
183 <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
184 <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
185 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
186 <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
187 <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
188 <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
189 <output name="output_anndata" file="sce2anndata.h5ad" 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
190 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
191 <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
192 <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
193 <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
194 <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
195 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
196 <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
197 <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
198 <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
199 <output name="output_seurat" file="test_anndata.h5ad" 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
200 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
201 <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
202 <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
203 <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
204 <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
205 </test>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
206 </tests>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
207 <help>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
208 SCeasy
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
209 ======
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
210
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
211 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
212
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
213 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
214
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
215 .. 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
216 :width: 80 %
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
217 :align: center
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
218
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
219
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
220 </help>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
221 <citations>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
222 <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
223 </citations>
d70139524747 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sceasy/ commit e83761e8057df5ce516fc6681636435078c81534
iuc
parents:
diff changeset
224 </tool>