def parse_pairs(pairs):
    """Parse lines like X=5,Y=56, and returns a dict."""
    # ENST00000002501=0.1028238844578573,ENST00000006053=0.16846186988367085,
    # the last elem is always ""
    data = {x.split("=")[0]: x.split("=")[1] for x in pairs.split(",")[:-1]}
    return data