def jaccard_min(seq1, seq2):
    """
    Computes the distance between two sequences using the formula below:

    D(X, Y) = 1 - |X intersection Y| / min(|X|,|Y|)

    :type seq1: a list of of strings
    :param seq1: a sequence
    :type seq2: a list of of strings
    :param seq2: a sequence
    :return dist: the distance
    """
    dist = 1 - len(set(seq1).intersection(set(seq2))) / min(len(set(seq1)), len(set(seq2)))
    return dist