-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Dear Author,
Thank you for creating this wonderful package. However, when I was running the gene_scoring.ipynb script and Gscorer.score_all (), I encountered this issue
Traceback (most recent call last):
File "/home/wenjie/miniconda3/lib/python3.12/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File "/home/wenjie/miniconda3/lib/python3.12/site-packages/PascalX-0.0.5-py3.12-linux-x86_64.egg/PascalX/genescorer.py", line 982, in _scoremain
C,R = self._calcGeneSNPcorr(cr,G[i],REF)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wenjie/miniconda3/lib/python3.12/site-packages/PascalX-0.0.5-py3.12-linux-x86_64.egg/PascalX/genescorer.py", line 776, in _calcGeneSNPcorr
DATA = REF[str(cr)][0].get(list(P))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wenjie/miniconda3/lib/python3.12/site-packages/PascalX-0.0.5-py3.12-linux-x86_64.egg/PascalX/snpdb.py", line 116, in get
E.append( pickle.loads(zlib.decompress(data) ) )
I followed the scripts and this tutorial to load the reference panels, and checked all .idx.gz files. They seem be properly gziped. Could you help me find out the reason and solve this problem?
Thanks!
Wenjie