translate sequences and calculate Dn/Ds