PANDA: Protein function prediction using domain architecture and affinity propagation