<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_mutation_file(self, list_of_tuples):
 """Create the FoldX file 'individual_list.txt' to run BuildModel upon. Args: list_of_tuples (list):
 A list of tuples indicating mutation groups to carry out BuildModel upon. Example:: [ (('N', 'A', 308, 'S'), ('S', 'A', 320, 'T'), ('S', 'A', 321, 'H')), # Mutation group 1 (('S', 'A', 321, 'R'), ('T', 'A', 345, 'S')) # Mutation group 2 ] """


        self.mutation_infile = op.join(self.foldx_dir, 'individual_list.txt')

        idx = 1

        with open(self.mutation_infile, 'w') as f:
            for mutant_group in list_of_tuples:
                # Write the mutation string to the file
                mutstring = ''.join(list(map(lambda x: '{}{}{}{};'.format(x[0], x[1], x[2], x[3]), mutant_group)))
                f.write(mutstring + '\n')

                # Also keep track of the index being used for this mutation
                self.mutation_index_to_group[idx] = mutant_group
                idx += 1