def counts_to_af(counts):
    return "{" % ",".join("{}:{}".format(k, v) for k, v in sorted(counts.items())) + "}"
dataset/ETHPy150Open tanghaibao/jcvi/variation/str.py/counts_to_af/operator `+` -> `%`