This will take an alignment, will calculate the evolutionary distance between
all pairs of sequence, and will transform the distance matrix to long
format. It will remove upper triangle, and diagonal elements, so you
end with only (n)*(n-1)/2 rows, where n are the total number of rows in
the distance matrix.