What is the bcftools view
equivalent parameter of GATK SelectVariants --excludeNonVariants
?
GATK SelectVariants has the option with the --excludeNonVariants
parameter to exclude variants that only have hom-ref genotype calls after sub setting to a set of samples.
I would like to know how to do the same with BCFTools view.
I don't see a similar switch specified in the BCFTools view documentation: https://samtools.github.io/bcftools/bcftools.html#view
Thanks. This seems to work, at least I don't see any sole
GT 0|0
records.