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

higlass-server/manage.py ingest_tileset doesn't work #180

Open
JasmineCCQ opened this issue Sep 1, 2022 · 5 comments
Open

higlass-server/manage.py ingest_tileset doesn't work #180

JasmineCCQ opened this issue Sep 1, 2022 · 5 comments

Comments

@JasmineCCQ
Copy link

sudo docker run -p 11028:80 -p 11029:11029 -v ~/hg-data:/data -it --device=/dev/fuse --privileged higlass/higlass-docker /bin/bash
image
root@8719e80cb68c:/data# python /home/higlass/projects/higlass-server/manage.py ingest_tileset --filename /data/output.mcool --filetype cooler --datatype matrix
image

when I used the commands above, it appeared this error.
Thanks for any suggestion.

@pkerpedjiev
Copy link
Member

Oh, can you run the container without the /bin/bash command and then open an interactive terminal using the docker exec command?

sudo docker run -p 11028:80 -p 11029:11029 -v ~/hg-data:/data --name higlass-container --device=/dev/fuse --privileged higlass/higlass-docker

And then

sudo docker exec -it higlass-container /bin/bash

If you do this, the docker run command will execute the default Dockerfile entrypoint which will set up the necessary directories and start the necessary services.

@JasmineCCQ
Copy link
Author

sudo docker run -p 11028:80 -p 11029:11029 -v ~/hg-data:/data --device=/dev/fuse --privileged higlass/higlass-docker
sudo docker start 66585d19b154
sudo docker exec -it 66585d19b154 /bin/bash
image
pip install werkzeug==2.0.0
pip install jupyter higlass-python
jupyter nbextension install --py --sys-prefix --symlink higlass
jupyter nbextension enable --py --sys-prefix higlass
jupyter notebook --allow-root --ip='0.0.0.0' --port=11029 --no-browser
image

When I modify the commands as shown above, it appears the error "Tileset info not found."
I don't know why. Thanks for any suggestion!

@pkerpedjiev
Copy link
Member

Is the cooler file path on your local directory or in your docker container?

With Jupyter notebook, the path should be the directory on the machine running the Jupyter notebook not the Docker container. This is because higlass-python within the Jupyter notebook starts its own higlass server.

@JasmineCCQ
Copy link
Author

Thanks for your reply! My cooler file path is in my docker container. The Jupyter notebook i use is in the docker container where the higlass environment is installed.
However, when i installed all the related softwares and python modules in the same conda virtual environment, and try to visualize the .mcool file, I got the error as the following.
image
The following is when I try to visualize the example in the higlass 'Python & Jupyter' document, I got the same error. So it may be due to my faulty process of installation, did i neglect to install anything or something?
image

@pkerpedjiev
Copy link
Member

Sorry for the late response but it sounds like the Jupyter extension wasn't installed properly?

Just to be sure, did you follow the instructions here exactly?

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