Effects of mutations on genetic variation