Allele coding
This function can handle genetic data with different allele coding: 2 or 3
digit coding for microsatellite data or 2 digit coding for SNPs (A,C,T,G
become respectively 01, 02, 03, 04).
Individuals order
When individuals in input data are not ordered by populations, individuals
from the same population can be separated by individuals from other
populations. It can be problematic when calculating then pairwise distance
matrices. Therefore, in such a case, individuals are ordered by populations
and populations ordered in alphabetic order.