Source: https://www.irit.fr/~Thomas.Pellegrini/ens/M1BIOINF/TP2.pdf