def is_in(bim, geno_range):
Ichrom = bim.chrom == geno_range[<NUM_LIT:0>]<EOL>Ipos1 = bim.pos >= geno_range[<NUM_LIT:1>]<EOL>Ipos2 = bim.pos < geno_range[<NUM_LIT:2>]<EOL>return Ichrom & Ipos1 & Ipos2<EOL>
r"""
    Parameters
    ----------
    bim : pandas.DataFrame
        Variant annotation
    geno_range : tuple
        (chrom, pos_start, pos_end)

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