The normal.ped and normal.map files should be transposed in the mentioned .tped and .tfam format. Please describe the code in R or Bash.