Mercurial > repos > ebi-gxa > scanpy_plot_embed
comparison scanpy_macros2.xml @ 0:224d1c9d7f19 draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit ba0c88ab1b077a0b1c60c8d3c529e72ca6946226"
author | ebi-gxa |
---|---|
date | Thu, 12 Mar 2020 09:06:45 +0000 |
parents | |
children | a9bce05fbe3f |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:224d1c9d7f19 |
---|---|
1 <macros> | |
2 <token name="@TOOL_VERSION@">1.4.3</token> | |
3 <token name="@HELP@">More information can be found at https://scanpy.readthedocs.io</token> | |
4 <token name="@PROFILE@">18.01</token> | |
5 <token name="@VERSION_HISTORY@"><![CDATA[ | |
6 **Version history** | |
7 | |
8 1.4.3+galaxy10: Update to scanpy-scripts 0.2.10 (running scanpy ==1.4.3) to address bugfixes in run-pca. | |
9 | |
10 1.4.3+galaxy10: Update to scanpy-scripts 0.2.9 (running scanpy ==1.4.3) to address bugfixes in find-variable-genes. | |
11 | |
12 1.4.3+galaxy10: Use profile 18.01 for modules. | |
13 | |
14 1.4.3+galaxy6: Update to scanpy-scripts 0.2.8 (running scanpy ==1.4.3) and wider compatibility with other Galaxy modules. Bug fixes in filtering and plotting improvements. | |
15 | |
16 1.4.3+galaxy0: Update to scanpy-scripts 0.2.5 (running scanpy ==1.4.3). | |
17 | |
18 1.4.2+galaxy0: Update to scanpy-scripts 0.2.4 (requires scanpy >=1.4.2). | |
19 | |
20 1.3.2+galaxy1: Normalise-data and filter-genes: Exposes ability to output 10x files. | |
21 | |
22 1.3.2+galaxy0: Initial contribution. Ni Huang and Pablo Moreno, Expression Atlas team https://www.ebi.ac.uk/gxa/home at | |
23 EMBL-EBI https://www.ebi.ac.uk/ and Teichmann Lab at Wellcome Sanger Institute. | |
24 ]]></token> | |
25 <token name="@INPUT_OPTS@"> | |
26 --input-format '${input_format}' input.h5 | |
27 </token> | |
28 <token name="@OUTPUT_OPTS@"> | |
29 #if str($output_format).startswith('anndata') | |
30 --show-obj stdout --output-format anndata output.h5 | |
31 #else | |
32 --show-obj stdout --output-format loom output.h5 | |
33 #end if | |
34 </token> | |
35 <token name="@PLOT_OPTS@"> | |
36 #if $fig_title | |
37 --title '${fig_title}' | |
38 #end if | |
39 --fig-size '${fig_size}' | |
40 --fig-dpi ${fig_dpi} | |
41 --fig-fontsize ${fig_fontsize} | |
42 ${fig_frame} | |
43 ./output.png | |
44 </token> | |
45 <token name="@EXPORT_MTX_OPTS@">${export_mtx}</token> | |
46 | |
47 <xml name="requirements"> | |
48 <requirements> | |
49 <requirement type="package" version="0.2.10">scanpy-scripts</requirement> | |
50 <yield/> | |
51 </requirements> | |
52 </xml> | |
53 | |
54 <xml name="citations"> | |
55 <citations> | |
56 <yield /> | |
57 <citation type="doi">10.1186/s13059-017-1382-0</citation> | |
58 <citation type="bibtex"> | |
59 @misc{githubscanpy-scripts, | |
60 author = {Ni Huang, EBI Gene Expression Team}, | |
61 year = {2018}, | |
62 title = {Scanpy-scripts: command line interface for Scanpy}, | |
63 publisher = {GitHub}, | |
64 journal = {GitHub repository}, | |
65 url = {https://github.com/ebi-gene-expression-group/scanpy-scripts}, | |
66 }</citation> | |
67 </citations> | |
68 </xml> | |
69 | |
70 <xml name="input_object_params"> | |
71 <param name="input_obj_file" argument="input-object-file" type="data" format="h5,h5ad" label="Input object in AnnData/Loom format"/> | |
72 <param name="input_format" argument="--input-format" type="select" label="Format of input object"> | |
73 <option value="anndata" selected="true">AnnData format hdf5</option> | |
74 <option value="loom">Loom format hdf5</option> | |
75 </param> | |
76 </xml> | |
77 | |
78 <xml name="output_object_params"> | |
79 <param name="output_format" argument="--output-format" type="select" label="Format of output object"> | |
80 <option value="anndata_h5ad" selected="true">AnnData format</option> | |
81 <option value="anndata">AnnData format (h5 for older versions)</option> | |
82 <option value="loom">Loom format</option> | |
83 <option value="loom_legacy">Loom format (h5 for older versions)</option> | |
84 </param> | |
85 </xml> | |
86 | |
87 <xml name="output_object_params_no_loom"> | |
88 <param name="output_format" argument="--output-format" type="select" label="Format of output object"> | |
89 <option value="anndata_h5ad" selected="true">AnnData format</option> | |
90 <option value="anndata">AnnData format (h5 for older versions)</option> | |
91 </param> | |
92 </xml> | |
93 | |
94 <xml name="output_data_obj_no_loom" token_description="operation"> | |
95 <data name="output_h5ad" format="h5ad" from_work_dir="output.h5" label="${tool.name} on ${on_string}: @DESCRIPTION@ AnnData"> | |
96 <filter>output_format == 'anndata_h5ad'</filter> | |
97 </data> | |
98 <data name="output_h5" format="h5" from_work_dir="output.h5" label="${tool.name} on ${on_string}: @DESCRIPTION@ AnnData"> | |
99 <filter>output_format == 'anndata'</filter> | |
100 </data> | |
101 </xml> | |
102 | |
103 <xml name="output_data_obj" token_description="operation"> | |
104 <data name="output_h5ad" format="h5ad" from_work_dir="output.h5" label="${tool.name} on ${on_string}: @DESCRIPTION@ AnnData"> | |
105 <filter>output_format == 'anndata_h5ad'</filter> | |
106 </data> | |
107 <data name="output_h5" format="h5" from_work_dir="output.h5" label="${tool.name} on ${on_string}: @DESCRIPTION@ AnnData"> | |
108 <filter>output_format == 'anndata'</filter> | |
109 </data> | |
110 <data name="output_loom_legacy" format="h5" from_work_dir="output.h5" label="${tool.name} on ${on_string}: @DESCRIPTION@ Loom"> | |
111 <filter>output_format == 'loom_legacy'</filter> | |
112 </data> | |
113 <data name="output_loom" format="loom" from_work_dir="output.h5" label="${tool.name} on ${on_string}: @DESCRIPTION@ Loom"> | |
114 <filter>output_format == 'loom'</filter> | |
115 </data> | |
116 </xml> | |
117 | |
118 <xml name="output_plot_params"> | |
119 <param name="fig_title" argument="--title" type="text" label="Figure title"/> | |
120 <param name="fig_size" argument="--fig-size" type="text" value="4,4" label="Figure size as 'width,height', e.g, '7,7'"/> | |
121 <param name="fig_dpi" argument="--fig-dpi" type="integer" min="1" value="80" label="Figure dpi"/> | |
122 <param name="fig_fontsize" argument="--fig-fontsize" type="integer" min="0" value="10" label="Figure font size"/> | |
123 <param name="fig_frame" type="boolean" truevalue="--frameon" falsevalue="--frameoff" checked="false" | |
124 label="Show plot frame"/> | |
125 </xml> | |
126 | |
127 <xml name="export_mtx_params"> | |
128 <param name="export_mtx" argument="--export-mtx" type="boolean" truevalue="--export-mtx ./" falsevalue="" checked="false" label="Save to 10x mtx format" help="If enabled, it will generate in addition to the main output in Loom or AnnData an export in 10x format."/> | |
129 </xml> | |
130 | |
131 <xml name="export_mtx_outputs"> | |
132 <data name="matrix_10x" format="txt" from_work_dir="matrix.mtx" label="${tool.name} on ${on_string}: 10x matrix"> | |
133 <filter>export_mtx</filter> | |
134 </data> | |
135 <data name="genes_10x" format="tsv" from_work_dir="genes.tsv" label="${tool.name} on ${on_string}: 10x genes"> | |
136 <filter>export_mtx</filter> | |
137 </data> | |
138 <data name="barcodes_10x" format="tsv" from_work_dir="barcodes.tsv" label="${tool.name} on ${on_string}: 10x barcodes"> | |
139 <filter>export_mtx</filter> | |
140 </data> | |
141 </xml> | |
142 </macros> |