Assignment of homology to genome sequences using a library of hidden Markov models that represent all proteins of known structure