def score_sig_1D_base(true_signatures, pred_signatures):
    """
    percent of mutations with the right signature
    Parameters
    ----------
    true_signatures: iterable
                     array-like of length N (number of mutations), with the
                     true signature for each mutation
    pred_signatures: iterable
                     array-like of length N (number of mutations), with the
                     predicted signature for each mutation
    """
    N = len(true_signatures)
    return sum(true_signatures == pred_signatures) / N