I have two txt file (file1: genotype.txt and file2: 6first coloum of ped), I used them to make ped with paste file1.txt file2.txt which use it for make a ped. the problem is that when I run plink with :
Options in effect:
--ped scottsheep.ped --map scottisheep.map --noweb
it give me this error:
52857 (of 52857) markers to be included from [ scottisheep.map ] ERROR: A problem with line 1 in [ scottsheep.ped ] Expecting 6 + 2 * 52857 = 105720 columns, but found 52864
when I chek the ped file I found that I have successfully added all of the required information columns and just need to split all of my SNP columns which are currently in the following format ("AA") into two separate columns per SNP ("A" "A"). I search it and I know it could be solve in R, But I am new in use R. dose any command for txt file in bash which can split a colom to two coloum .
I am tired to search for this and not found any slouction.
dose any one has any suggestion for me?