def _get_weight(pread, tag='YC'):
    """ tag is 'number of candidates mapped'
    """
    aln = pread.alignment
    try:
        return 1.0 / (aln.get_tag(tag) + 1)
    except KeyError:
        return 1.0
