def format_data_types(s):
  """
  apply the correct data type to each value in the list created from a comma
  separated sting "s"

  x1: PDB ID (string)
  x2: Macro molecule overlaps (int)
  x3: Symmetry overlaps (int)
  x4: All overlaps (int)
  x5: Macro molecule overlaps per 1000 atoms (float)
  x6: Symmetry overlaps per 1000 atoms (float)
  x7: All overlaps per 1000 atoms (float)
  x8: year model deposited in PDB (int)
  x9: experiment type (string)
  """
  d = [x.strip() for x in s.split(',')]
  if len(d) == 9:
    # integer values
    for i in [1,2,3,7]:
      d[i] = int(d[i])
    # float values
    for i in [4,5,6]:
      d[i] = round(float(d[i]),1)
    return d
  else:
    return None