 It detects homology by comparing a profile-HMM to either a single sequence or a database of sequences.Sequences that score significantly better to the profile-HMM compared to a null model are considered to be homologous to the sequences that were used to construct the profile-HMM.Profile-HMMs are constructed from a multiple sequence alignment in the HMMER package using the "hmmbuild" program.