+setGT plugin allows to filter genotypes based on specific criteria.
bcftools +setGT in.vcf -- -t ./x -n .
sets partially missing variants to missing
I have some haploid missing genotypes
. that I want to set as diploid missing
./., however the command above does not do this, is there a quick way to do this?