Closed cathynewman closed 6 years ago
Hi @cathynewman,
Thank you for reporting this issue.
After looking at what you posted, I suspect this may be an issue with your version of numpy
since the earliest we have tested it with was 1.12.1
.
So, before anything else, can you reproduce the issue with a more recent version of numpy? If that turns out to be the problem, we should put up a warning regarding this, as well as a version number in the requirements.
PS - If you want to test again, but do not want to spend time running MavericK again, edit the file /home/cenewman/.local/lib/python3.5/site-packages/structure_threader/structure_threader.py
and comment line 281. This should skip the runs. But in order to do that, you must not delete previous results and run the same command again.
It seems that was the problem! I was using Python 3 as a pre-installed module managed by the HPC system, so I'm not sure there was a way to update numpy
. But instead I installed miniconda with Python 3, then grabbed the latest numpy
through conda
. I tried the exact same run again, this time using my new install of Python 3.6.5 with numpy 1.14.2.
It threw the same error again. But then I reinstalled Structure_threader, and that fixed the issue. It seems to be running correctly now. Thanks!
Awesome! I'm happy it's sorted. I'll leave the issue open until I add the version of numpy to the install script. Once again, thank you for taking the time to report the problem.
Ok, I just fixed this issue, and a new version of *Structure_threader" is now available in pypi
.
This type of issues should not happen any more.
Once again, thank you @cathynewman for reporting it.
I am running MavericK via Structure_threader on a Linux HPC server (RHEL 6), with GCC 6.4.0 and python 3.5.2 (Anaconda), which includes Numpy v. 1.11.3. I did a test run on a data set with 11 individuals and 1,000 SNPs, running K = 1-3, with 3 reps each K. I think all of the runs finished successfully and the outputEvidence.csv file was generated. But I get the following error during what looks like the normalization step:
[EDITED to clarify: the error is during the normalization step of merging, after all of the runs have completed and the merged outputEvidence.csv file has been created.]
Here is how I call Structure_threader: