# HG changeset patch
# User g2cmnty@test-web1.g2.bx.psu.edu
# Date 1308727705 14400
# Node ID 8ea9b4e5a389d3acffb62ccf18959fff4b70cbb5
Uploaded
diff -r 000000000000 -r 8ea9b4e5a389 README.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/README.md Wed Jun 22 03:28:25 2011 -0400
@@ -0,0 +1,31 @@
+prop_venn
+---------
+
+crates proportional venn diagrams from 2 or 3 files using google charts.
+pure python implementation
+
+contains galaxy tool xml (prop_venn.xml)
+
+cli interface expects all arguments for the inputs concatenated
+with , i.e. file1,file2,file3 ...
+
+contains an integration test for the cli interface (vennerTest.py), no galaxy unit tests.
+
+
+
+Proportional Venn Diagram:
+--------------------------
+Creates a proportional Venn diagram from 2 or 3 tab delimited input files.
+The 0 based column index decides which column is used for extracting the sets to compare between the files.
+Multiple items with the same value per column are counted as one.
+
+Requirements:
+-------------
+- 2-3 tab delimited input files.
+- 0 based index of the columns to extract for each file
+
+Outputs:
+--------
+- Html page with the proportional Venn diagram and a table for the counts in each section.
+
+
diff -r 000000000000 -r 8ea9b4e5a389 __init__.py
diff -r 000000000000 -r 8ea9b4e5a389 prop_venn.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/prop_venn.xml Wed Jun 22 03:28:25 2011 -0400
@@ -0,0 +1,75 @@
+
+ from 2-3 sets
+venner.py
+ #if str( $twoThree['tt']) == 'three':
+ --files $inputFile1,$inputFile2,$twoThree.inputFile3
+ --columns $column1,$column2,$twoThree.column3
+ --asNames $asName1,$asName2,$twoThree.asName3
+ #else:
+ --file $inputFile1,$inputFile2
+ --columns $column1,$column2
+ --asNames $asName1,$asName2
+ #end if
+ --title '$title'
+ --size $size
+ --outname $outPath
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Proportional Venn Diagram:
+--------------------------
+Creates a proportional Venn diagram from 2 or 3 tab delimited input files.
+The 0 based column index decides which column is used for extracting the sets to compare between the files.
+Multiple items with the same value per column are counted as one.
+
+Requirements:
+-------------
+- 2-3 tab delimited input files.
+- 0 based index of the columns to extract for each file
+
+Outputs:
+--------
+- Html page with the proportional Venn diagram and a table for the counts in each section.
+
+Please turn to *Ido Tamir* in case of problems or suggestions for this tool.
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 8ea9b4e5a389 testFiles/fileA.tab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testFiles/fileA.tab Wed Jun 22 03:28:25 2011 -0400
@@ -0,0 +1,7 @@
+1 A
+2 B
+3 C
+4 D
+6 A
+7 A
+8 E
diff -r 000000000000 -r 8ea9b4e5a389 testFiles/fileB.tab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testFiles/fileB.tab Wed Jun 22 03:28:25 2011 -0400
@@ -0,0 +1,4 @@
+1 D
+2 A
+3 E
+5 F
\ No newline at end of file
diff -r 000000000000 -r 8ea9b4e5a389 testFiles/fileC.tab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testFiles/fileC.tab Wed Jun 22 03:28:25 2011 -0400
@@ -0,0 +1,6 @@
+4 C
+5 D
+2 A
+3 A
+8 F
+9 G
\ No newline at end of file
diff -r 000000000000 -r 8ea9b4e5a389 testFiles/out.2.expected.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testFiles/out.2.expected.html Wed Jun 22 03:28:25 2011 -0400
@@ -0,0 +1,22 @@
+
+
+
+ Venn diagram
+
+
+
+
+
+
+
+
+
Segment
Size
+
As
5
+
Bs
4
+
As \ Bs
2
+
Bs \ As
1
+
As ∩ Bs
3
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 8ea9b4e5a389 testFiles/out.3.expected.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testFiles/out.3.expected.html Wed Jun 22 03:28:25 2011 -0400
@@ -0,0 +1,27 @@
+
+
+
+ Venn diagram
+
+
+
+