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

Trouble loading azure or local crams #51

Open
kateelliottarc opened this issue Mar 6, 2024 · 1 comment
Open

Trouble loading azure or local crams #51

kateelliottarc opened this issue Mar 6, 2024 · 1 comment

Comments

@kateelliottarc
Copy link

Hi,

Many thanks for developing this.

I'm relatively new to azure and jupyter notebook, but have been able to set up and run igv-jupyter using the test run provided. The script starts the browser, finds your s3 aws file and produces a pileup.

However, with my data I'm hitting problems with trying to get the script to pick up and load my files. They are cram files are azure and I tried pointing to the url provided by azure for the files of interest, but get "Error accessing resource [url] Status: 0". I get the same even if if I try adding an SAS token, but that didn't help.

Next I tried copying the files to the local cloud machine and got a new error that only gives "408" in the dialog box and no error message.

Any help gratefully received.

Kate

@jrobinso
Copy link
Contributor

jrobinso commented Mar 6, 2024

Hi Kate. First are you using g2nb, or just igv-jupyter stand alone?

The URL error might be a CORS error (Cross Origin Resource Scripting) if the web host for the notebook is not the host you are fetching data from. Look for CORS errors in the javascript console. This is common and easily fixed by configuring the server to add CORS headers. I do not know how this is done for Azure but there is some general information here: https://github.com/igvteam/igv.js/wiki/Data-Server-Requirements. Also, do a web search for "CORS javascript" for more info.

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