How to get population specific SNPs from a vcf file
1
0
Entering edit mode
10 weeks ago
291796256 • 0

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

specific SNPs population • 252 views
ADD COMMENT
0
Entering edit mode
10 weeks ago
bcftools view --samples-file list-in-groupA.txt -O u in.vcf | bcftools view -i 'AC>0'
ADD COMMENT

Login before adding your answer.

Traffic: 2753 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6