def avg_list(jac_list):
    """Average a list of jaccard results

    This is useful for computations like pairwise which need summarization
    """
    if len(jac_list) == 0:
        return 0
    return sum(jac_list)/float(len(jac_list))