annotate vennerable/unused/Vennerable.xml_backup_png @ 0:77bbf955e8de default tip

initial commit
author eric
date Thu, 06 Nov 2014 15:07:54 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
77bbf955e8de initial commit
eric
parents:
diff changeset
1 <tool id="Vennerable" name="Vennerable" version="0.9" >
77bbf955e8de initial commit
eric
parents:
diff changeset
2 <description>: Plot data in Venn or Venn-like diagrams</description>
77bbf955e8de initial commit
eric
parents:
diff changeset
3 <command>
77bbf955e8de initial commit
eric
parents:
diff changeset
4 #if $opt.userSpecified == "Yes"
77bbf955e8de initial commit
eric
parents:
diff changeset
5 R --slave --vanilla --file=$GALAXY_ROOT_DIR/tools/WURtools/R_tools/Vennerable.R
77bbf955e8de initial commit
eric
parents:
diff changeset
6 --args $inputFile
77bbf955e8de initial commit
eric
parents:
diff changeset
7 default
77bbf955e8de initial commit
eric
parents:
diff changeset
8 $weighting
77bbf955e8de initial commit
eric
parents:
diff changeset
9 $outputFile
77bbf955e8de initial commit
eric
parents:
diff changeset
10 $plottype
77bbf955e8de initial commit
eric
parents:
diff changeset
11 $resolution
77bbf955e8de initial commit
eric
parents:
diff changeset
12 2&gt;$Vennerable_log
77bbf955e8de initial commit
eric
parents:
diff changeset
13 1&gt;&gt;$Vennerable_log
77bbf955e8de initial commit
eric
parents:
diff changeset
14 #else
77bbf955e8de initial commit
eric
parents:
diff changeset
15 R --slave --vanilla --file=$GALAXY_ROOT_DIR/tools/WURtools/R_tools/Vennerable.R
77bbf955e8de initial commit
eric
parents:
diff changeset
16 --args $inputFile
77bbf955e8de initial commit
eric
parents:
diff changeset
17 "$opt.xNames"
77bbf955e8de initial commit
eric
parents:
diff changeset
18 $weighting
77bbf955e8de initial commit
eric
parents:
diff changeset
19 $outputFile
77bbf955e8de initial commit
eric
parents:
diff changeset
20 $plottype
77bbf955e8de initial commit
eric
parents:
diff changeset
21 $resolution
77bbf955e8de initial commit
eric
parents:
diff changeset
22 2&gt;$Vennerable_log
77bbf955e8de initial commit
eric
parents:
diff changeset
23 1&gt;&gt;$Vennerable_log
77bbf955e8de initial commit
eric
parents:
diff changeset
24 #end if
77bbf955e8de initial commit
eric
parents:
diff changeset
25 </command>
77bbf955e8de initial commit
eric
parents:
diff changeset
26 <inputs>
77bbf955e8de initial commit
eric
parents:
diff changeset
27 <param name="inputFile" format="tabular" type="data" label="Data set" />
77bbf955e8de initial commit
eric
parents:
diff changeset
28 <conditional name="opt">
77bbf955e8de initial commit
eric
parents:
diff changeset
29 <param name="userSpecified" type="select" label="Use column headers as dataset names?">
77bbf955e8de initial commit
eric
parents:
diff changeset
30 <option value="Yes">Yes</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
31 <option value="No">No</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
32 </param>
77bbf955e8de initial commit
eric
parents:
diff changeset
33 <when value="Yes">
77bbf955e8de initial commit
eric
parents:
diff changeset
34 </when>
77bbf955e8de initial commit
eric
parents:
diff changeset
35 <when value="No">
77bbf955e8de initial commit
eric
parents:
diff changeset
36 <param name="xNames" type="text" label="Alternative data names" value="A,B,C,D" help="(comma-separated)"/>
77bbf955e8de initial commit
eric
parents:
diff changeset
37 </when>
77bbf955e8de initial commit
eric
parents:
diff changeset
38 </conditional>
77bbf955e8de initial commit
eric
parents:
diff changeset
39 <param name="plottype" type="select" label="Plot type to use" help="some other options might get disabled for certain plottypes" >
77bbf955e8de initial commit
eric
parents:
diff changeset
40 <option value="AWFE" selected="True">AWFE: Edwards-Venn (Non-weighted)</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
41 <option value="ChowRuskey">Chow-Ruskey (always weigthed)</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
42 <option value="ellipses">Ellipses (4 datasets only and always non-weighted)</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
43 <option value="circles">Circles (max 3 datasets)</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
44 <option value="squares">Squares (max 4 datasets non-weighted)</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
45 </param>
77bbf955e8de initial commit
eric
parents:
diff changeset
46 <param name="weighting" type="select" label="Use weighting for data in plot" >
77bbf955e8de initial commit
eric
parents:
diff changeset
47 <option value="FALSE" selected="True">Non-weighted</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
48 <option value="TRUE">Weighted</option>
77bbf955e8de initial commit
eric
parents:
diff changeset
49 </param>
77bbf955e8de initial commit
eric
parents:
diff changeset
50 <param name="resolution" type="integer" label="Resolution to use (dpi)" value="150" help="Plot features can be sized with this setting. Lower (50) is larger text." />
77bbf955e8de initial commit
eric
parents:
diff changeset
51 </inputs>
77bbf955e8de initial commit
eric
parents:
diff changeset
52 <outputs>
77bbf955e8de initial commit
eric
parents:
diff changeset
53 <data name="outputFile" format="png" label="Venn diagram of ${inputFile.name}"/>
77bbf955e8de initial commit
eric
parents:
diff changeset
54 <data name="Vennerable_log" format="tabular" label="Vennerable output and error log file" />
77bbf955e8de initial commit
eric
parents:
diff changeset
55 </outputs>
77bbf955e8de initial commit
eric
parents:
diff changeset
56 <tests>
77bbf955e8de initial commit
eric
parents:
diff changeset
57 <test>
77bbf955e8de initial commit
eric
parents:
diff changeset
58 </test>
77bbf955e8de initial commit
eric
parents:
diff changeset
59 </tests>
77bbf955e8de initial commit
eric
parents:
diff changeset
60 <requirements>
77bbf955e8de initial commit
eric
parents:
diff changeset
61 <requirement type="binary">R</requirement>
77bbf955e8de initial commit
eric
parents:
diff changeset
62 </requirements>
77bbf955e8de initial commit
eric
parents:
diff changeset
63 <help>
77bbf955e8de initial commit
eric
parents:
diff changeset
64 |
77bbf955e8de initial commit
eric
parents:
diff changeset
65
77bbf955e8de initial commit
eric
parents:
diff changeset
66
77bbf955e8de initial commit
eric
parents:
diff changeset
67 **What it does**
77bbf955e8de initial commit
eric
parents:
diff changeset
68
77bbf955e8de initial commit
eric
parents:
diff changeset
69 Vennerable V2.0 (09-10-2009)
77bbf955e8de initial commit
eric
parents:
diff changeset
70
77bbf955e8de initial commit
eric
parents:
diff changeset
71 This tool will use the Vennerable R package to plot data as weighted or un-weighted diagrams such as Venn, Edwards-Venn and Chow-Rusky.
77bbf955e8de initial commit
eric
parents:
diff changeset
72
77bbf955e8de initial commit
eric
parents:
diff changeset
73 The tool can take 2 to 7 collumns of data but more are adviced not to be used (for speed and clarity).
77bbf955e8de initial commit
eric
parents:
diff changeset
74
77bbf955e8de initial commit
eric
parents:
diff changeset
75 -----
77bbf955e8de initial commit
eric
parents:
diff changeset
76
77bbf955e8de initial commit
eric
parents:
diff changeset
77 **Input**
77bbf955e8de initial commit
eric
parents:
diff changeset
78
77bbf955e8de initial commit
eric
parents:
diff changeset
79 It takes a tabular file containing identifiers. Matches will be calculated automatically.
77bbf955e8de initial commit
eric
parents:
diff changeset
80
77bbf955e8de initial commit
eric
parents:
diff changeset
81 Be sure to specify headers if you haven't any in your dataset! Otherwise the top row of data will be excluded.
77bbf955e8de initial commit
eric
parents:
diff changeset
82
77bbf955e8de initial commit
eric
parents:
diff changeset
83 ::
77bbf955e8de initial commit
eric
parents:
diff changeset
84
77bbf955e8de initial commit
eric
parents:
diff changeset
85 DataA DataB DataC DataD
77bbf955e8de initial commit
eric
parents:
diff changeset
86 HUM1 AGK2 AGK2 RTT3
77bbf955e8de initial commit
eric
parents:
diff changeset
87 AGK2 ZZE3 ERT3 ZPD3
77bbf955e8de initial commit
eric
parents:
diff changeset
88 ZPD3 AAW3 RTT3 WER2
77bbf955e8de initial commit
eric
parents:
diff changeset
89 WER2 HUM1 RRW4 DUM1
77bbf955e8de initial commit
eric
parents:
diff changeset
90
77bbf955e8de initial commit
eric
parents:
diff changeset
91 -----
77bbf955e8de initial commit
eric
parents:
diff changeset
92
77bbf955e8de initial commit
eric
parents:
diff changeset
93 **Example**
77bbf955e8de initial commit
eric
parents:
diff changeset
94
77bbf955e8de initial commit
eric
parents:
diff changeset
95 .. image:: ../static/images/WURtools/VennerablePlot.png
77bbf955e8de initial commit
eric
parents:
diff changeset
96
77bbf955e8de initial commit
eric
parents:
diff changeset
97 -----
77bbf955e8de initial commit
eric
parents:
diff changeset
98
77bbf955e8de initial commit
eric
parents:
diff changeset
99 **References**
77bbf955e8de initial commit
eric
parents:
diff changeset
100
77bbf955e8de initial commit
eric
parents:
diff changeset
101 - alex.bossers@wur.nl
77bbf955e8de initial commit
eric
parents:
diff changeset
102 - Vennerable R package: http://r-forge.r-project.org/projects/vennerable/
77bbf955e8de initial commit
eric
parents:
diff changeset
103
77bbf955e8de initial commit
eric
parents:
diff changeset
104 -----
77bbf955e8de initial commit
eric
parents:
diff changeset
105
77bbf955e8de initial commit
eric
parents:
diff changeset
106 .. class:: infomark
77bbf955e8de initial commit
eric
parents:
diff changeset
107
77bbf955e8de initial commit
eric
parents:
diff changeset
108 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert*
77bbf955e8de initial commit
eric
parents:
diff changeset
109
77bbf955e8de initial commit
eric
parents:
diff changeset
110
77bbf955e8de initial commit
eric
parents:
diff changeset
111 </help>
77bbf955e8de initial commit
eric
parents:
diff changeset
112 </tool>