Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
Found bug in loop over file 2 hash. Was counting some twice because of it.
authorelserj <elserj@localhost>
Wed, 2 Dec 2015 22:46:19 +0000 (22:46 +0000)
committerelserj <elserj@localhost>
Wed, 2 Dec 2015 22:46:19 +0000 (22:46 +0000)
svn path=/; revision=639

interactome_scripts/SNP_venn_stats.pl

index ade720ef31b1898e08e79c4568616bcfe60d215e..086576a8713a0bbd1ef0c03b5770b724dbc022b9 100755 (executable)
@@ -100,12 +100,9 @@ foreach my $key (keys %file1hash) {
 
 foreach my $key (keys %file2hash) {
                #check if in file3
-               if(defined($file3hash{$key})) {
+               if(defined($file3hash{$key}) && !defined($file1hash{$key})) {
                                $count_file_23++;
                }
-               if(defined($file1hash{$key})) {
-                               $count_file_21++;
-               }
 }