def format_line_stats(kmer_stats):
    """Create a parsable string for the calculated kmer stats."""
    fields = ("total_kmers",
              "unclassified_kmers",
              "ambiguous_kmers",
              "kmer_support")

    formatted_str = "\t".join(str(kmer_stats[x]) for x in fields[:3])
    formatted_str += "\t" + "\x1F".join(str(x) for x in kmer_stats["kmer_support"])
    return formatted_str