Distance metrics on small genomes