annotate sceasy_convert.xml @ 0:ef1449a3f358 draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
author ebi-gxa
date Sun, 20 Oct 2019 08:47:47 -0400
parents
children f62bc418173f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
2 <tool id="sceasy_convert" name="SCEasy convert" version="@TOOL_VERSION@+galaxy0">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
3 <description>a data object between formats</description>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
4 <macros>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
5 <import>sceasy_macros.xml</import>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
6 </macros>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
7 <expand macro="requirements"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
9 #if str($conversion['direction']).startswith("loom")
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
10 ln -s ${conversion.input_object_file} input.loom &&
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
11 #else if str($conversion['direction']).startswith("anndata")
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
12 ln -s ${conversion.input_object_file} input.h5ad &&
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
13 #else
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
14 ln -s ${conversion.input_object_file} input.rds &&
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
15 #end if
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
16
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
17 Rscript -e 'library(sceasy)'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
18 #if $conversion.direction == "loom2sce"
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
19 -e 'sce <- sceasy::convertFormat("input.loom", from="loom", to="sce", main_layer_name="${assay_name}")'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
20 -e 'saveRDS(sce, "output.rds")'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
21 -e 'print(sce)'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
22 #else if $conversion.direction == "sce2loom"
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
23 -e 'sce <- readRDS("input.rds")'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
24 -e 'sceasy::convertFormat(sce, outFile="output.loom", from="sce", to="loom", main_layer="${assay}")'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
25 #else if $conversion.direction == "sce2anndata"
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
26 -e 'sce <- readRDS("input.rds")'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
27 -e 'sceasy::convertFormat(sce, outFile="output.h5ad", from="sce", to="anndata", main_layer="${assay}")'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
28 -e 'print(sce)'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
29 #else if $conversion.direction == "seurat2anndata"
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
30 -e 'srt <- readRDS("input.rds")'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
31 -e 'sceasy::convertFormat(srt, outFile="output.h5ad", from="seurat", to="anndata", assay="${assay}", main_layer="${dtype}")'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
32 -e 'print(srt)'
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
33 #end if
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
34 ]]></command>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
35
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
36 <inputs>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
37 <conditional name="conversion">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
38 <param name="direction" type="select" label="Direction of conversion">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
39 <option value="loom2sce" selected="true">Loom to SingleCellExperiment</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
40 <option value="sce2loom">SingleCellExperiment to Loom</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
41 <option value="seurat2anndata">Seurat to AnnData</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
42 <option value="sce2anndata">SingleCellExperiment to AnnData</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
43 </param>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
44 <when value="loom2sce">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
45 <param name="input_object_file" type="data" format="h5" label="Input object in Loom format"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
46 <param name="assay_name" type="text" label="Name of the expression matrix to be transferred as">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
47 <option value="counts" selected="true">counts</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
48 <option value="logcounts">logcounts</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
49 <option value="cpm">cpm</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
50 </param>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
51 </when>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
52 <when value="sce2loom">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
53 <param name="input_object_file" type="data" format="rdata" label="Input object in SingleCellExperiment RDS format"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
54 <param name="assay" type="text" label="Name of the assay to be transferred as main layer" help="Please make sure the assay exists">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
55 <option value="counts" selected="true">counts</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
56 <option value="logcounts">logcounts</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
57 <option value="cpm">cpm</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
58 </param>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
59 </when>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
60 <when value="sce2anndata">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
61 <param name="input_object_file" type="data" format="rdata" label="Input object in SingleCellExperiment RDS format"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
62 <param name="assay" type="text" label="Name of the assay to be transferred as main layer" help="Please make sure the assay exists">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
63 <option value="counts" selected="true">counts</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
64 <option value="logcounts">logcounts</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
65 <option value="cpm">cpm</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
66 </param>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
67 </when>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
68 <when value="seurat2anndata">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
69 <param name="input_object_file" type="data" format="rdata" label="Input object in Seurat RDS format"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
70 <param name="assay" type="text" value="RNA" label="Name of the assay to be transferred" help="Please make sure the assay exists"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
71 <param name="dtype" type="select" value="RNA" label="Data type of the assay to be transferred" help="Please make sure the data type exists">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
72 <option value="data" selected="true">data</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
73 <option value="counts">counts</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
74 <option value="scale.data">scale.data</option>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
75 </param>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
76 </when>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
77 </conditional>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
78 </inputs>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
79
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
80 <outputs>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
81 <data name="output_sce" format="rdata" from_work_dir="output.rds" label="${tool.name} on ${on_string}: SingleCellExperiment">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
82 <filter>conversion['direction'].endswith('sce')</filter>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
83 </data>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
84 <data name="output_loom" format="h5" from_work_dir="output.loom" label="${tool.name} on ${on_string}: Loom">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
85 <filter>conversion['direction'].endswith('loom')</filter>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
86 </data>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
87 <data name="output_anndata" format="h5" from_work_dir="output.h5ad" label="${tool.name} on ${on_string}: AnnData">
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
88 <filter>conversion['direction'].endswith('anndata')</filter>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
89 </data>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
90 </outputs>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
91
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
92 <tests>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
93 <test>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
94 <param name="direction" value="loom2sce"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
95 <param name="input_object_file" value="input.loom"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
96 <output name="output_sce" file="output.rds" ftype="rdata" compare="sim_size"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
97 </test>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
98 </tests>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
99
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
100 <help><![CDATA[
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
101 ===================================================================
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
102 Convert scRNA data object between formats `sceasy::convertFormat()`
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
103 ===================================================================
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
104
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
105 Support the following conversion:
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
106 * Loom <-> SingleCellExperiment (full)
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
107 * SingleCellExperiment -> AnnData (matrix, metadata, reducedDim)
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
108 * Seurat -> AnnData (matrix, metadata, reducedDim)
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
109
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
110 @HELP@
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
111
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
112 @VERSION_HISTORY@
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
113 ]]></help>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
114 <expand macro="citations"/>
ef1449a3f358 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 06283e92907321289efca757b97c46c3bd94a2ea-dirty
ebi-gxa
parents:
diff changeset
115 </tool>