Filter vcf file by position AND alternative allele
1
0
Entering edit mode
4 months ago

I am filtering a vcf file this way:

bcftools view -R file.pLoF.tsv -Oz -o filtered.pLoF.vcf.gz c12.vcf.gz

However this filters by position, regardless of which ALT allele. How can I enforce this to keep this:

chr12:20875274:G:GT

and leave out this:

chr12:20875274:G:C
bcftools vcf filter • 238 views
ADD COMMENT
2
Entering edit mode
4 months ago

use bcftools isec

ADD COMMENT

Login before adding your answer.

Traffic: 1725 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6