choishingwan / PRS-Tutorial

A tutorial on how to run basic polygenic risk score analysis
MIT License
68 stars 104 forks source link

Error:No statistic column in file #21

Closed PyunJung-Min closed 3 years ago

PyunJung-Min commented 3 years ago

Hi, I'm trying to calculate PRS and have got this error message, "Error: No statistic column in file! "

Could you please help me what is wrong with my file? Here is my command /PRSice_linux --snp SNPID --chr Chromosome --A1 Allele1 --A2 Allele2 --beta Effect_beta --pvalue pvalue -b WMH_maineffects_EUR.metastats.txt --target ADNI_HRC_V6 --ld 1000G_phase3_updated_eur --out WMH_ANDI1 --bar-levels 0.00001,0.0001,0.001,0.01,0.05,0.5 --fastscore --all-score

Thanks always for your help!

Jung-Min

choishingwan commented 3 years ago

Are you using your own data? Check if your base file contain Effect_beta

Sam

PyunJung-Min commented 3 years ago

Thank you for your answer.

My base file has Effect_beta with values.. Is there another possibility causing this error? :)

Thank you!

Jung-Min

2021년 3월 30일 (화) 오후 11:39, Shing Wan Choi @.***>님이 작성:

Are you using your own data? Check if your base file contain Effect_beta

Sam

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/choishingwan/PRS-Tutorial/issues/21#issuecomment-810316589, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF6VD44LCFZYH347KBIUDTTGHPA7ANCNFSM42BF3GYA .

-- Jung-Min Pyun, MD, PhD Assistant Professor Department of Neurology, Uijeongbu Eulji Medical Center 712, Dongil-ro, Uijeongbu-si, Gyeonggi-do, 11759, Korea E-mail: @.*** Phone: 082-10-3474-4022

choishingwan commented 3 years ago

Opps, I missed it. Your command was wrong. It should be (noted the bold part):

./PRSice_linux --snp SNPID --chr Chromosome --A1 Allele1 --A2 Allele2 --beta --stat Effect_beta --pvalue pvalue -b WMH_maineffects_EUR.metastats.txt --target ADNI_HRC_V6 --ld 1000G_phase3_updated_eur --out WMH_ANDI1 --bar-levels 0.00001,0.0001,0.001,0.01,0.05,0.5 --fastscore --all-score

PyunJung-Min commented 3 years ago

It works~! Thank you very much!! :D

Jung-Min

2021년 3월 31일 (수) 오전 9:01, Shing Wan Choi @.***>님이 작성:

Opps, I missed it. Your command was wrong. It should be (noted the bold part):

./PRSice_linux --snp SNPID --chr Chromosome --A1 Allele1 --A2 Allele2 --beta --stat Effect_beta --pvalue pvalue -b WMH_maineffects_EUR.metastats.txt --target ADNI_HRC_V6 --ld 1000G_phase3_updated_eur --out WMH_ANDI1 --bar-levels 0.00001,0.0001,0.001,0.01,0.05,0.5 --fastscore --all-score

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/choishingwan/PRS-Tutorial/issues/21#issuecomment-810654357, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF6VD5BAFIN6FSMTDLBRIDTGJQ43ANCNFSM42BF3GYA .

-- Jung-Min Pyun, MD, PhD Assistant Professor Department of Neurology, Uijeongbu Eulji Medical Center 712, Dongil-ro, Uijeongbu-si, Gyeonggi-do, 11759, Korea E-mail: @.*** Phone: 082-10-3474-4022