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

Can not load and view the mcool file #173

Open
yancychy opened this issue Feb 13, 2021 · 6 comments
Open

Can not load and view the mcool file #173

yancychy opened this issue Feb 13, 2021 · 6 comments

Comments

@yancychy
Copy link

Hi, I installed higlass-docker in my laptop. I have loaded and viewed some Hi-c mcool files before. But when I try to load another larger mcool files (>500M), it is not shown. The firebox told me to wait to load. I meet this problem before. It will cost a long time (several days) to wait and veiw the Hi-c data by change. I am not sure how to fix this problem. Refresh the webpage dosenot help. Thanks.

@pkerpedjiev
Copy link
Member

Hi, is the file you're trying to load public by chance?

Can you paste the command that you used to load it?

@yancychy
Copy link
Author

Thanks. I just load into my local web server in the docker image.
https://drive.google.com/file/d/1X357S1JQuKrWK1U0ilzu76bc1lzWvA7R/view?usp=sharing
https://drive.google.com/file/d/1Pof35IhV77WLZEuUMsi6TCthiPhKyXq7/view?usp=sharing
Command is:
docker pull higlass/higlass-docker:v0.6.1 # higher versions are experimental and may or may not work
docker run --detach --publish 8989:80 --volume ~/hg-data:/data --volume ~/tmp:/tmp --name higlass-container -e SITE_URL=my.higlass.org higlass/higlass-docker:v0.6.1
docker exec higlass-container python higlass-server/manage.py ingest_tileset --filename /tmp/GSE80701_DpnII_HinfI_combo250.mcool --filetype cooler --datatype matrix

@pkerpedjiev
Copy link
Member

That's odd. Could you open up the browser console and take a screenshot?

On chrome you can open the console from chrome menu -> more tools -> developer tools. The select the 'Console' tab.

@yancychy
Copy link
Author

https://drive.google.com/file/d/16m_6wsA2u8JXn5qEE1Scg35Mw4NltOgw/view?usp=sharing
Thanks. I changed to my previous mcool file. It works now. GSE80701_DpnII_HinfI_combo250.mcool is coverted from the hic file. Maybe there are some error in the GSE80701_DpnII_HinfI_combo250.mcool.

@pkerpedjiev
Copy link
Member

Oh, yeah it looks like the lowest resolution in that file is still very detailed which causes higlass to try to load too many tiles. In order to avoid crashing your browser it only loads a very small subset of them so you don't see anything. If you zoom in you should be able to see details.

You may be able to run cooler zoomify on that file to get a more reasonable set of resolutions but I'm not sure how well that works on a file with many resolutions already.

@yancychy
Copy link
Author

Thanks, I used cooler zoomify the produce the mcool file. Maybe my laptop is not so fast to load the data.

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