def match_maps(conpredlist,pdbmap):
    """
    Obtain several scores for an interface matched contact prediction map

    Parameters
    ----------
    conpredlist : Conkit Contact Map
        Contact prediction list
    pdbmap : str
        File path to contact list file containing interface pdb contacts

    Returns
    -------
    matchedmap : Conkit Contact Map
        The matched map (pdb interface + contact prediction list).
    cnt : int
        The number of True Positives.
    jaccardindex : float
        The Jaccard Index
    AvScore : float
        The average score of all True Positives.
    AccScore : float
        The accumulated score of all True Positives.
    probability : float
        The interface score.
    """
    matchedmap = conpredlist.match(pdbmap, add_false_negatives=False,inplace=False)
    cnt=0
    AccScore=0.0
    probability = 1.0
    for contact in matchedmap:
        if contact.true_positive:
            cnt += 1
            AccScore += contact.raw_score
            probability *= (1.0 - contact.raw_score)
    jaccardindex=conpredlist.get_jaccard_index(pdbmap)
    probability = 1.0 - probability
    if cnt > 0:
        AvScore = AccScore / cnt
    else:
        AvScore=0

    return matchedmap, cnt, jaccardindex, AvScore, AccScore, probability