Calculating polygenic score using plink
1
0
Entering edit mode
2.4 years ago
m.shoaib • 0

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 the form of bed,bim, fam for 22 chromosomes, I want to use plink for specific p-value threshold in this scenario,

plink2 \
    --bfile T2test3 \                            ## For one chromosome only
    --score T2baseNoBMI.uniq.txt 2 4 6 header \
    --q-score-range range_list SNP.pvalue \
    --extract EUR.valid.snp \
    --out EUR

This is working for just a single chromosome, I want to perform my analysis considering all autosomes and need a final final file with IIDs and their corresponding PRS based on all chromosome SNP information,

Please help

Thanks

PRSice2 UKBB Plink • 2.6k views
ADD COMMENT
2
Entering edit mode
2.4 years ago
Sam ★ 4.7k

You will need to combine the genotype file. Not sure if --score works with --bmerge. You can have a try.

Alternatively, as you are already using PRSice, do

--bar-levels <p-value threshold> --no-full --fastscore and you should in theory get the PRS at the specific p-value threshold

ADD COMMENT
0
Entering edit mode

Ok. PRSice seems more convenient for me at this stage. So, In order to calculate the PRS in my test data, can I simply provide, GWAS base data, target data with these options, -bar-levels <p-value threshold> --no-full --fastscore? I cannot provide phenotype file because my independent sample comprised of 3 different phenotypic categories and I simply need to calculate the PRS at the specific threshold for specific individuals. I donot need bar plot and models with R2. Thanks

ADD REPLY
0
Entering edit mode

if you don't need the plots or R2, then add in --no-regress

ADD REPLY
0
Entering edit mode

Thank you very much for your response!

ADD REPLY

Login before adding your answer.

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