Hi to all
Good Afternoon
I have example data like this, but in original data i have columns more 1200
ID SNP1 SNP2 SNP3 SNP4 SNP5 SNP6 SNP7 SNP8
1 A/A T/T T/G A/G MISSING T/T MISSING T/T
2 A/A A/A T/G G/G G/G MISSING MISSING T/G
now i would like to select ONLY columns containing any combinations of these A/T,A/G,A/C,T/A,T/G,T/C,G/A,G/T,/G/C,C/A,C/T,C/G, MISSING either in ID 1 or ID2 i.e. to select below columns only
SNP1
SNP3
SNP4
SNP5
SNP6
SNP7
SNP8
can any one help me with formula to find solution to my problem, any help in this regard will be highly appreciated
Thanks in advance
Regards
Genetist
Bookmarks