Thanks Pierre!
Although that wasn't exactly what I was looking for, it still gave me just enough hint to figure it out on my own.
bcftools isec -e 'TYPE!="snp" || FILTER="PASS"' [file1] [file2] -p dir
I appreciate what you do in this forum.
:-)
• 0 views
•
link
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.