local similarity functions used in gene calling models