code: def parse_summary(self, contents):
          
  
          lines = contents.strip().split('\n')
  
          data = {}
          for row in lines[1:]:
              split = row.strip().split('\t')
  
              sample = split[0]
  
              data[sample] = {
                  'species_a': int(split[1]),
                  'species_b': int(split[2]),
                  'ambiguous': int(split[3])
              }
  
          return data
docs: Parses summary file into a dictionary of counts.