Extracting information from protein sequences using random replacement mutagenesis