comparison monocle3-reduceDim.xml @ 0:9e59e242ed63 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 815e36252846236124957052433572f1c1247114"
author ebi-gxa
date Mon, 16 Sep 2019 09:52:07 -0400
parents
children 98f4918eee70
comparison
equal deleted inserted replaced
-1:000000000000 0:9e59e242ed63
1 <?xml version="1.0" encoding="utf-8"?>
2 <tool id="monocle3_reduceDim" name="Monocle3 reduceDim" version="@TOOL_VERSION@+galaxy0">
3 <description>for downstream analysis</description>
4 <macros>
5 <import>monocle3-macros.xml</import>
6 </macros>
7 <expand macro="requirements"/>
8 <command detect_errors="exit_code"><![CDATA[
9 LANG=en_US.UTF-8 monocle3 reduceDim
10 #if $max_components
11 --max-components '${max_components}'
12 #end if
13 --reduction-method '${reduction_method}'
14 --preprocess-method '${preprocess_method}'
15
16 @INPUT_OPTS@
17 @OUTPUT_OPTS@
18
19 @VERBOSE@
20 ]]></command>
21
22 <inputs>
23 <expand macro="input_object_params"/>
24 <expand macro="output_object_params"/>
25 <param name="max_components" argument="--max-components" optional="true" type="integer" value="2" label="The dimensionality of the reduced space."/>
26 <param name="reduction_method" argument="--reduction-method" type="select" label="The algorithm to use for dimensionality reduction.">
27 <option selected="true" value="UMAP">UMAP</option>
28 <option value="tSNE">tSNE</option>
29 <option value="PCA">PCA</option>
30 <option value="LSI">LSI</option>
31 </param>
32 <param name="preprocess_method" argument="--preprocess-method" type="select" label="The preprocessing method used on the data.">
33 <option value="PCA" selected="true">PCA</option>
34 <option value="LSI">LSI</option>
35 </param>
36 <expand macro="verbose_flag"/>
37 </inputs>
38
39 <outputs>
40 <data name="output_rds" format="rdata" from_work_dir="output.RDS" label="${tool.name} on ${on_string}: ${output_object_format}"/>
41 </outputs>
42
43 <tests>
44 <test>
45 <param name="input_object_file" value="input.RDS"/>
46 <param name="input_object_format" value="cds3"/>
47 <param name="max_components" value="2"/>
48 <param name="reduction_method" value="UMAP"/>
49 <param name="preprocess_method" value="PCA"/>
50 <param name="output_object_format" value="cds3"/>
51 <output name="output_rds" file="output.rds" ftype="rdata" compare="sim_size"/>
52 </test>
53 </tests>
54
55 <help><![CDATA[
56 ==============================================================
57 Primary Monocle3 dimensionality reduction (`reduce_dimension`)
58 ==============================================================
59
60 Use the results of preprocessing to propose a primary dimensionally reduced space for use
61 in downstream analysis.
62
63 @HELP@
64
65 @VERSION_HISTORY@
66 ]]></help>
67 <expand macro="citations"/>
68 </tool>