Mercurial > repos > ebi-gxa > monocle3_create
comparison monocle3-create.xml @ 0:75340a5e5fb0 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:55 -0400 |
parents | |
children | a34f243f55a4 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:75340a5e5fb0 |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <tool id="monocle3_create" name="Monocle3 create" version="@TOOL_VERSION@+galaxy0"> | |
3 <description>a Monocle3 object from input data</description> | |
4 <macros> | |
5 <import>monocle3-macros.xml</import> | |
6 </macros> | |
7 <expand macro="requirements"/> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 ln -s '${expression_matrix}' expression_matrix.'${expression_matrix_format}' && | |
10 #if $cell_metadata | |
11 ln -s '${cell_metadata}' cell_metadata.'${cell_metadata_format}' && | |
12 #end if | |
13 #if $gene_annotation | |
14 ln -s '${gene_annotation}' gene_annotation.'${gene_annotation_format}' && | |
15 #end if | |
16 LANG=en_US.UTF-8 monocle3 create | |
17 --expression-matrix expression_matrix.'${expression_matrix_format}' | |
18 #if $cell_metadata | |
19 --cell-metadata cell_metadata.'${cell_metadata_format}' | |
20 #end if | |
21 #if $gene_annotation | |
22 --gene-annotation gene_annotation.'${gene_annotation_format}' | |
23 #end if | |
24 @OUTPUT_OPTS@ | |
25 @VERBOSE@ | |
26 ]]></command> | |
27 | |
28 <inputs> | |
29 <param name="expression_matrix" argument="--expression-matrix" type="data" format="tsv,csv,rdata" label="Expression matrix, genes as rows, cells as columns. Required input. Provide as TSV, CSV or RDS."/> | |
30 <param name="expression_matrix_format" type="select" label="Format of expression matrix"> | |
31 <option value="rds" selected="true">RDS</option> | |
32 <option value="tsv">TSV</option> | |
33 <option value="csv">CSV</option> | |
34 </param> | |
35 <param name="cell_metadata" argument="--cell-metadata" optional="true" type="data" format="tsv,csv,rdata" label="Per-cell annotation, optional. Row names must match the column names of the expression matrix. Provide as TSV, CSV or RDS."/> | |
36 <param name="cell_metadata_format" type="select" label="Format of cell metadata"> | |
37 <option value="rds" selected="true">RDS</option> | |
38 <option value="tsv">TSV</option> | |
39 <option value="csv">CSV</option> | |
40 </param> | |
41 <param name="gene_annotation" argument="--gene-annotation" optional="true" type="data" format="tsv,csv,rdata" label="Per-gene annotation, optional. Row names must match the row names of the expression matrix. Provide as TSV, CSV or RDS."/> | |
42 <param name="gene_annotation_format" type="select" label="Format of gene annotation"> | |
43 <option value="rds" selected="true">RDS</option> | |
44 <option value="tsv">TSV</option> | |
45 <option value="csv">CSV</option> | |
46 </param> | |
47 <expand macro="output_object_params"/> | |
48 <expand macro="verbose_flag"/> | |
49 </inputs> | |
50 | |
51 <outputs> | |
52 <data name="output_rds" format="rdata" from_work_dir="output.RDS" label="${tool.name} on ${on_string}: ${output_object_format}"/> | |
53 </outputs> | |
54 | |
55 <tests> | |
56 <test> | |
57 <param name="expression_matrix" value="expression.RDS"/> | |
58 <param name="cell_metadata" value="cells.RDS"/> | |
59 <param name="gene_annotation" value="genes.RDS"/> | |
60 <param name="output_object_format" value="cds3"/> | |
61 <output name="output_rds" file="output.rds" ftype="rdata" compare="sim_size"/> | |
62 </test> | |
63 </tests> | |
64 | |
65 <help><![CDATA[ | |
66 =========================================================================== | |
67 Create Monocle3 object from input expression/metadata (`new_cell_data_set`) | |
68 =========================================================================== | |
69 | |
70 Create a Monocle3 cds3 object from input expression data and optional metadata. | |
71 The expression matrix, with genes as rows and cells as columns, is the only mandatory | |
72 input. The cell metadata (with row names matching the column names of the expression | |
73 matrix) and gene annotation (with row names matching the row names of the expression | |
74 matrix) are optional. These files can be provided as RDS objects, or CSV/TSV. Select the | |
75 format of your input files in the corresponding drop-downs. | |
76 | |
77 @HELP@ | |
78 | |
79 @VERSION_HISTORY@ | |
80 ]]></help> | |
81 <expand macro="citations"/> | |
82 </tool> |