Entering edit mode
4 months ago
Tobias
•
0
Hey, from time to time I find myself wondering if there is a straight-forward way to add missing 0/0 sites at a set of positions to a VCF that resulted from whole-genome sequencing and therefore only contains het and hom-alt sites. The best solution I found so far involves merging a sample that contains all sites of interest (e.g. from 1kg) to the VCF with bcftools using the option to set missings to zero and then remove the sample again. It works, but it is cumbersome and it feels like there should be a better way of doing this. Thank you for your help!