Closed zhangpicb closed 2 years ago
I actually get a different error message:
[ERROR] Error : SNP with rsID 'rs1105456' in file '/tmp/tmp0txl0gbt/chr1.46000001_49000001.z' could not be matched with SNP in BGEN file 'chr1.bgen'!
I believe the problem is that the chromosome names are encoded as "01" in the FINEMAP .z file, but as "1" in the bgen file. I just pushed commit ecc80ad98b8db0a731762e14956688e5c71ac8c5
to fix this issue. Can you please git pull and retry? Please note that you'll need to install the bgen package (pip install bgen
).
I git pull the code and pip install bgen.And still get the error message
sqlite3.OperationalError: database is locked
Hi,
The code doesn't use SQLite... Can you please add the flag --verbose to your command, and copy-paste the entire output?
sorry for reply late. I think this error may caused by BGEN,and I am unfamiliar with BGEN.
'''
[INFO] Loading sumstats file...
[INFO] Loaded sumstats for 966 SNPs in 0.42 seconds
[DEBUG] opening bgen index: /home/polyfun_finemapper_test/ldstore/chr1.bgen.bgi
[DEBUG] opening BgenFile from /home/polyfun_finemapper_test/ldstore/chr1.bgen
Traceback (most recent call last):
File "/home/polyfun/finemapper.py", line 1233, in
It looks like something locks the bgen file. I would just try to restart the computer you're working on and then try again...
Hi,Omer!I met the same problem. I wan to calculate LD matrix using LDstore, but got error message: Error : SNP with rsID '12:89675376:A:G' in file 'chr12_block167.z' could not be matched with SNP in BGEN file 'chr12_block167.bgen'! However chromosome id and rsid are same in my BGEN file and Z file. Do you know where the problem is?
Hi @AlisaBIG, I'm not sure what's causing the problem. Can you please add the flag --verbose to your command, and copy-paste the entire output?
Hi! Thanks for your wonderful code! I want to know is LD matrix produced by LDstorev2 different from produced by Plink? So I want to use LDstore v2 ,so I converted example date to BGEN1.2 format. And I got this message
My shell code,
Thanks in advanced!