code: def populate_results_dict(self, sample, gene, total_mismatches, genome_pos, amplicon_length, contig, primer_set):
          
          sample[self.analysistype].result_dict[gene] = {
              'total_mismatches': total_mismatches,
              'genome_pos': genome_pos,
              'amplicon_length': amplicon_length,
              'contig': contig,
              'primer_set': primer_set
          }
docs: Populate the results dictionary with the required key: value pairs
          :param sample: type MetadataObject: Current metadata sample to process
          :param gene: type STR: Gene of interest
          :param total_mismatches: type INT: Number of mismatches between primer pairs and subject sequence
          :param genome_pos: type STR: Positions of 5' and 3' ends of the amplicon
          :param amplicon_length: type INT: Total length of the amplicon
          :param contig: type STR: Contig name
          :param primer_set: type STR: Name of primer set from the ePCR-formatted file used in the analyses