Evolution of protein structural classes and protein sequence families