Entering edit mode
5.8 years ago
GabrielMontenegro
▴
670
I want to know if there is a way to keep sites with 0% missing a VCF file.
On vcftools I can do:
vcftools --vcf input_file.vcf --max-missing 1.0 --out output_noMissing
Is there a way to do this with BCFTOOLS as it is much faster?
-g, --genotype [^][hom|het|miss] include only sites with one or more homozygous (hom), heterozygous (het) or missing (miss) genotypes. When prefixed with ^, the logic is reversed; thus ^het excludes sites with heterozygous genotypes.