How to calculate SNP frequency for each population in bfile using plink?
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Computing allele frequencies per individual for a set of SNPs in PLINK
written by pifferdavideI computed allele frequencies for a list of SNPs for a set of individuals in PLINK using the following line: ./plink --bfile Pop_Imputed_filtered --keep Pop.txt …
-
Calculating polygenic score using plink
written by m.shoaib •Hi I am trying to calculate PRS in test sample after getting best SNPs from PRSice 2 with highest R2 My target data is in …
-
Selection of random SNPs with similar allele frequency with my SNPs under study
written by setaDear all, I’m working with a list of SNP variants (1200 SNP) related to a complex disease, which distributed on the various chromosomes. I used …
-
How to calculate Minor Allele Frequency (MAF) for your own population data
written by Sudhir JadhaoDear All, I have a VCF file containing 60 samples. I want to calculate MAF for each variant with respect to 60 samples present in …
-
Missing Rate within arrays
written by vgenepi •Hi everyone! I need to estimate Missing rates for each SNP within each array. I have a file with FID and Array ID. My cluster …
-
Plink Family Structure/Population stratification
written by Tom •I'm wondering if someone could please help. I have a population of individuals, some are in families and some are not in families. I have …
-
Minor allele frequency calculation
written by Tark •Hi everyone I need to understand Minor allele frequency A SNP with a allele (G) frequency of 0.40 implies that 40% of a population has …
-
Accounting for problem SNPS when merging multiple plink files
written by lhvkl •I am after some advise as to what is the best method to correct for differences in allele codes at any given snp when merging …
-
Getting Population Specific Allele Frequency For Illumina Genotyping Data
written by yling1 •I want to get allele frequencies of Illumina Omni2.5 in European population only and my file contains information on chr, pos, allele1, and allele2. I …
-
How To Calculate All Ld Results For 1000G Raw Genotypes?
written by J.F.Jiang<p>Hi everyone,</p> <p>I am using the raw 1000G genotypes 20101123 release version to calculate all the LD results for paired SNPs.</p> <p>Last time if I …
What have you tried?
I have tried
plink --bfile data --freq --out freqAlways mention what you need, what you have tried, what you get from your trials and how this differs from what you need. Outlining the above will help you and others solve your problem quickly.
above command give overall frequency, i want frequency for each population separately..
How are you incorporating the sample to population mapping? Imagine an Excel spreadsheet with variants in each row and samples in each column. Where is the information that gives you the population identifier given the sample identifier?