def getCisTrans(df):
    """Calcualtes percentage of cis and trans chromosomal reads"""
    cis = (
        df.loc[df[0] == "cis", 1].values[0]
        / df.loc[df[0] == "total_nodups", 1].values[0]
    )
    trans = (
        df.loc[df[0] == "trans", 1].values[0]
        / df.loc[df[0] == "total_nodups", 1].values[0]
    )
    return {"cis": cis, "trans": trans}