there is a section on Mega software called DISTANCE. select COMPTUTE PAIRWISE DISTANCES. the software will ask you to select your aligned sequences. as a result you will get your data under table framework.
The linkage distance is calculated by dividing the total number of recombinant gametes into the total number of gametes. This is the same approach we used with the two-point analyses that we performed earlier.