So, I have a file like that:file1: three columnsSNP Id Geno1 a AB2 a AB3 a BB. . .. . .. . .1 b AB2 b BB3 b AB. . .. . .. . .1 c AA2 c AB3 c AA. . .. . .. . .and I need a file like that:file2: as many columns as the numbers of ID with their genotypesSNP Genoa Genob Genoc . . .1 AB AB AA2 AB BB AB3 BB AB AA. . . .. . . .. . . .Can anyone help with that?? thank you
separate one data from one column by repeated characters into as many columns as the uniq characters
text processing