## Venn Data Maker

# 15
08-19-2016
Quote:
Originally Posted by jacobs.smith
You are a legend R.Singh. Thank you!
Thank you jsscob.smith, it is all Almigthy's grace on me. Glad it helped you, did you test all permutations and cominations here? As I haven't done that much testing in it, please confirm.

Also thank you for asking this question, please keep asking questions(trying by yourself too), wherever is WILL there is a PATH.

Thanks,
R. Singh

Last edited by RavinderSingh13; 08-19-2016 at 03:52 PM..
 RavinderSingh13 View Public Profile for RavinderSingh13 Find all posts by RavinderSingh13
# 16
08-19-2016
Quote:
Originally Posted by jacobs.smith
.
.
.
Also - the number of lines in the intersectionlist.txt should be equal to = (2^(number of sets))-1
.
.
.
So, with 7 sets there should be 127 lines, no? And the sum of individual set counts should be equal to the No. of lines?

Should g2,1,1,0,1,1,1,1,1 from RavinderSingh13's example be in Set1245678 or in Set12, Set14, Set15, ..., Set78?

Last edited by RudiC; 08-19-2016 at 03:47 PM..
 RudiC View Public Profile for RudiC Find all posts by RudiC
# 17
08-19-2016
Quote:
Originally Posted by RudiC
So, with 7 sets there should be 127 lines, no? And the sum of individual set counts should be equal to the No. of lines?

Should g2,1,1,0,1,1,1,1,1 from RavinderSingh13's example be in Set1245678 or in Set12, Set14, Set15, ..., Set78?
Hi R.Singh,

I checked it with the input file.

But the number of lines in the output.txt doesn't reach to be 127.

I guess, it is printing only the values where there is a common or unique set.

However, I would like to see all combination values.

Thanks
 jacobs.smith View Public Profile for jacobs.smith Find all posts by jacobs.smith
# 18
08-19-2016
OK, try this:
Lines: 63 ( = 2^6 -1 )
Sum (set-values): 8 (8 different genes)

A bit complicated as awk doesn't provide binary operations nor print formats.

Last edited by RudiC; 08-19-2016 at 06:37 PM..
These 2 Users Gave Thanks to RudiC For This Post:
jacobs.smith (08-22-2016) RavinderSingh13 (08-21-2016)
 RudiC View Public Profile for RudiC Find all posts by RudiC
# 19
08-21-2016
Another small refinement:
This User Gave Thanks to RudiC For This Post:
jacobs.smith (08-22-2016)
 RudiC View Public Profile for RudiC Find all posts by RudiC