comparison monocle3-preprocess.xml @ 0:384b9bcf2807 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:50:29 -0400
parents
children 0869b0264af1
comparison
equal deleted inserted replaced
-1:000000000000 0:384b9bcf2807
1 <?xml version="1.0" encoding="utf-8"?>
2 <tool id="monocle3_preprocess" name="Monocle3 preprocess" version="@TOOL_VERSION@+galaxy0">
3 <description>a Monocle3 object to an initially dimensionally reduced space</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 preprocess
10 --method '${method}'
11 #if $num_dim
12 --num-dim '${num_dim}'
13 #end if
14 --norm-method '${norm_method}'
15 #if $use_genes
16 --use-genes '${use_genes}'
17 #end if
18 #if $residual_model_formula_str
19 --residual-model-formula-str '~${residual_model_formula_str}'
20 #end if
21 #if $pseudo_count
22 --pseudo-count '${pseudo_count}'
23 #end if
24 #if $no_scaling
25 --no-scaling
26 #end if
27
28 @INPUT_OPTS@
29 @OUTPUT_OPTS@
30
31 @VERBOSE@
32 ]]></command>
33
34 <inputs>
35 <expand macro="input_object_params"/>
36 <expand macro="output_object_params"/>
37 <param name="method" argument="--method" type="select" label="Initial dimensionality reduction to perform.">
38 <option value="PCA" selected="true">PCA</option>
39 <option value="LSI">LSI</option>
40 </param>
41 <param name="num_dim" argument="--num-dim" optional="true" type="integer" value="50" label="The dimensionality of the reduced space."/>
42 <param name="norm_method" argument="--norm-method" type="select" label="Determines how to transform expression values prior to reducing dimensionality.">
43 <option value="log" selected="true">Size factor correction and log transformation</option>
44 <option value="size_only">Size factor correction only</option>
45 </param>
46 <param name="use_genes" argument="--use-genes" type="text" optional="true" label="Manually subset the gene pool to these genes for dimensionality reduction."/>
47 <param name="residual_model_formula_str" argument="--residual-model-formula-str" type="text" optional="true" label="A string model formula specifying effects to subtract from the data (excluding the leading ~)."/>
48 <param name="pseudo_count" argument="--pseudo-count" optional="true" type="float" value="1" label="Amount to increase expression values before dimensionality reduction."/>
49 <param name="no_scaling" argument="--no-scaling" type="boolean" checked="false" label="When this option is NOT set, scale each gene before running trajectory reconstruction."/>
50 <expand macro="verbose_flag"/>
51 </inputs>
52
53 <outputs>
54 <data name="output_rds" format="rdata" from_work_dir="output.RDS" label="${tool.name} on ${on_string}: ${output_object_format}"/>
55 </outputs>
56
57 <tests>
58 <test>
59 <param name="input_object_file" value="input.RDS"/>
60 <param name="input_object_format" value="cds3"/>
61 <param name="method" value="PCA"/>
62 <param name="num_dim" value="50"/>
63 <param name="norm_method" value="log"/>
64 <param name="pseudo_count" value="1"/>
65 <param name="output_object_format" value="cds3"/>
66 <output name="output_rds" file="output.rds" ftype="rdata" compare="sim_size"/>
67 </test>
68 </tests>
69
70 <help><![CDATA[
71 ====================================================================================
72 Preprocess Monocle3 object up to initial dimensionality reduction (`preprocess_cds`)
73 ====================================================================================
74
75 Preprocess a Monocle3 object with size factor scaling of the count data, optionally
76 log transforming, and computing an initial dimensionality reduction. This space is
77 used as a starting point for a number of subsequent analyses.
78
79 @HELP@
80
81 @VERSION_HISTORY@
82 ]]></help>
83 <expand macro="citations"/>
84 </tool>