Hello hail team!
I am trying to set some of the genotypes to missing based on different conditions for SNPs and INDELS.
I want hail to set the genotypes to missing for SNPs only if
SNP HET non-ref allelic balance < 0.25 ,
SNP HOM non-ref allelic balance < 0.90 and
For INDELS
INDEL HET non-ref allelic balance < 0.30,
INDEL HOM non-ref allelic balance < 0.95
and finally, i want hail to do nothing for homozygous reference SNPs/INDELs (homozygous reference 0/0)
I would appreciate any help and thanks in advance.