How many individuals per SNP?
1
0
Entering edit mode
2.0 years ago
ritafonsa • 0

Hi all,

I analysed ddRAD-seq data in Stacks and have a final VCF file.

I want to know how many individuals have each SNP present in my VCF file, so I can plot the distribution of SNPs. I find it easy to know how many SNPs each individual has but not the otherwise.

Any idea?

Thanks in advance,

RIta

ddRAD VCF SNPs Stacks • 448 views
ADD COMMENT
0
Entering edit mode
2.0 years ago
Prash ▴ 270

Hi Rita VCFtools has an option to find individual IDs, as defined in the VCF header and then you can filter with (-remove option etc)

The other thing would be from many SNPs each individual has, find from a multivenn or use simple bash liners like "diff" to find the individuals with the SNPs

Hope this helps Prash

ADD COMMENT

Login before adding your answer.

Traffic: 2399 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