I have several VCF files generated from WES. Some share a condition, and others could be considered controls. I want to know which SNPs are shared between the files with the condition, and not in the controls. By "shared" I mean for a given SNP, I want to know whether they share the same genotype at that location. Many of the tools that I have tried, like bcftools isec
seem to intersect by position, not by the actual genotype. Other tools like bcftools stats
seem to only compare 2 files at once. Is there any way to do this for multiple files at once?