I have a vcf file which I would like to filter by a list of SNP positions, which are present in a positions.txt file.
bcftools filter -i 'POSemail@example.com' input.vcf.bgz > output.vcf
However, this says:
Error: could not parse the expression. Note that the "@file_name" syntax can be currently used with ID column only.
Is there another simple way filter by POS in bcftools?