This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Setting haploid missing to diploid missing in VCF

Hi,

bcftools +setGT plugin allows to filter genotypes based on specific criteria.

for e.g.

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?

Thanks

vcf bcftools

I am also having the same problem. Did you figure this out?

Thank you in advance!

0 answers

No answers yet.

Log in to answer this question.