Closed sahwa closed 5 months ago
Hi Sam -- This is indeed a strange error that we have never seen before. I'd suggest you double check the chr1 reference panel and the snpinfo_mult_1kg_hm3 file to make sure that the files are intact and haven't been modified after downloading. Given that you have only input from one population, you can also try PRS-CS and see if you get the same error (in theory PRS-CSx with input from one population reduces to the PRS-CS model).
Hi Sam, When looking at your .bim file I suspected that all rs names are long (like rs1463026327 which has 10 digits after rs) and on NCBI (link https://www.ncbi.nlm.nih.gov/snp/) they look like are TOPMED SNPs. You are using 1000G panel where almost (maybe all) SNP names have <=9 digits in rs names. Possibly, intersection of bim, sumstat and snpinfo files is empty. Check if you have any SNP left after intersecting the three files. Thanks, Fazil
Hi both, thanks for your reply.
I re-downloaded the LD reference panel and other files but the error still persisted. I ended up trying on another computing cluster and it worked fine, so I'm not sure what the issues is! I'll leave it open.
You are right that these are topmed imputed SNPs, and there is a fairly low overlap between the panel and sumstats, but all the other chromosomes completely successfully - where the overlap was zero, the program continued and produced an empty output.
It sounds that the error was due to an issue of the computing cluster not the algorithm but let me know if I can help in any ways.
Regarding the SNP identifiers, it would be important to have the same rs ID as the 1000 genomes project - otherwise the overlap between the reference panel, summary stats and target dataset will be small which may significantly reduce prediction accuracy.
thanks for sharing, I have the same problem and it solved now CHR SNP BP A1 A2 FRQ_AFR FRQ_AMR FRQ_EAS FRQ_EUR FRQ_SAS FLP_AFR FLP_AMR FLP_EAS FLP_EUR FLP_SAS 1 rs2185539 566875 T C 0.124800 0.000000 0.000000 0.000000 0.000000 1 > 1 rs6681105 592075 C T 0.021940 0.000000 0.000000 0.000000 0.000000 1 > 1 rs3131972 752721 A G 0.709500 0.263700 0.234100 0.161000 0.221900 -1 > 1 rs3131969 754182 A G 0.647500 0.243500 0.266900 0.128200 0.191200 -1 > 1 rs1048488 760912 C T 0.555200 0.194500 0.116100 0.160000 0.189200 -1 > 1 rs12562034 768448 A G 0.085480 0.089340 0.395800 0.092450 0.300600 1 > 1 rs4040617 779322 G A 0.472800 0.155600 0.112100 0.118300 0.172800 1 > 1 rs2905036 792480 C T 0.078670 0.010090 0.000000 0.000000 0.000000 1 > 1 rs4245756 799463 T C 0.098340 0.010090 0.000000 0.000000 0.000000 1 > 1 rs4970383 838555 A C 0.366900 0.276700 0.392900 0.238600 0.379300 1 > 1 rs4475691 846808 T C 0.403200 0.276700 0.108100 0.183900 0.262800 1 > 1 rs28587382 852772 A G 0.016640 0.000000 0.000000 0.000000 0.000000 1 > 1 rs1806509 853954 A C 0.311600 0.455300 0.586300 0.603400 0.568500 1 > 1 rs7537756 854250 G A 0.251100 0.253600 0.113100 0.192800 0.269900 1 > 1 rs6694982 857828 G A 0.040090 0.000000 0.000000 0.000000 0.000000 1 > 1 rs13302982 861808 A G 0.658100 0.171500 0.452400 0.024850 0.123700 -1 > 1 rs4040604 863124 G T 0.665700 0.171500 0.452400 0.024850 0.124700 -1 > 1 rs2340587 864938 G A 0.778400 0.402000 0.514900 0.235600 0.385500 -1 > 1 rs28576697 870645 C T 0.033280 0.269500 0.125000 0.292200 0.316000 1 > 1 rs1110052 873558 T G 0.203500 0.582100 0.489100 0.711700 0.608400 1 > 1 rs7523549 879317 T C 0.215600 0.077810 0.066470 0.039760 0.011250 1 > 1 rs3748592 880238 A G 0.093800 0.080690 0.086310 0.047710 0.082820 1 > 1 rs3748593 880390 A C 0.192100 0.073490 0.067460 0.037770 0.011250 1 > 1 rs2272756 882033 A G 0.017400 0.247800 0.077380 0.249500 0.164600 1 > 1 rs2340582 882803 A G 0.093800 0.080690 0.080360 0.047710 0.082820 1 > 1 rs4246503 884815 A G 0.102900 0.080690 0.080360 0.047710 0.082820 1 > 1 rs3748594 886384 A G 0.216300 0.076370 0.070440 0.038770 0.010220 1 > 1 rs17160698 887162 C T 0.111200 0.020170 0.000000 0.000000 0.000000 1 > 1 rs3748595 887560 A C 0.171000 0.090780 0.079370 0.051690 0.082820 1 > 1 rs3748597 888659 T ^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^ZC 0.093040 0.080690 0.079370 0.046720
Hi,
I am encountering strange error when trying to run chromosome 1 on PRScsx. When we try run any other chromosome 2-22, then it works fine.
Here is the command:
The sumstats file is like this:
And the bim file is:
and we used the LD references downloaded from the link on your github page.
Any idea what the error might be caused by?
Thanks,
Sam