Hi!
Just a small note on a typo in the description of the impute_sex():
https://hail.is/docs/0.2/methods/genetics.html?highlight=impute_sex#hail.methods.impute_sex
" Remove samples where imputed sex does not equal reported sex: "
imputed_sex = hl.impute_sex(dataset.GT)
dataset_result = dataset.filter_cols(imputed_sex[dataset.s].is_female != dataset.pheno.is_female)
Using this function you would remove the samples where imputed sex equals reported sex. I suppose it should be “ == “ instead of “ != “ in order to remove those samples where imputed sex does not match reported sex?