deeptools 3.5 Segmentation fault:11
1
0
Entering edit mode
3.5 years ago
jjp55 ▴ 20

Hi All,

I just installed deeptools 3.5 onto my MacBook running Mojave. I am repeatedly getting a Segmentation fault: 11 on all the commands with deeptools. I am able to see the main help page of deeptools, but cannot run any of the other tools. Has this happened to anyone before, to do they know anything I can do to fix this issue?

Thank you!

NGS deepTools ChIP Illumina • 3.0k views
ADD COMMENT
0
Entering edit mode

What sort of command is causing the segfault? How did you install deepTools? deepTools itself is just python, so it's very difficult for it to cause a segfault. My guess is that some dependency got installed incorrectly.

ADD REPLY
0
Entering edit mode

I have tried both the bamCoverage and computeMatrix and received the Segmentation fault message. I installed deepTools using

$ pip install deeptools

I have also tried to install with $ conda install -c bioconda deeptools but it was never able to install this way.

ADD REPLY
0
Entering edit mode

Please try conda install -c conda-forge -c bioconda deeptools instead. Also, try to run the following first:

python -c "import pyBigWig; import numpy; import scipy;"
ADD REPLY
0
Entering edit mode

I tried running python -c "import pyBigWig; import numpy; import scipy;" followed by conda install -c conda-forge -c bioconda deeptools and I received the message:

Solving environment: failed with initial frozen solve. Retrying with flexible solve.
ADD REPLY
4
Entering edit mode
3.5 years ago

OK, so loading those packages didn't cause the segfault, which is good. Please create a new conda environment: conda create -n deeptools -c conda-forge -c bioconda deeptools=3.5.1 python=3.8 . Use that environment instead, since apparently there's an issue with the python installation you had been using.

ADD COMMENT
1
Entering edit mode

That solved the problem! Thank you!

ADD REPLY
0
Entering edit mode

Creating a new environment can get you out of many tough spots :)

ADD REPLY

Login before adding your answer.

Traffic: 2431 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6