code: def parse_unifrac_v1_8(unifrac, file_data):
      
      for line in file_data:
          if line == "":
              break
          line = line.split("\t")
          unifrac["pcd"][line[0]] = [float(e) for e in line[1:]]
  
      unifrac["eigvals"] = [float(entry) for entry in file_data[-2].split("\t")[1:]]
      unifrac["varexp"] = [float(entry) for entry in file_data[-1].split("\t")[1:]]
      return unifrac
docs: Function to parse data from older version of unifrac file obtained from Qiime version
      1.8 and earlier.
  
      :type unifrac: dict
      :param unifracFN: The path to the unifrac results file
  
      :type file_data: list
      :param file_data: Unifrac data lines after stripping whitespace characters.