Mercurial > repos > iuc > seaborn
annotate seaborn.xml @ 0:293a939f28c8 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
author | iuc |
---|---|
date | Wed, 14 May 2025 08:39:42 +0000 |
parents | |
children |
rev | line source |
---|---|
0
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
1 <tool id="seaborn" name="seaborn" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0" license="MIT"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
2 <description>generate various plots using seaborn</description> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
3 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
4 <macros> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
5 <import>macros.xml</import> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
6 </macros> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
7 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
8 <expand macro="edam"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
9 <expand macro="requirements"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
10 <expand macro="creator" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
11 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
12 <command detect_errors="exit_code"><![CDATA[ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
13 python3 '${run_script}' |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
14 ]]></command> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
15 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
16 <configfiles> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
17 <configfile name="run_script"><![CDATA[ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
18 index_col = False |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
19 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
20 @INIT@ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
21 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
22 plot = $plot |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
23 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
24 fig = plot( |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
25 data, |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
26 #if $xcol |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
27 x = data.columns.values[$xcol - 1], |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
28 #end if |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
29 #if $ycol |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
30 y = data.columns.values[$ycol - 1], |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
31 #end if |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
32 #if $hue |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
33 hue = data.columns.values[$hue - 1], |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
34 #end if |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
35 #if $col |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
36 col = data.columns.values[$col - 1], |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
37 #end if |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
38 #if $row |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
39 row = data.columns.values[$row - 1], |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
40 #end if |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
41 #if $legend |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
42 legend = $legend, |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
43 #end if |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
44 #if $kind |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
45 kind = '$kind' |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
46 #end if |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
47 ) |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
48 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
49 #if $legend_pos |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
50 plt.legend(loc='$legend_pos') |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
51 #end if |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
52 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
53 plt.savefig(f"{output_file}", format=output_format, dpi=300) |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
54 ]]></configfile> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
55 </configfiles> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
56 <inputs> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
57 <expand macro="inputs"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
58 <expand macro="transformation"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
59 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
60 <param name="plot" type="select" label="Plot to choose from seaborn" help="Select the type of plot you want to generate using seaborn. Each option corresponds to a specific seaborn plotting function."> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
61 <option value="sns.scatterplot">scatterplot</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
62 <option value="sns.displot">displot</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
63 <option value="sns.jointplot">jointplot</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
64 <option value="sns.barplot">barplot</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
65 <option value="sns.boxplot">boxplot</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
66 <option value="sns.violinplot">violinplot</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
67 <option value="sns.lmplot">lmplot</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
68 <option value="sns.histplot">histplot</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
69 </param> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
70 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
71 <conditional name="header"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
72 <param name="has_header" type="select" display="radio" label="Does your table have a header?" help="Specify whether the input data contains a header row. If yes, column names will be used for selection." refresh_on_change="true"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
73 <option value="yes" selected="true">yes</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
74 <option value="no">no</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
75 </param> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
76 <when value="yes"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
77 <expand macro="columns" header="true" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
78 </when> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
79 <when value="no"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
80 <expand macro="columns" header="false" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
81 </when> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
82 </conditional> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
83 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
84 <section name="advanced" title="Advanced Options"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
85 <param name="kind" type="select" label="Kind specification" optional="true" help="Specify the kind of plot to generate for multi-plot functions like `sns.relplot` or `sns.catplot`."> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
86 <option value="hist">hist</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
87 <option value="kde">kde</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
88 <option value="reg">reg</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
89 <option value="scatter">scatter</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
90 <option value="hex">hex</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
91 <option value="resid">resid</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
92 <option value="ecdf">ecdf</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
93 </param> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
94 <param name="legend" type="select" label="Legend" help="Specify the type of legend to display on the plot. Options include 'auto', 'brief', 'full', or None to disable the legend." optional="true"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
95 <option value="'auto'">auto</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
96 <option value="'brief'">brief</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
97 <option value="'full'">full</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
98 <option value="False">none</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
99 <sanitizer invalid_char=""> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
100 <valid initial="string.ascii_letters"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
101 <add value="'" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
102 </valid> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
103 </sanitizer> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
104 </param> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
105 <param name="legend_pos" type="select" optional="true" label="Legend position" help="Choose the position of the legend on the plot. Options include various corners and sides of the plot."> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
106 <option value="center right">center right</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
107 <option value="center left">center left</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
108 <option value="upper right">upper right</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
109 <option value="upper left">upper left</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
110 <option value="lower right">lower right</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
111 <option value="lower left">lower left</option> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
112 </param> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
113 </section> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
114 </inputs> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
115 <outputs> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
116 <data name="output_file" format="png" label="${tool.name} ${plot} of ${on_string}" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
117 </outputs> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
118 <tests> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
119 <!-- Test 1: Generate a scatterplot --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
120 <test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
121 <param name="input_data" value="mtcars.txt"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
122 <param name="plot" value="sns.scatterplot" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
123 <conditional name="header"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
124 <param name="has_header" value="yes" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
125 <param name="xcol" value="2" /> <!-- Column 2: mpg --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
126 <param name="ycol" value="3" /> <!-- Column 3: cyl --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
127 </conditional> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
128 <output name="output_file"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
129 <assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
130 <has_image_channels channels="4"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
131 <has_image_height height="1440"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
132 <has_image_width width="1920" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
133 <has_image_center_of_mass center_of_mass="960.65, 718.85" eps="0.1"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
134 </assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
135 </output> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
136 </test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
137 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
138 <!-- Test 2: Generate a barplot --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
139 <test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
140 <param name="input_data" value="mtcars.txt"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
141 <param name="plot" value="sns.barplot" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
142 <conditional name="header"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
143 <param name="has_header" value="yes" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
144 <param name="xcol" value="3" /> <!-- Column 3: cyl --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
145 <param name="ycol" value="2" /> <!-- Column 2: mpg --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
146 </conditional> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
147 <output name="output_file"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
148 <assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
149 <has_image_channels channels="4"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
150 <has_image_height height="1440"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
151 <has_image_width width="1920" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
152 <has_image_center_of_mass center_of_mass="971.48, 692.18" eps="0.2"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
153 </assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
154 </output> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
155 </test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
156 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
157 <!-- Test 3: Generate a boxplot with hue --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
158 <test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
159 <param name="input_data" value="mtcars.txt"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
160 <param name="plot" value="sns.boxplot" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
161 <conditional name="header"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
162 <param name="has_header" value="yes" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
163 <param name="xcol" value="3" /> <!-- Column 3: cyl --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
164 <param name="ycol" value="2" /> <!-- Column 2: mpg --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
165 <section name="advanced_input"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
166 <param name="hue" value="4" /> <!-- Column 4: disp --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
167 </section> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
168 </conditional> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
169 <output name="output_file"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
170 <assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
171 <has_image_channels channels="4"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
172 <has_image_height height="1440"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
173 <has_image_width width="1920" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
174 <has_image_center_of_mass center_of_mass="957.48, 720.14" eps="0.1"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
175 </assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
176 </output> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
177 </test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
178 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
179 <!-- Test 4: Generate a violinplot with advanced options --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
180 <test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
181 <param name="input_data" value="mtcars.txt"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
182 <param name="plot" value="sns.violinplot" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
183 <conditional name="header"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
184 <param name="has_header" value="yes" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
185 <param name="xcol" value="3" /> <!-- Column 3: cyl --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
186 <param name="ycol" value="2" /> <!-- Column 2: mpg --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
187 </conditional> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
188 <section name="advanced"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
189 <param name="legend" value="'brief'" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
190 <param name="legend_pos" value="upper right" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
191 </section> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
192 <output name="output_file"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
193 <assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
194 <has_image_channels channels="4"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
195 <has_image_height height="1440"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
196 <has_image_width width="1920" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
197 <has_image_center_of_mass center_of_mass="959.80, 716.27" eps="0.1"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
198 </assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
199 </output> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
200 </test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
201 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
202 <!-- Test 5: Generate a lmplot with hue --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
203 <test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
204 <param name="input_data" value="mtcars.txt"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
205 <param name="plot" value="sns.boxplot" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
206 <conditional name="header"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
207 <param name="has_header" value="yes" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
208 <param name="xcol" value="2" /> <!-- Column 2: mpg --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
209 <param name="ycol" value="5" /> <!-- Column 5: hp --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
210 <section name="advanced_input"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
211 <param name="hue" value="3" /> <!-- Column 3: cyl --> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
212 </section> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
213 </conditional> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
214 <output name="output_file"> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
215 <assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
216 <has_image_channels channels="4"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
217 <has_image_height height="1440"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
218 <has_image_width width="1920" /> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
219 <has_image_center_of_mass center_of_mass="958.93, 716.80" eps="0.1"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
220 </assert_contents> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
221 </output> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
222 </test> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
223 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
224 </tests> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
225 <help><![CDATA[ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
226 .. class:: infomark |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
227 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
228 **What it does** |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
229 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
230 This tool allows you to generate a variety of plots using the Seaborn library, a Python data visualization library based on Matplotlib. It supports multiple plot types, including scatter plots, bar plots, box plots, and more. The tool is designed to work with tabular data in formats such as TSV, CSV, TXT, or Parquet. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
231 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
232 Seaborn provides a high-level interface for drawing attractive and informative statistical graphics. This tool integrates Seaborn's functionality into Galaxy, enabling users to create publication-quality plots without requiring programming knowledge. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
233 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
234 **Usage** |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
235 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
236 1. **Input**: Provide a tabular data file in one of the supported formats (TSV, CSV, TXT, or Parquet). |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
237 2. **Plot Type**: Choose the type of plot you want to generate (e.g., scatterplot, barplot, boxplot). |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
238 3. **Advanced Options**: Customize the plot further by specifying parameters such as legend type, legend position, and data transformations. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
239 4. **Output**: The tool generates a PNG image of the plot, which can be downloaded or used in further analyses. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
240 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
241 **Example Input** |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
242 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
243 Here is an example of a simple input dataset: |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
244 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
245 +------------+------------+------------+ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
246 | Category | Value1 | Value2 | |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
247 +============+============+============+ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
248 | A | 10 | 20 | |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
249 +------------+------------+------------+ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
250 | B | 15 | 25 | |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
251 +------------+------------+------------+ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
252 | C | 20 | 30 | |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
253 +------------+------------+------------+ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
254 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
255 **Example Output** |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
256 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
257 If you select a scatterplot with `Value1` on the x-axis and `Value2` on the y-axis, the tool will generate a scatterplot visualizing the relationship between these two variables. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
258 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
259 **Parameters** |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
260 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
261 - **Input Data Table**: Upload your data file in TSV, CSV, TXT, or Parquet format. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
262 - **Plot Type**: Select the type of plot to generate (e.g., scatterplot, barplot, etc.). |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
263 - **Legend**: Specify the type of legend to display (e.g., auto, brief, full, or None). |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
264 - **Legend Position**: Choose the position of the legend on the plot (e.g., upper right, lower left, etc.). |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
265 - **Data Transformation**: Apply transformations such as log10 or log2 to numerical data. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
266 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
267 **Links** |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
268 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
269 - For more information about Seaborn, visit the official documentation: https://seaborn.pydata.org/ |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
270 - For detailed parameter descriptions, refer to the Galaxy tool documentation. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
271 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
272 **Output** |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
273 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
274 The tool generates a PNG file containing the plot. The file can be downloaded or used as input for other tools in Galaxy. |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
275 |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
276 ]]></help> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
277 <expand macro="citation"/> |
293a939f28c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/seaborn commit 24dc6373560bd5e409fca84154634f5a528001c3
iuc
parents:
diff
changeset
|
278 </tool> |