I have converted a vcf file to map and ped file by plink. Here is an example of the map file format:
SNP. genetic map physical map rs1234. 0 100 rs5678. 0 200 rs9123. 0 300 rs456 0 400 rs... 0 500
I would like to convert the physical map to genetic distance (genetic map) to replace all the zeros. I there any efficient solution to this?