Installing and running pyGenomeTracks
I successfully installed pyGenomeTracks via:
pip install pygenometracks --user
However when I run it I get the following error:
from hicmatrix import HiCMatrix ImportError: No module named hicmatrix
Wondering if installation of this lib separately is necessary? Thanks!
• 3,908 views
•
link
1 answer
Hi,
my apologies for your confusion. I forgot to make HiCMatrix available via pip, our main focus is conda. However, I uploaded HiCMatrix last week.
Since version 2.0 of pyGenomeTracks there is no more dependency to HiCExplorer, the dependency is now HiCMatrix.
Feel free to ask if you have more questions.
Best,
Joachim
• 1 views
•
link
Log in to answer this question.
The docs suggest if you aren't plotting a Hi-C matrix, you don't need this module. Are you plotting a Hi-C matrix? What is the command you used?
I used the central command in the package:
I guess what confuses me is that pyGenomeTracks is entirely dependent on the HiCExplorer running and this happened when tried to install the HiCExplorer:
This is strange since you're supposed to be able to use this package to make genome tracks without any Hi-C data.
Use conda, there are packages for pyGenomeTracks, HiCMatrix and HiCExplorer. If you want to use pip, use virtualenv, and install the correct version of dependencies:
And install HiCExplorer.