mixer icon indicating copy to clipboard operation
mixer copied to clipboard

Segmentation fault (core dumped)

Open olasunkanmibamidele opened this issue 2 months ago • 1 comments

I am currently going through the MiXeR tutorial, which I plan to implement in my current study.

When I ran the python mixer.py ld and python mixer.py snp codes to generate.ld and.snp files, I kept on getting "segmentation fault (core dump)". I am new to statistical genetics studies, and I am not very good at writing codes or interpreting codes appropriately.

I would appreciate it if anyone on this platform could help me resolve this. It is putting a stop to my progress in my research;

Below are the scripts and the output for scrutiny and possible solutions.

python3 ~/my_data/MiXeR/precimed/mixer.py ld \
+    --lib ~/my_data/MiXeR/src/build/lib/libbgmg.so \
+    --bfile ~/my_data/MiXeR/python_convert/PLINK/1000G.EUR.QC.1.bim \
+    --out ~/my_data/MiXeR/python_convert/PLINK/1000G.EUR.QC.1.bim.run4.ld \
+    --r2min 0.05 --ldscore-r2min 0.05 --ld-window-kb 30000
INFO:root:__init__(lib_name=/home/my_data/MiXeR/src/build/lib/libbgmg.so, context_id=0)
INFO:root:init_log(/home/my_data/MiXeR/python_convert/PLINK/1000G.EUR.QC.1.bim.run4.ld.log)
INFO:root:log_message(***********************************************************************
* mixer.py: Univariate and Bivariate Causal Mixture for GWAS
* Version 1.2.0
* (c) 2016-2020 Oleksandr Frei, Alexey A. Shadrin, Dominic Holland
* Norwegian Centre for Mental Disorders Research / University of Oslo
* Center for Multimodal Imaging and Genetics / UCSD
* GNU General Public License v3
***********************************************************************
Call:
./mixer.py ld \
        --out /home/my_data/MiXeR/python_convert/PLINK/1000G.EUR.QC.1.bim.run4.ld \
        --lib /home/my_data/MiXeR/src/build/lib/libbgmg.so \
        --bfile /home/my_data/MiXeR/python_convert/PLINK/1000G.EUR.QC.1.bim \
        --ldscore-r2min 0.05 \
        --ld-window-kb 30000.0
)
INFO:root:__init__(lib_name=/home/my_data/MiXeR/src/build/lib/libbgmg.so, context_id=0)
Segmentation fault (core dumped)

olasunkanmibamidele avatar Apr 24 '24 08:04 olasunkanmibamidele