r"""
    Parameters
    ----------
    bim : pandas.DataFrame
        Variant annotation
    geno_range : tuple
        (chrom, pos_start, pos_end)

    Returns
    -------
    Isnp : bool array
        Variant filter

def is_in(bim, geno_range):
    r"""
    Parameters
    ----------
    bim : pandas.DataFrame
        Variant annotation
    geno_range : tuple
        (chrom, pos_start, pos_end)

    Returns
    -------
    Isnp : bool array
        Variant filter
    """
    Ichrom = bim.chrom == geno_range[0]
    Ipos1 = bim.pos >= geno_range[1]
    Ipos2 = bim.pos < geno_range[2]
    return Ichrom & Ipos1 & Ipos2