I have a large vcf.gz file for 70 samples. It contains many positions where all 70 samples match the reference. I'd like to filter those lines out.
I tried:
bcftools filter -e '%ALT == .' ./SIDXXX.vcf.gz
but it came back with ...
[filter.c:1741 filters_init1] Error: the tag "INFO/%ALT" is not defined in the VCF header
Thanks!
Worked brilliantly. Thanks!