The MSH2 gene encodes a protein involved in the post-replication repair of mismatched DNA. The MSH2 protein forms a heterodimer with MHS6 called MutS alpha and with MHS3 called MutS beta. These heterodimers bind to mismatches in the DNA strand, thereby initiating DNA repair.