annotate histogram2.xml @ 1:549d2cb4c6f2 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dna_filtering commit a1517c9d22029095120643bbe2c8fa53754dd2b7
author devteam
date Wed, 11 Nov 2015 12:11:01 -0500
parents a6f0d355b05f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="histogram_rpy" name="Histogram" version="1.0.3">
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
2 <description>of a numeric column</description>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="1.0.3">rpy</requirement>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
5 <requirement type="package" version="2.11.0">R</requirement>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
6 </requirements>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
7 <command interpreter="python">histogram.py $input $out_file1 $numerical_column "$title" "$xlab" $breaks $density $frequency</command>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
8 <inputs>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
9 <param name="input" type="data" format="tabular" label="Dataset" help="Dataset missing? See TIP below"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
10 <param name="numerical_column" type="data_column" data_ref="input" numerical="True" label="Numerical column for x axis" />
1
549d2cb4c6f2 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dna_filtering commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
11 <param name="breaks" type="integer" value="0" label="Number of breaks (bars)"/>
549d2cb4c6f2 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dna_filtering commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
12 <param name="title" type="text" value="Histogram" label="Plot title"/>
549d2cb4c6f2 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dna_filtering commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
13 <param name="xlab" type="text" value="V1" label="Label for x axis"/>
0
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
14 <param name="density" type="boolean" checked="yes" label="Include smoothed density"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
15 <param name="frequency" type="boolean" checked="no" label="Plot as frequency (counts)"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
16 </inputs>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
17 <outputs>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
18 <data format="pdf" name="out_file1" />
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
19 </outputs>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
20 <tests>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
21 <test>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
22 <param name="input" value="histogram_in1.tabular" ftype="tabular"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
23 <param name="numerical_column" value="2"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
24 <param name="breaks" value="0"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
25 <param name="title" value="Histogram"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
26 <param name="xlab" value="V1"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
27 <param name="density" value="true"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
28 <param name="frequency" value="false"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
29 <output name="out_file1" file="histogram_out1.pdf"/>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
30 </test>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
31 </tests>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
32 <help>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
33
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
34 .. class:: infomark
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
35
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
36 **TIP:** To remove comment lines that do not begin with a *#* character, use *Text Manipulation-&gt;Remove beginning*
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
37
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
38 .. class:: infomark
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
39
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
40 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert*
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
41
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
42 -----
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
43
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
44 **Syntax**
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
45
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
46 This tool computes a histogram of the numerical values in a column of a dataset.
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
47
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
48 - All invalid, blank and comment lines in the dataset are skipped. The number of skipped lines is displayed in the resulting history item.
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
49 - **Column for x axis** - only numerical columns are possible.
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
50 - **Number of breaks(bars)** - breakpoints between histogram cells. Value of '0' will determine breaks automatically.
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
51 - **Plot title** - the histogram title.
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
52 - **Label for x axis** - the label of the x axis for the histogram.
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
53 - **Include smoothed density** - if checked, the resulting graph will join the given corresponding points with line segments.
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
54
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
55 -----
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
56
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
57 **Example**
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
58
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
59 - Input file::
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
60
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
61 1 68 4.1
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
62 2 71 4.6
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
63 3 62 3.8
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
64 4 75 4.4
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
65 5 58 3.2
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
66 6 60 3.1
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
67 7 67 3.8
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
68 8 68 4.1
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
69 9 71 4.3
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
70 10 69 3.7
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
71
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
72 - Create a histogram on column 2 of the above dataset.
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
73
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
74 .. image:: histogram2.png
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
75
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
76 </help>
a6f0d355b05f Imported from capsule None
devteam
parents:
diff changeset
77 </tool>