Biological sequences come in families

If we know some sequences belonging to a family, for a new query sequence we can directly try to get the distance score through pairwise searching.