Relatedness of biological sequences using alignment and restriction map databases