number of individuals in each genotype group for a particular SNP
0
0
Entering edit mode
6.2 years ago
ATCG ▴ 380

I have genotype plink files for 299 individuals and I'm interested in finding the number of individuals in each genotype group for a particular SNP. e.g: SNP1234--> GG n=?; GAn=?; AAn=?. Thanks!

plink SNP • 931 views
ADD COMMENT
0
Entering edit mode

I am not sure that PLINK actually caters for this. Why not just do it manually by outputting your transposed dataset and then using a simple awk command to extract your genotype of interest?

ADD REPLY
0
Entering edit mode

I'd use bcftools query and then use awk. bcftools might even have a summary operation.

ADD REPLY

Login before adding your answer.

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