I have a set of genomic regions (in bed format) and I want to find their cM distance from the nearest gene.
I know that it would need the human genetic map for the recombination rates. I am considering hg18 reference genome here. So I got the recombination map from here: http://www.well.ox.ac.uk/%7Eanjali/AAmap/
The format of the recombination map is something like this:
Physical_Position_Build36(hg18) Genetic_Map(cM)
742584 0
744045 8.96305756252859e-09
750775 4.12689390157335e-08
758311 8.14337595996149e-08
766409 1.32596464295120e-07
769185 1.46222766745286e-07
But my genomic intervals are like these:
chr1 751448 752765 NR_024321
chr1 752833 784689 NR_047519
chr1 752833 768847 NR_047526
chr1 752833 784689 NR_047524
chr1 752833 784689 NR_047523
Should I just find the position of the reference map for each genomic interval and assign the cM value for that interval? This will probably just give the distance of each region in cM, but I want their distance from the nearest gene in cM.
Or if there is some other way? Or is there any tool do do that?
Please help!