Question: filtering by POS in bcftools
9 weeks ago by
4galaxy77 • 30
4galaxy77 • 30 wrote:
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 'POSfirstname.lastname@example.org' 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?
ADD COMMENT • link •