annotate plot_grouped_barplot.xml @ 0:6c9aac0d6ca2 draft default tip

planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
author bebatut
date Mon, 18 Apr 2016 10:08:25 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
1 <tool id="plot_grouped_barplot" name="Plot grouped barplot" version="0.1.0">
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
2 <description>with R</description>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
3
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
4 <requirements>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
5 <requirement type="package" version="3.2.1">R</requirement>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
6 <requirement type="package" version="1.20.0">r-getopt</requirement>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
7 </requirements>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
8
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
9 <stdio>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
10 <exit_code range="1:" />
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
11 <exit_code range=":-1" />
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
12 </stdio>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
13
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
14 <version_command></version_command>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
15
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
16 <command><![CDATA[
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
17 Rscript $__tool_directory__/plot_grouped_barplot.R
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
18 --input_file $input_file
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
19 --header $header
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
20
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
21 #if str($output_format)=="pdf"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
22 --output_pdf_file $output_pdf_file
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
23 #else
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
24 --output_svg_file $output_svg_file
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
25 #end if
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
26
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
27 #set $column_with_data=""
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
28 #set $colors=""
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
29 #set $names=""
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
30 #set $sep=""
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
31 #for sample in $samples:
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
32 #set $column_with_data = $column_with_data + $sep + str($sample.column_id)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
33 #set $colors = $colors + $sep + str($sample.color)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
34 #set $names = $names + $sep +str($sample.name)
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
35 #set $sep=","
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
36 #end for
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
37 #set $column_with_data = $column_with_data
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
38 #set $colors = $colors
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
39 #set $names = $names
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
40
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
41 --data_column $column_with_data
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
42 --col "$colors"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
43 --names "$names"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
44 --replace_null $replace_null
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
45 --order $order
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
46 --names_column $names_column
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
47 --xlab "$xlab"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
48 --log $log
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
49 --bottom_margin $bottom_margin
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
50 --left_margin $left_margin
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
51 --top_margin $top_margin
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
52 --right_margin $right_margin
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
53 --legend_pos $legend_pos
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
54 ]]></command>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
55
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
56 <inputs>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
57 <param name="input_file" type="data" format="tabular,tsv,csv" label="Input file" help="File in tabular format with tab-separated columns and header in first line (--input_file)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
58
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
59 <param name="header" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="false" label="Header in first line?" help="(--header)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
60
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
61 <param name="output_format" label="Format for output image" type="select" help="">
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
62 <option value="pdf" selected="True">PDF</option>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
63 <option value="svg">SVG</option>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
64 </param>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
65
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
66 <repeat name="samples" title="Add sample information (column id, name, color)" >
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
67 <param name="name" type="text" label="Name of the data" help="(--sample_name)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
68 <param name="column_id" type="data_column" data_ref="input_file" label="Column containing corresponding data" multiple="false" numerical="true" help="(after normalization, --charact_input_file)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
69 <param name="color" label="Bar color" type="text" value= "blue" help="R color (--col)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
70 </repeat>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
71 <param name="replace_null" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Replace null values by NA?" help="(--replace_null)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
72 <param name="order" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Order given the first chosen data?" help="(--order)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
73
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
74 <param name="names_column" type="data_column" data_ref="input_file" multiple="false" numerical="false" label="Column containing data names?" help="(--names_column)" />
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
75
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
76 <param name="xlab" type="text" value="" label="Label for x axis" help="(--xlab)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
77
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
78 <param name="log" type="boolean" truevalue="TRUE" falsevalue="FALSE" label="Log scale?" help="(--log)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
79
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
80 <param name="bottom_margin" type="integer" value="5" label="Bottom margin" help="(--bottom_margin)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
81 <param name="left_margin" type="integer" value="19" label="Left margin" help="(--left_margin)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
82 <param name="top_margin" type="integer" value="1" label="Top margin" help="(--top_margin)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
83 <param name="right_margin" type="integer" value="1" label="Right margin" help="(--right_margin)"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
84 <param name="legend_pos" label="Position of the legend" type="select" help="">
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
85 <option value="topright" selected="True">Top right</option>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
86 <option value="topleft">Top left</option>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
87 <option value="bottomright">Bottom right</option>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
88 <option value="bottomleft">Bottom left</option>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
89 </param>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
90 </inputs>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
91
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
92 <outputs>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
93 <data name="output_pdf_file" format="pdf"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
94 label="${tool.name} on ${on_string}: PDF barplot">
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
95 <filter>output_format=="pdf"</filter>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
96 </data>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
97 <data name="output_png_file" format="png"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
98 label="${tool.name} on ${on_string}: PNG barplot">
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
99 <filter>output_format=="png"</filter>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
100 </data>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
101 <data name="output_svg_file" format="svg"
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
102 label="${tool.name} on ${on_string}: SVG barplot">
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
103 <filter>output_format=="svg"</filter>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
104 </data>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
105 </outputs>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
106
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
107 <tests>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
108 <test>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
109 <param name="input_file" value="input_file.txt"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
110 <param name='header' value="FALSE"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
111 <param name="output_format" value="pdf"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
112 <param name="samples_0|name" value="A"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
113 <param name="samples_0|column_id" value="2"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
114 <param name="samples_0|color" value="blue"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
115 <param name="samples_1|name" value="B"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
116 <param name="samples_1|column_id" value="3"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
117 <param name="samples_1|color" value="red"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
118 <param name="replace_null" value="FALSE"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
119 <param name="order" value="FALSE"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
120 <param name="names_column" value="1"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
121 <param name='xlab' value=""/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
122 <param name='log' value="FALSE"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
123 <param name='bottom_margin' value="5"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
124 <param name="left_margin" value="19"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
125 <param name='top_margin' value="1"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
126 <param name='right_margin' value="1"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
127 <param name="legend_pos" value="topright"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
128 <output name="output_pdf_file" file="output_file.pdf"/>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
129 </test>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
130 </tests>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
131
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
132 <help><![CDATA[
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
133 **What it does**
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
134
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
135 This tool plot a grouped barplot with multiple data:
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
136
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
137 .. image:: $PATH_TO_IMAGES/output.png
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
138 :scale: 50 %
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
139
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
140 This tool relies on R's barplot function. The input file must be a tabular file with multiple columns: a column with row names (for bar names) and a least a column with data. The output image is customizable (margin, legend positions, ...) and can be export in different format.
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
141 ]]></help>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
142
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
143 <citations>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
144 </citations>
6c9aac0d6ca2 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
bebatut
parents:
diff changeset
145 </tool>