A method used to assign functional annotations to genes based on their sequence similarity to other known functional genes.