def _count_amplicons(amplicon_information, min_depth=0):
    """
        Count number of HaloPlex amplicons for each strand that have fulfilled
        the minimum read depth.

        :param amplicon_information: (string) a jSNPmania generate amplicon information string.
                SNV example: chr1:162722740-162722971:+:1|chr1:162722740-162722971:-:241#chr1:162722740-162722971:+:195
                Insertion/Deletion example: (0,0):chr1:162722740-162722971:+:1
        :param min_depth: (int) min required read depth for an amplicon to be included

        :return
            (int,int) --> (number of plus strand amplicons, number of minus strand amplicons)
    """
    plus_strand_amplicons, minus_strand_amplicons = 0, 0

    for amplicon in amplicon_information.split("#"):
        strand, depth = amplicon.split(":")[-2:]
        if int(depth) >= min_depth:
            if strand == "+":
                plus_strand_amplicons+=1
            else:
                minus_strand_amplicons+=1
    return (plus_strand_amplicons, minus_strand_amplicons)