Mercurial > repos > idot > prop_venn
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 |
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 | 2 <description> from 2-3 sets</description> |
3 <command interpreter="python">venner.py | |
4 #if str( $twoThree['tt']) == 'three': | |
5 --files $inputFile1,$inputFile2,$twoThree.inputFile3 | |
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 | 8 #else: |
9 --file $inputFile1,$inputFile2 | |
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 | 12 #end if |
13 --title '$title' | |
14 --size $size | |
15 --outname $outPath | |
16 </command> | |
17 <inputs> | |
18 <param name="title" label="title" type="text" help="title of plot" optional="true" value=""/> | |
19 <param name="size" label="size" type="integer" help="size of plot ( < 540)" optional="true" value="300"/> | |
20 | |
21 <param format="tabular" name="inputFile1" label="input file 1" type="data" help="tabular input file" optional="false"/> | |
22 <param name="column1" label="column index" type="integer" help="0 based index of element column" optional="false" value="0"/> | |
23 <param name="asName1" label="as name" type="text" help="nice name for columns on plot" optional="false" value="A"/> | |
24 | |
25 <param format="tabular2" name="inputFile2" label="input file 2" type="data" help="tabular input file" optional="false"/> | |
26 <param name="column2" label="column index file 2" type="integer" help="0 based index of element column" optional="false" value="0"/> | |
27 <param name="asName2" label="as name file 2" type="text" help="nice name for columns on plot" optional="false" value="B"/> | |
28 | |
29 <conditional name="twoThree"> | |
30 <param name="tt" type="select" label="two or three"> | |
31 <option value="two" selected="true">two</option> | |
32 <option value="three">three</option> | |
33 </param> | |
34 <when value="two"> | |
35 </when> | |
36 <when value="three"> | |
37 <param format="tabular" name="inputFile3" label="input file 3" type="data" help="tabular input file" optional="false"/> | |
38 <param name="column3" label="column index file 3" type="integer" help="0 based index of element column" optional="false" value="0"/> | |
39 <param name="asName3" label="as name file 3" type="text" help="nice name for columns on plot" optional="false" value="C"/> | |
40 </when> | |
41 </conditional> | |
42 </inputs> | |
43 | |
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 | 46 </outputs> |
47 | |
48 <help> | |
49 | |
50 Proportional Venn Diagram: | |
51 -------------------------- | |
52 Creates a proportional Venn diagram from 2 or 3 tab delimited input files. | |
53 The 0 based column index decides which column is used for extracting the sets to compare between the files. | |
54 Multiple items with the same value per column are counted as one. | |
55 | |
56 Requirements: | |
57 ------------- | |
58 - 2-3 tab delimited input files. | |
59 - 0 based index of the columns to extract for each file | |
60 | |
61 Outputs: | |
62 -------- | |
63 - Html page with the proportional Venn diagram and a table for the counts in each section. | |
64 | |
65 Please turn to *Ido Tamir* in case of problems or suggestions for this tool. | |
66 | |
67 | |
68 | |
69 </help> | |
70 | |
71 </tool> | |
72 | |
73 | |
74 |