def test_x_affected_male_ref_call():
    
    family_lines = [
        "#FamilyID\tSampleID\tFather\tMother\tSex\tPhenotype\n",
        "1\tproband\t0\t0\t1\t2\n"
    ]
    
    family = get_family(family_lines=family_lines)
    
    homozygote_variant = {'genotypes': {}}
    homozygote_variant['genotypes']['proband'] = Genotype(**{'GT':'0/0'})
    
    assert check_X_dominant(
        variant = homozygote_variant,
        family = family
    ) == False
Test an affected ref call male
dataset/ETHPy150Open moonso/genmod/tests/genetic_models/test_x_dominant.py/test_x_affected_male_ref_call