choishingwan / PRSice

A software package for calculating, applying, evaluating and plotting the results of polygenic risk scores
http://prsice.info
GNU General Public License v3.0
180 stars 85 forks source link

[BUG]PRS model-fit #300

Open JY879013005 opened 2 years ago

JY879013005 commented 2 years ago

Describe the bug A clear and concise description of what the bug is. I have a question about the output result PRS model-fit hope to get help. I set a threshold interval of 5 × 10^5 to 0.5 with an increment of 5 × 10^5. But the results shown in the PRS model-fit result file ([Name].prsice) are only 241 instead of the 10000. The following figures are the log file and the output result file respectively.

image

image

Thank you and best wishes!

Error Log Please always include the log file generated by PRSice.

To Reproduce If possible, provide a minimum working example for me to reproduce the problem. This can usually speed up the debugging process.

Additional context Add any other context about the problem here.

choishingwan commented 1 year ago

PRSice is lazy in that, if the next threshold does not include more SNPs, it will ignore that and move on. As a result of that, we won't see all the thresholds in the result file