Hi all Dear,
I have a VCF file that contains approximately 20 millions SNPs. And my VCF file has 5 populations (KHUZ, MAZ, WAZ, EAZ and GIL), each population has 10 samples. So, I want to know how many SNPs are common between the 5 populations?
Best Regard
Take a look at VCFtools
Usage guide
Many thanks for your reply,
I saw the page you shared. And the only thing I can find is the option --exclude-positions-overlap. Can you guide me more precisely?
In the first link you have different tools, as vcf-isec
See also : Obtain one vcf file of shared SNPs from input files with different samples using vcf-isec (vcftools)