Analysis of shuffled gene libraries