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