Hi,
when I filter my mt for AF like this:
mtf=mt.filter_rows(mt.info.gnomAD_NFE_AF < 0.01))
it would not include variants with missing annotation in gnomad.
How can I keep these variants ?
Thanks, John
Hi,
when I filter my mt for AF like this:
mtf=mt.filter_rows(mt.info.gnomAD_NFE_AF < 0.01))
it would not include variants with missing annotation in gnomad.
How can I keep these variants ?
Thanks, John
mtf=mt.filter_rows(hl.is_missing(mt.info.gnomadAD_NFE_AF) | mt.info.gnomAD_NFE_AF < 0.01))
That was easy
Thanks !