Entering edit mode
4.4 years ago
dolphiness
•
0
Hello!
I'm trying to compute PRS for different p-values and that's my code:
plink1.9
--bfile phe.gen.data
--score summary.stats.gz 1 6 7 header
--q-score-range pvalue.threshold snp.pvals
--extract ID.valid.snp
--out PRS
I get the following error in the log: Error: Line 4 of --score file has fewer tokens than expected.
I can't detect any problems with summary.stats.gz what can be the cause?
Thank you!
Is it clear that plink accepts a gz-file for
--score
? No mention in the doc. Otherwise it might help to see the first few lines of the (decompressed) file.That's the abbreviated summary stats (decompressed):
bim file:
And again, the same error: Error: Line 3 of --score file has fewer tokens than expected.
The summary stats and bim have the same variants and format. There are no missing values. I have no clue what's wrong.
Thanks.
* Update* You were correct. It worked when I used the decompressed file.