A bioinformatics algorithm that finds similar DNA or protein sequences in a database to identify evolutionary relationships.