How to get population specific SNPs from a vcf file
I've got a vcf file and There are 500 individuals in it.Of these 500 individuals, 30 individuals form group A.How can i get all SNPs specific to GroupA (Present in at least one of the 30 individuals and not in the remaining 470).
Looking forward to your answer.
Think you
• 836 views
•
link
1 answer
bcftools view --samples-file list-in-groupA.txt -O u in.vcf | bcftools view -i 'AC>0'
• 0 views
•
link
Log in to answer this question.