Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Meta-analysis #3

Open
haukethomsen opened this issue Aug 5, 2023 · 2 comments
Open

Error in Meta-analysis #3

haukethomsen opened this issue Aug 5, 2023 · 2 comments

Comments

@haukethomsen
Copy link

After the previous error had been resolved, the new version has been downloaded. Unfortunately, the following issue came up in running the meta-analysis:
Calculating summary statistics
Saving results
Reading summary statistics from output/pop1reg
Reading summary statistics from output/pop2reg
Reading summary statistics from output/pop3reg
Combining 3 studies
Locus 1 / 20
Locus 2 / 20
Locus 3 / 20
Locus 4 / 20
Locus 5 / 20
Locus 6 / 20
Locus 7 / 20
Locus 8 / 20
Locus 9 / 20
Locus 10 / 20
Locus 11 / 20
Locus 12 / 20
Locus 13 / 20
Locus 14 / 20
Locus 15 / 20
Locus 16 / 20
Locus 17 / 20
Locus 18 / 20
Locus 19 / 20
Locus 20 / 20
Traceback (most recent call last):
File "../bin/../blore/main.py", line 289, in
meta.optimize_hyperparameters(statdir, locusnamesfile, featurefiles, outdir, file_prefix, opts.zmax, opts.muvar, mparams)
File "/Users/hthomsen/Software/b-lore/blore/meta.py", line 63, in optimize_hyperparameters
emp_bayes.fit()
File "/Users/hthomsen/Software/b-lore/blore/inference/empirical_bayes.py", line 96, in fit
self._callback_zstates(params)
File "/Users/hthomsen/Software/b-lore/blore/inference/empirical_bayes.py", line 186, in _callback_zstates
self._global_zstates = [zstatespy.create(self._nsnps[i],
File "/Users/hthomsen/Software/b-lore/blore/inference/empirical_bayes.py", line 186, in
self._global_zstates = [zstatespy.create(self._nsnps[i],
File "/Users/hthomsen/Software/b-lore/blore/inference/zstatespy.py", line 80, in create
lib = np.ctypeslib.load_library('../lib/zstates.so', _path)
File "/Users/hthomsen/miniconda3/lib/python3.8/site-packages/numpy/ctypeslib.py", line 163, in load_library
raise OSError("no file with expected extension")
OSError: no file with expected extension
/Users/hthomsen/Software/b-lore/example$

@banskt
Copy link
Member

banskt commented Aug 5, 2023

This is an error related to the installation of the package. Did you compile the C libraries using make as mentioned in "Installation" section?

@haukethomsen
Copy link
Author

C libraries were compiled, but the compiler had to be changed in order to meet an incompatible architecture (error was like: have 'arm64', need 'x86_64'). Now, it runs! Thanks for the hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants