Entering edit mode
2.5 years ago
addamyeo
•
0
So I figured out a way to use bcftools isec and filter out the passed SNVs at the same time. Here is the command I used:
bcftools isec -f 'PASS,.' --types 'snps' [file1.vcf.gz] [file2.vcf.gz] -p dir
But now I want to filter out the failed SNVs. How can I approach this? Thanks!
no, you're already filterting-out failing variant here.
https://samtools.github.io/bcftools/bcftools.html
Sorry I didn't phrase it properly. I need to filter out the PASSED SNVs, such that only the failed ones remain.