nm31208081@hypatia:~/simulation/hapgen$ Rscript /home/nm31208081/PRSice.R --dir /home/nm31208081/simulation/hapgen --prsice /home/nm31208081/PRSice_linux --base hapgen_assoclog.assoc.logistic --target hapgen_test --no-clump --thread 1 --stat OR --ignore-fid --binary-target T --ignore-fid --out hapgen_prs
Trying to install optparse in /home/nm31208081/simulation/hapgen/lib
PRSice 2.1.3.beta (10 August 2018)
https://github.com/choishingwan/PRSice
(C) 2016-2017 Shing Wan (Sam) Choi, Jack Euesden, Cathryn M. Lewis, Paul F. O'Reilly
GNU General Public License v3
If you use PRSice in any published work, please cite:
Jack Euesden Cathryn M. Lewis Paul F. O'Reilly (2015)
PRSice: Polygenic Risk Score software.
Bioinformatics 31 (9): 1466-1468
2018-08-22 11:19:49
/home/nm31208081/PRSice_linux \
--A1 A1 \
--bar-levels 0.001,0.05,0.1,0.2,0.3,0.4,0.5,1 \
--base hapgen_assoclog.assoc.logistic \
--binary-target T \
--bp BP \
--chr CHR \
--ignore-fid \
--info-base INFO,0.9 \
--interval 0.000050 \
--lower 0.000100 \
--model add \
--no-clump \
--out hapgen_prs \
--pvalue P \
--seed 1032243675 \
--snp SNP \
--stat OR \
--target hapgen_test \
--thread 1 \
--upper 0.500000
Loading Genotype file: hapgen_test (bed)
100 people (0 male(s), 0 female(s)) observed
100 founder(s) included
Warning: SNPs with chromosome number larger than 26. They will be ignored!
Segmentation fault (core dumped)
Error:
Execution halted
nm31208081@hypatia:~/simtrial/hapgen$ Rscript /home/nm31208081/PRSice.R --dir /home/nm31208081/simtrial/hapgen --prsice /home/nm31208081/PRSice_linux --base hapgen_assoclog.assoc.logistic --target hapgen_test --no-clump --thread 1 --stat OR --ignore-fid --binary-target T --out hapgen_prs
PRSice 2.1.3.beta (10 August 2018)
https://github.com/choishingwan/PRSice
(C) 2016-2017 Shing Wan (Sam) Choi, Jack Euesden, Cathryn M. Lewis, Paul F. O'Reilly
GNU General Public License v3
If you use PRSice in any published work, please cite:
Jack Euesden Cathryn M. Lewis Paul F. O'Reilly (2015)
PRSice: Polygenic Risk Score software.
Bioinformatics 31 (9): 1466-1468
2018-09-01 15:16:01
/home/nm31208081/PRSice_linux \
--A1 A1 \
--bar-levels 0.001,0.05,0.1,0.2,0.3,0.4,0.5,1 \
--base hapgen_assoclog.assoc.logistic \
--binary-target T \
--bp BP \
--chr CHR \
--ignore-fid \
--info-base INFO,0.9 \
--interval 0.000050 \
--lower 0.000100 \
--model add \
--no-clump \
--out hapgen_prs \
--pvalue P \
--seed 788077011 \
--snp SNP \
--stat OR \
--target hapgen_test \
--thread 1 \
--upper 0.500000
Loading Genotype file: hapgen_test (bed)
100 people (0 male(s), 0 female(s)) observed
100 founder(s) included
117 ambiguous variant(s) excluded
883 variant(s) included
1 region included
Start processing hapgen_assoclog.assoc
==============================
Reading 100.00%
Base file: hapgen_assoclog.assoc.logistic
1000 variant(s) observed in base file, with:
117 variant(s) not found in target file
16 mismatched variant(s) excluded
744 NA stat/p-value observed
495 total variant(s) included from base file
Warning: Mismatched SNPs detected between base and
target!You should check the files are based on the same
genome build, or that can just be InDels
There are a total of 1 phenotype to process
Processing the 1 th phenotype
Phenotype is a binary phenotype
50 control(s)
50 case(s)
Processing 100.00%
There are 1 region(s) with p-value between 0.1 and 1e-5
(may not be significant); Please note that these
results are inflated due to the overfitting inherent in
finding the best-fit PRS (but it's still best to find the
best-fit PRS!).
You can use the --perm option (see manual) to calculate an
empirical P-value.
Plotting Bar Plot
Plotting the high resolution plot
Warning message:
In max(pheno$Pheno) : no non-missing arguments to max; returning -Inf
In max(pheno$Pheno) : no non-missing arguments to max; returning -Inf
I did check the relatedness by calculating IBD/IBS in plink. The results are attached.
Thanks
Novia
library(ggplot2)
d <- data.frame(x=rnorm(100, y=rnorm(100))
g <- ggplot(d, aes(x=x, y=y))+geom_point()
ggsave("Test.png", g, weight=7,height=7)