-
Notifications
You must be signed in to change notification settings - Fork 9
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
Avoid creating a dupicate copy of data in media directory #48
Comments
Hey! Symlinks unfortunately don't work because Docker can't follow them back to their origin. One option is to set the media directory to the directory that has your bigiwig files using the |
Thank you for the quick response. I did try the latter option with It looks like passing the |
So that's what |
With tag v0.6.34:
Output:
Gives:
|
(Sorry, had a typo in my docker command, fixed it above). It seems that case 2 (with docker run) also gives the error. |
Just to be sure, do you get that same error if you don't mount |
If I don't mount
I got around the issue by modifying the source code of start.py to pass "privileged=True" to client.containers.run This allowed me to run the sshfs mount command from within the running docker container. |
Oh, fantastic! Is there anything else to be done for this issue then? |
I guess the workaround is ok, but definitely subideal to have to modify the source code and re-run the mount manually from within the running docker container. Is this not a common use case (i.e. the tracks to visualize are not located on the same server that's running higlass)? Would you consider a pull request to provide a "--privileged" flag to |
It has certainly come up before. That's actually where the separate
Absolutely! In fact, I'd be very grateful for it. Thanks for taking the time to investigate and make this work!! |
Thank you for this amazing tool!
I have searched the docs, and perhaps I am missing this, but it seems that a dataset must be copied to the media directory for it to be ingested into higlass with the --no-upload flag. Alternatively, if the flag is not provided, the data will be uploaded to the internal higlass databae and copied to the media folder? I tried to symlink my datasets to the media folder, but it looks like the links are not preserved within the higlass instance. I also tried creating sshfs mounts to datasets on a different server in the media folder, but that didn't work either. Is there a way to avoid copyng the data to visualize it in higlass? I have about 1000 bigwig tracks to load, so would like to avoid creating a redundant copy of the files if possible. Thank you!
The text was updated successfully, but these errors were encountered: