annotate prop_venn.xml @ 1:cc6707a1e044 draft default tip

added fixes from Brad Langhorst; https://bitbucket.org/account/notifications/read/3443176/patch-for-proportional-venn-tool-in-galaxy; added tool_dependencies for Mako template untested
author Ido Tamir <ido.tamir@imp.ac.at>
date Mon, 24 Sep 2012 16:46:21 +0200
parents 8ea9b4e5a389
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
cc6707a1e044 added fixes from Brad Langhorst; https://bitbucket.org/account/notifications/read/3443176/patch-for-proportional-venn-tool-in-galaxy; added tool_dependencies for Mako template untested
Ido Tamir <ido.tamir@imp.ac.at>
parents: 0
diff changeset
1 <tool id="prop_venn" name="proportional venn" version="0.5">
0
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
2 <description> from 2-3 sets</description>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
3 <command interpreter="python">venner.py
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
4 #if str( $twoThree['tt']) == 'three':
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
5 --files $inputFile1,$inputFile2,$twoThree.inputFile3
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
6 --columns $column1,$column2,$twoThree.column3
1
cc6707a1e044 added fixes from Brad Langhorst; https://bitbucket.org/account/notifications/read/3443176/patch-for-proportional-venn-tool-in-galaxy; added tool_dependencies for Mako template untested
Ido Tamir <ido.tamir@imp.ac.at>
parents: 0
diff changeset
7 --asNames "$asName1","$asName2","$twoThree.asName3"
0
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
8 #else:
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
9 --file $inputFile1,$inputFile2
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
10 --columns $column1,$column2
1
cc6707a1e044 added fixes from Brad Langhorst; https://bitbucket.org/account/notifications/read/3443176/patch-for-proportional-venn-tool-in-galaxy; added tool_dependencies for Mako template untested
Ido Tamir <ido.tamir@imp.ac.at>
parents: 0
diff changeset
11 --asNames "$asName1","$asName2"
0
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
12 #end if
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
13 --title '$title'
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
14 --size $size
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
15 --outname $outPath
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
16 </command>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
17 <inputs>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
18 <param name="title" label="title" type="text" help="title of plot" optional="true" value=""/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
19 <param name="size" label="size" type="integer" help="size of plot ( &lt; 540)" optional="true" value="300"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
20
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
21 <param format="tabular" name="inputFile1" label="input file 1" type="data" help="tabular input file" optional="false"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
22 <param name="column1" label="column index" type="integer" help="0 based index of element column" optional="false" value="0"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
23 <param name="asName1" label="as name" type="text" help="nice name for columns on plot" optional="false" value="A"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
24
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
25 <param format="tabular2" name="inputFile2" label="input file 2" type="data" help="tabular input file" optional="false"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
26 <param name="column2" label="column index file 2" type="integer" help="0 based index of element column" optional="false" value="0"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
27 <param name="asName2" label="as name file 2" type="text" help="nice name for columns on plot" optional="false" value="B"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
28
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
29 <conditional name="twoThree">
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
30 <param name="tt" type="select" label="two or three">
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
31 <option value="two" selected="true">two</option>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
32 <option value="three">three</option>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
33 </param>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
34 <when value="two">
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
35 </when>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
36 <when value="three">
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
37 <param format="tabular" name="inputFile3" label="input file 3" type="data" help="tabular input file" optional="false"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
38 <param name="column3" label="column index file 3" type="integer" help="0 based index of element column" optional="false" value="0"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
39 <param name="asName3" label="as name file 3" type="text" help="nice name for columns on plot" optional="false" value="C"/>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
40 </when>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
41 </conditional>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
42 </inputs>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
43
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
44 <outputs>
1
cc6707a1e044 added fixes from Brad Langhorst; https://bitbucket.org/account/notifications/read/3443176/patch-for-proportional-venn-tool-in-galaxy; added tool_dependencies for Mako template untested
Ido Tamir <ido.tamir@imp.ac.at>
parents: 0
diff changeset
45 <data name="outPath" format="html" label="${title}"/>
0
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
46 </outputs>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
47
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
48 <help>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
49
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
50 Proportional Venn Diagram:
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
51 --------------------------
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
52 Creates a proportional Venn diagram from 2 or 3 tab delimited input files.
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
53 The 0 based column index decides which column is used for extracting the sets to compare between the files.
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
54 Multiple items with the same value per column are counted as one.
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
55
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
56 Requirements:
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
57 -------------
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
58 - 2-3 tab delimited input files.
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
59 - 0 based index of the columns to extract for each file
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
60
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
61 Outputs:
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
62 --------
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
63 - Html page with the proportional Venn diagram and a table for the counts in each section.
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
64
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
65 Please turn to *Ido Tamir* in case of problems or suggestions for this tool.
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
66
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
67
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
68
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
69 </help>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
70
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
71 </tool>
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
72
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
73
8ea9b4e5a389 Uploaded
g2cmnty@test-web1.g2.bx.psu.edu
parents:
diff changeset
74