Mercurial > repos > ebi-gxa > scanpy_plot_scrublet
comparison scanpy-multiplet-scrublet-plot.xml @ 0:57310f30da92 draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/scanpy commit 3365d5d4f7930e736fa6814df36d68e578d45d46-dirty"
author | ebi-gxa |
---|---|
date | Thu, 22 Jul 2021 20:56:47 +0000 |
parents | |
children | 2d3b13bb704a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:57310f30da92 |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <tool id="scanpy_plot_scrublet" name="Scanpy Plot Scrublet" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> | |
3 <description>visualise multiplet scoring distribution</description> | |
4 <macros> | |
5 <import>scanpy_macros2.xml</import> | |
6 </macros> | |
7 <expand macro="requirements"/> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 ln -s '${input_obj_file}' input.h5 && | |
10 PYTHONIOENCODING=utf-8 scanpy-cli plot scrublet | |
11 --scale-hist-obs '${scale_hist_obs}' | |
12 --scale-hist-sim '${scale_hist_sim}' | |
13 #if $settings.default == "false" | |
14 --fig-size '${settings.fig_size}' | |
15 --fig-dpi ${settings.fig_dpi} | |
16 --fig-fontsize ${settings.fig_fontsize} | |
17 #end if | |
18 @INPUT_OPTS@ | |
19 ./output.png | |
20 ]]></command> | |
21 | |
22 <inputs> | |
23 <expand macro="input_object_params"/> | |
24 <param name="scale_hist_obs" argument="--scale-hist-obs" type="select" label="y axis scale transformation for observed transcriptome plot"> | |
25 <option value="log" selected="true">log</option> | |
26 <option value="linear">linear</option> | |
27 <option value="symlog">symlog</option> | |
28 <option value="logit">logit</option> | |
29 </param> | |
30 <param name="scale_hist_sim" argument="--scale-hist-sim" type="select" label="y axis scale transformation for simulated transcriptome plot"> | |
31 <option value="log">log</option> | |
32 <option value="linear" selected='true'>linear</option> | |
33 <option value="symlog">symlog</option> | |
34 <option value="logit">logit</option> | |
35 </param> | |
36 <conditional name="settings"> | |
37 <param name="default" type="boolean" checked="true" label="Use plot defaults"/> | |
38 <when value="true"/> | |
39 <when value="false"> | |
40 <param name="fig_size" argument="--fig-size" type="text" value="4,4" label="Figure size as 'width,height', e.g, '7,7'"/> | |
41 <param name="fig_dpi" argument="--fig-dpi" type="integer" min="1" value="80" label="Figure dpi"/> | |
42 <param name="fig_fontsize" argument="--fig-fontsize" type="integer" min="0" value="10" label="Figure font size"/> | |
43 </when> | |
44 </conditional> | |
45 </inputs> | |
46 | |
47 <outputs> | |
48 <data name="output_png" format="png" from_work_dir="output.png" label="${tool.name} on ${on_string}: Scrublet plot"/> | |
49 </outputs> | |
50 | |
51 <tests> | |
52 <test> | |
53 <param name="input_obj_file" value="scrublet.h5"/> | |
54 <param name="input_format" value="anndata"/> | |
55 <param name="scale_hist_obs" value="linear"/> | |
56 <param name="scale_hist_sim" value="linear"/> | |
57 <output name="output_png" file="plot_scrublet.png" ftype="png" compare="sim_size"/> | |
58 </test> | |
59 </tests> | |
60 | |
61 <help><![CDATA[ | |
62 Plot histogram of doublet scores for observed transcriptomes and simulated doublets. | |
63 | |
64 @HELP@ | |
65 | |
66 @VERSION_HISTORY@ | |
67 ]]></help> | |
68 <expand macro="citations"/> | |
69 </tool> |