def test_ibd(): samples = ['101976-101976', '100920-100920', '100231-100231'] vcf = VCF(VCF_PATH, gts012=True, samples=samples) res = vcf.ibd() assert len(res) == 3, (len(res)) arr = res[('101976-101976', '100920-100920')] assert len(arr) > 0
def test_ibd(): samples = ['101976-101976', '100920-100920', '100231-100231'] vcf = VCF(VCF_PATH, gts012=True, samples=samples) res = vcf.ibd() assert len(res) == 3, (len(res)) arr = res[(b'101976-101976', b'100920-100920')] assert len(arr) > 0