./plink --file batch_1.plink –recodeA
which converts the .map and .ped files to a .raw file.
However, sometimes there will be an error as follows:
$ Error: Invalid chromosome code '10_random' on line 462 of .map file.
(Use --allow-extra-chr to force it to be accepted.)
You can look at the specific line to see what is going on