The mutant CAG repeat is located in the Ataxin-2 (ATXN2) gene in SCA2 and the Ataxin-7 (ATXN7) gene in SCA7. Here, ATXN2 is linked to spinocerebellar ataxia type 2.