Closed MattCloward closed 2 years ago
Use --no-regress
That will generate the PRS without needing the phenotypes. Problem is that you won't know what is the best threshold for prediction. You'll need a phenotype to optimize that. (or you can use established threshold based on publications)
On Fri, Feb 25, 2022 at 2:33 PM Matthew Cloward @.***> wrote:
Assigned #289 https://github.com/choishingwan/PRSice/issues/289 to @choishingwan https://github.com/choishingwan.
— Reply to this email directly, view it on GitHub https://github.com/choishingwan/PRSice/issues/289#event-6141238495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJTRYXN2FI4EYUD5NAIYJTU47KQFANCNFSM5PLDEDHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were assigned.Message ID: @.***>
That did it! Thank you very much!
One more question on this topic: is it possible to run bgen files without a phenotype file? Even with the "--no-regress" flag, I get the following error:
Error: You must provide a phenotype file for bgen format!
The log:
PRSice 2.3.5 (2021-09-20)
https://github.com/choishingwan/PRSice
(C) 2016-2020 Shing Wan (Sam) Choi and Paul F. O'Reilly
GNU General Public License v3
If you use PRSice in any published work, please cite:
Choi SW, O'Reilly PF.
PRSice-2: Polygenic Risk Score Software for Biobank-Scale Data.
GigaScience 8, no. 7 (July 1, 2019)
2022-03-21 15:30:17
./PRSice_linux/PRSice_linux \
--a1 A1 \
--bar-levels 0.001,0.05,0.1,0.2,0.3,0.4,0.5,1 \
--base ./assocs/assoc.assoc \
--binary-target T \
--bp BP \
--chr CHR \
--clump-kb 250kb \
--clump-p 1.000000 \
--clump-r2 0.100000 \
--interval 5e-05 \
--lower 5e-08 \
--no-regress \
--num-auto 22 \
--or \
--out ./prsice2-out/out_bgen_assoc \
--pvalue P \
--seed 529495180 \
--snp SNP \
--stat OR \
--target data/out_bgen \
--thread 1 \
--type bgen \
--upper 0.5
Error: You must provide a phenotype file for bgen format!
Error:
Execution halted
Nope, not at the moment. You can submit a sample file as an external fam though. E.g. --target XXX,yyy.sample --no-regress
Sam
On Mon, Mar 21, 2022, 5:34 PM Matthew Cloward @.***> wrote:
One more question on this topic: is it possible to run bgen files without a phenotype file? Even with the "--no-regress" flag, I get the following error: Error: You must provide a phenotype file for bgen format!
The log:
PRSice 2.3.5 (2021-09-20) https://github.com/choishingwan/PRSice (C) 2016-2020 Shing Wan (Sam) Choi and Paul F. O'Reilly GNU General Public License v3 If you use PRSice in any published work, please cite: Choi SW, O'Reilly PF. PRSice-2: Polygenic Risk Score Software for Biobank-Scale Data. GigaScience 8, no. 7 (July 1, 2019) 2022-03-21 15:30:17 ./PRSice_linux/PRSice_linux \ --a1 A1 \ --bar-levels 0.001,0.05,0.1,0.2,0.3,0.4,0.5,1 \ --base ./assocs/assoc.assoc \ --binary-target T \ --bp BP \ --chr CHR \ --clump-kb 250kb \ --clump-p 1.000000 \ --clump-r2 0.100000 \ --interval 5e-05 \ --lower 5e-08 \ --no-regress \ --num-auto 22 \ --or \ --out ./prsice2-out/out_bgen_assoc \ --pvalue P \ --seed 529495180 \ --snp SNP \ --stat OR \ --target data/out_bgen \ --thread 1 \ --type bgen \ --upper 0.5
Error: You must provide a phenotype file for bgen format!
Error: Execution halted
— Reply to this email directly, view it on GitHub https://github.com/choishingwan/PRSice/issues/289#issuecomment-1074443566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJTRYQCBFEOWSS3RAT3HH3VBDTPLANCNFSM5PLDEDHQ . You are receiving this because you were mentioned.Message ID: @.***>
I am getting an error and wanted to check with you if what I am observing is an error or intentional design. When all the phenotypes for the samples in my fam file are NA, I get "No phenotype presented". If they are all -9, for the --stat OR flag I get
No phenotype presented
and for the --stat BETA flag I getI saw that a similar bug was patched in version v2.3.0.a, but I'm not sure if my issue is related. My assumption is that I can run PRSice2 without presenting the program with phenotype. This is necessary, especially for cases in which I am analyzing young individuals for a late onset disease such as Alziehmer's disease. Is it possible to run PRSice2 without phenotype?
I am running PRSice 2.3.5 on a Red Hat Linux Server. My project has the following structure:
I ran the following two commands, one for OR and one for BETA (notice I don't specify a .pheno file):
Here are the contents of the relevant files:
test-OR.assoc
test-beta.assoc
test.bim
test.fam
OR log (phenos all NA):
BETA log (phenos all NA):
To summarize, is it possible to run PRSice2 without knowing or imputing phenotype? If we want to use polygenic risk scores to predict phenotype for late onset diseases such as Alzheimer's disease, we can't give PRSice2 a phenotype.