def getCisDist(df):
    """Calcualtes percentage of reads at certain distance"""
    result = {}
    for dist in [
        "cis_1kb+",
        "cis_2kb+",
        "cis_4kb+",
        "cis_10kb+",
        "cis_20kb+",
        "cis_40kb+",
    ]:
        result[dist] = (
            df.loc[df[0] == dist, 1].values[0]
            / df.loc[df[0] == "pair_types/UU", 1].values[0]
        )
    return result