comparison monocle3-plotCells.xml @ 0:896359db6339 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:51:16 -0400
parents
children ad64e2d368d6
comparison
equal deleted inserted replaced
-1:000000000000 0:896359db6339
1 <?xml version="1.0" encoding="utf-8"?>
2 <tool id="monocle3_plotCells" name="Monocle3 plotCells" version="@TOOL_VERSION@+galaxy0">
3 <description> in the reduced dimensionality 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 plotCells
10 --reduction-method '$(reduction_method)'
11 --norm-method '$(norm_method)'
12 #if $xdim
13 --xdim '$(xdim)'
14 #end if
15 #if $ydim
16 --ydim '$(ydim)'
17 #end if
18 #if $color_cells_by
19 --color-cells-by '$(color_cells_by)'
20 #end if
21 #if $genes
22 --genes '$(genes)'
23 #end if
24 #if $cell_size
25 --cell-size '$(cell_size)'
26 #end if
27 #if $alpha
28 --alpha '$(alpha)'
29 #end if
30 #if $label_cell_groups
31 --label-cell-groups
32 #end if
33 #if $no_trajectory_graph
34 --no-trajectory-graph
35 #end if
36 #if $label_groups_by_cluster
37 --label-groups-by-cluster
38 #end if
39 #if $label_leaves
40 --label-leaves
41 #end if
42 #if $label_roots
43 --label-roots
44 #end if
45 #if $label_branch_points
46 --label-branch-points
47 #end if
48
49 @INPUT_OPTS@
50 output.png
51
52 @VERBOSE@
53 ]]></command>
54
55 <inputs>
56 <expand macro="input_object_params"/>
57 <param name="xdim" argument="--xdim" optional="true" type="integer" value="1" label="The column of reducedDimS(cds) to plot on the horizontal axis."/>
58 <param name="ydim" argument="--ydim" optional="true" type="integer" value="2" label="The column of reducedDimS(cds) to plot on the vertical axis."/>
59 <param name="reduction_method" argument="--reduction-method" type="select" label="The dimensionality reduction for plotting.">
60 <option value="UMAP" selected="true">UMAP</option>
61 <option value="tSNE">tSNE</option>
62 <option value="PCA">PCA</option>
63 <option value="LSI">LSI</option>
64 </param>
65 <param name="color_cells_by" argument="--color-cells-by" optional="true" type="text" value="pseudotime" label="The cell attribute (e.g. the column of pData(cds)) to map to each cell's color, or one of {cluster, partition, pseudotime}."/>
66 <param name="genes" argument="--genes" optional="true" type="text" label="A list of gene IDs/short names to plot, one per panel."/>
67 <param name="norm_method" argument="--norm-method" type="select" label="Determines how to transform expression values for plotting.">
68 <option value="log" selected="true">Size factor correction and log transformation</option>
69 <option value="size_only">Size factor correction only</option>
70 </param>
71 <param name="cell_size" argument="--cell-size" optional="true" type="float" value="1.5" label="The size of the point for each cell."/>
72 <param name="alpha" argument="--alpha" optional="true" type="float" value="1" label="The alpha aesthetics for the original cell points, useful to highlight the learned principal graph."/>
73 <param name="label_cell_groups" argument="--label-cell-groups" type="boolean" checked="true" label="If set, display the cell group names directly on the plot. Otherwise include a color legend on the side of the plot."/>
74 <param name="no_trajectory_graph" argument="--no-trajectory-graph" type="boolean" checked="false" label="When this option is set, skip displaying the trajectory graph inferred by learn_graph()."/>
75 <param name="label_groups_by_cluster" argument="--label-groups-by-cluster" type="boolean" checked="false" label="If set, and setting --color-cells-by to something other than cluster, label the cells of each cluster independently. Can result in duplicate labels being present in the manifold."/>
76 <param name="label_leaves" argument="--label-leaves" type="boolean" checked="false" label="If set, label the leaves of the principal graph."/>
77 <param name="label_roots" argument="--label-roots" type="boolean" checked="false" label="If set, label the roots of the principal graph."/>
78 <param name="label_branch_points" argument="--label-branch-points" type="boolean" checked="false" label="If set, label the branch points of the principal graph."/>
79 <expand macro="verbose_flag"/>
80 </inputs>
81
82 <outputs>
83 <data name="output_tsv" format="png" from_work_dir="output.png" label="${tool.name} on ${on_string}: png"/>
84 </outputs>
85
86 <tests>
87 <test>
88 <param name="input_object_file" value="input.RDS"/>
89 <param name="input_object_format" value="cds3"/>
90 <param name="reduction_method" value="UMAP"/>
91 <param name="xdim" value="1"/>
92 <param name="ydim" value="2"/>
93 <param name="color_cells_by" value="pseudotime"/>
94 <param name="norm_method" value="log"/>
95 <param name="cell_size" value="1.5"/>
96 <param name="alpha" value="1"/>
97 <output name="output_tsv" file="output.tsv" ftype="tsv" compare="sim_size"/>
98 </test>
99 </tests>
100
101 <help><![CDATA[
102 =====================================
103 Monocle3 cell plotting (`plot_cells`)
104 =====================================
105
106 Display various information about cells (clustering, pseudotime, the inferred graph,
107 user-provided annotations, gene expression) in reduced dimensions.
108
109 @HELP@
110
111 @VERSION_HISTORY@
112 ]]></help>
113 <expand macro="citations"/>
114 </tool>